Get rid of Visual Studio project files for tsconfig
This commit is contained in:
parent
887b3ed094
commit
602f772fcf
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,8 +1,3 @@
|
|||||||
dist/
|
dist/
|
||||||
node_modules/
|
node_modules/
|
||||||
obj/
|
|
||||||
typings/
|
typings/
|
||||||
*.dat
|
|
||||||
*.dll
|
|
||||||
*.suo
|
|
||||||
*.tmp
|
|
||||||
12
.npmignore
12
.npmignore
@ -1,16 +1,8 @@
|
|||||||
extras/
|
extras/
|
||||||
node_modules/
|
node_modules/
|
||||||
obj/
|
|
||||||
src/
|
src/
|
||||||
typings/
|
typings/
|
||||||
*.dat
|
|
||||||
*.DotSettings
|
|
||||||
*.dll
|
|
||||||
*.map
|
|
||||||
*.njsproj
|
|
||||||
*.sln
|
|
||||||
*.suo
|
|
||||||
*.tmp
|
|
||||||
ts.js
|
ts.js
|
||||||
|
tsconfig.json
|
||||||
tsd.json
|
tsd.json
|
||||||
tslint.json
|
tslint.json
|
||||||
|
|||||||
@ -1,102 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<PropertyGroup>
|
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
||||||
<EnableTypeScript>True</EnableTypeScript>
|
|
||||||
<OutputPath>.</OutputPath>
|
|
||||||
<ProjectGuid>{c5cff68a-d733-4347-83e7-6e5fe58eb0e3}</ProjectGuid>
|
|
||||||
<ProjectHome />
|
|
||||||
<ProjectTypeGuids>{3AF33F2E-1136-4D97-BBB7-1795711AC8B8};{349c5851-65df-11da-9384-00065b846f21};{9092AA53-FB77-4645-B42D-1CCCA6BD08BD}</ProjectTypeGuids>
|
|
||||||
<ProjectView>ShowAllFiles</ProjectView>
|
|
||||||
<SchemaVersion>2.0</SchemaVersion>
|
|
||||||
<StartupFile>cli.ts</StartupFile>
|
|
||||||
<TypeScriptModuleKind>CommonJS</TypeScriptModuleKind>
|
|
||||||
<TypeScriptNoImplicitAny>True</TypeScriptNoImplicitAny>
|
|
||||||
<TypeScriptOutDir>dist</TypeScriptOutDir>
|
|
||||||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">11.0</VisualStudioVersion>
|
|
||||||
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
|
|
||||||
<WorkingDirectory>.</WorkingDirectory>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
|
|
||||||
<TypeScriptSourceMap>True</TypeScriptSourceMap>
|
|
||||||
</PropertyGroup>
|
|
||||||
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
|
|
||||||
<TypeScriptGeneratesDeclarations>True</TypeScriptGeneratesDeclarations>
|
|
||||||
</PropertyGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<TypeScriptCompile Include="src\cli.ts" />
|
|
||||||
<TypeScriptCompile Include="src\batch.ts" />
|
|
||||||
<TypeScriptCompile Include="src\episode.ts" />
|
|
||||||
<TypeScriptCompile Include="src\index.ts" />
|
|
||||||
<TypeScriptCompile Include="src\request.ts" />
|
|
||||||
<TypeScriptCompile Include="src\series.ts" />
|
|
||||||
<TypeScriptCompile Include="src\subtitle\decode.ts" />
|
|
||||||
<TypeScriptCompile Include="src\subtitle\formats\ass.ts" />
|
|
||||||
<TypeScriptCompile Include="src\subtitle\formats\index.ts" />
|
|
||||||
<TypeScriptCompile Include="src\subtitle\formats\srt.ts" />
|
|
||||||
<TypeScriptCompile Include="src\subtitle\index.ts" />
|
|
||||||
<TypeScriptCompile Include="src\typings.ts" />
|
|
||||||
<TypeScriptCompile Include="src\video\index.ts" />
|
|
||||||
<TypeScriptCompile Include="src\video\merge.ts" />
|
|
||||||
<TypeScriptCompile Include="src\video\stream.ts" />
|
|
||||||
<TypeScriptCompile Include="typings\big-integer\big-integer.d.ts" />
|
|
||||||
<TypeScriptCompile Include="typings\cheerio\cheerio.d.ts" />
|
|
||||||
<TypeScriptCompile Include="typings\commander\commander.d.ts" />
|
|
||||||
<TypeScriptCompile Include="typings\form-data\form-data.d.ts" />
|
|
||||||
<TypeScriptCompile Include="typings\mkdirp\mkdirp.d.ts" />
|
|
||||||
<TypeScriptCompile Include="typings\node\node.d.ts" />
|
|
||||||
<TypeScriptCompile Include="typings\request\request.d.ts" />
|
|
||||||
<TypeScriptCompile Include="typings\xml2js\xml2js.d.ts" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Folder Include="src\" />
|
|
||||||
<Folder Include="src\subtitle\" />
|
|
||||||
<Folder Include="src\subtitle\formats\" />
|
|
||||||
<Folder Include="src\video\" />
|
|
||||||
<Folder Include="typings" />
|
|
||||||
<Folder Include="typings\big-integer\" />
|
|
||||||
<Folder Include="typings\cheerio\" />
|
|
||||||
<Folder Include="typings\commander\" />
|
|
||||||
<Folder Include="typings\form-data\" />
|
|
||||||
<Folder Include="typings\mkdirp\" />
|
|
||||||
<Folder Include="typings\node" />
|
|
||||||
<Folder Include="typings\request\" />
|
|
||||||
<Folder Include="typings\xml2js\" />
|
|
||||||
</ItemGroup>
|
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.Common.targets" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
|
||||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.targets" Condition="False" />
|
|
||||||
<Import Project="$(VSToolsPath)\Node.js Tools\Microsoft.NodejsTools.targets" />
|
|
||||||
<ProjectExtensions>
|
|
||||||
<VisualStudio>
|
|
||||||
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
|
|
||||||
<WebProjectProperties>
|
|
||||||
<AutoAssignPort>True</AutoAssignPort>
|
|
||||||
<CustomServerUrl>http://localhost:1337</CustomServerUrl>
|
|
||||||
<DevelopmentServerPort>0</DevelopmentServerPort>
|
|
||||||
<DevelopmentServerVPath>/</DevelopmentServerVPath>
|
|
||||||
<IISUrl>http://localhost:48022/</IISUrl>
|
|
||||||
<NTLMAuthentication>False</NTLMAuthentication>
|
|
||||||
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
|
|
||||||
<UseCustomServer>True</UseCustomServer>
|
|
||||||
<UseIIS>False</UseIIS>
|
|
||||||
</WebProjectProperties>
|
|
||||||
</FlavorProperties>
|
|
||||||
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}" User="">
|
|
||||||
<WebProjectProperties>
|
|
||||||
<AlwaysStartWebServerOnDebug>False</AlwaysStartWebServerOnDebug>
|
|
||||||
<AspNetDebugging>True</AspNetDebugging>
|
|
||||||
<EnableENC>False</EnableENC>
|
|
||||||
<ExternalProgram />
|
|
||||||
<NativeDebugging>False</NativeDebugging>
|
|
||||||
<SilverlightDebugging>False</SilverlightDebugging>
|
|
||||||
<SQLDebugging>False</SQLDebugging>
|
|
||||||
<StartAction>CurrentPage</StartAction>
|
|
||||||
<StartCmdLineArguments />
|
|
||||||
<StartExternalURL />
|
|
||||||
<StartPageUrl />
|
|
||||||
<StartWorkingDirectory />
|
|
||||||
</WebProjectProperties>
|
|
||||||
</FlavorProperties>
|
|
||||||
</VisualStudio>
|
|
||||||
</ProjectExtensions>
|
|
||||||
</Project>
|
|
||||||
@ -1,22 +0,0 @@
|
|||||||
|
|
||||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
|
||||||
# Visual Studio 2013
|
|
||||||
VisualStudioVersion = 12.0.31101.0
|
|
||||||
MinimumVisualStudioVersion = 10.0.40219.1
|
|
||||||
Project("{9092AA53-FB77-4645-B42D-1CCCA6BD08BD}") = "crunchyroll.js", "crunchyroll.js.njsproj", "{C5CFF68A-D733-4347-83E7-6E5FE58EB0E3}"
|
|
||||||
EndProject
|
|
||||||
Global
|
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
|
||||||
Debug|Any CPU = Debug|Any CPU
|
|
||||||
Release|Any CPU = Release|Any CPU
|
|
||||||
EndGlobalSection
|
|
||||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
|
||||||
{C5CFF68A-D733-4347-83E7-6E5FE58EB0E3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
|
||||||
{C5CFF68A-D733-4347-83E7-6E5FE58EB0E3}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
|
||||||
{C5CFF68A-D733-4347-83E7-6E5FE58EB0E3}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
|
||||||
{C5CFF68A-D733-4347-83E7-6E5FE58EB0E3}.Release|Any CPU.Build.0 = Release|Any CPU
|
|
||||||
EndGlobalSection
|
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
|
||||||
HideSolutionNode = FALSE
|
|
||||||
EndGlobalSection
|
|
||||||
EndGlobal
|
|
||||||
@ -1,65 +0,0 @@
|
|||||||
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
|
|
||||||
<s:String x:Key="/Default/CodeEditing/Intellisense/CodeCompletion/IntellisenseGloballyEnabled/IntellisenseEnabled/@EntryValue">Disabled</s:String>
|
|
||||||
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=DeclarationHides/@EntryIndexedValue">DO_NOT_SHOW</s:String>
|
|
||||||
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=InconsistentNaming/@EntryIndexedValue">DO_NOT_SHOW</s:String>
|
|
||||||
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=NotAllPathsReturnValue/@EntryIndexedValue">DO_NOT_SHOW</s:String>
|
|
||||||
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=RedundantQualifier/@EntryIndexedValue">DO_NOT_SHOW</s:String>
|
|
||||||
|
|
||||||
<s:String x:Key="/Default/CodeInspection/Highlighting/InspectionSeverities/=SpecifyVariableTypeExplicitly/@EntryIndexedValue">DO_NOT_SHOW</s:String>
|
|
||||||
<s:String x:Key="/Default/CodeInspection/TypeScriptInspections/Level/@EntryValue">TypeScript14</s:String>
|
|
||||||
<s:String x:Key="/Default/CodeStyle/CodeCleanup/Profiles/=TypeScript/@EntryIndexedValue"><?xml version="1.0" encoding="utf-16"?><Profile name="TypeScript"><FormatAttributeQuoteDescriptor>True</FormatAttributeQuoteDescriptor><JsReformatCode>True</JsReformatCode><JsFormatDocComments>True</JsFormatDocComments><JsInsertSemicolon>True</JsInsertSemicolon><RemoveRedundantQualifiersTs>True</RemoveRedundantQualifiersTs><OptimizeImportsTs>True</OptimizeImportsTs><OptimizeReferenceCommentsTs>True</OptimizeReferenceCommentsTs><PublicModifierStyleTs>True</PublicModifierStyleTs><RelativePathStyleTs>True</RelativePathStyleTs><TypeAnnotationStyleTs>True</TypeAnnotationStyleTs></Profile></s:String>
|
|
||||||
<s:String x:Key="/Default/CodeStyle/CodeCleanup/SilentCleanupProfile/@EntryValue">TypeScript</s:String>
|
|
||||||
<s:String x:Key="/Default/CodeStyle/CodeFormatting/JavaScriptCodeFormatting/FORCE_CONTROL_STATEMENTS_BRACES/@EntryValue">ONLY_FOR_MULTILINE</s:String>
|
|
||||||
<s:Int64 x:Key="/Default/CodeStyle/CodeFormatting/JavaScriptCodeFormatting/KEEP_BLANK_LINES_BETWEEN_DECLARATIONS/@EntryValue">1</s:Int64>
|
|
||||||
<s:Int64 x:Key="/Default/CodeStyle/CodeFormatting/JavaScriptCodeFormatting/KEEP_BLANK_LINES_IN_CODE/@EntryValue">1</s:Int64>
|
|
||||||
<s:String x:Key="/Default/CodeStyle/CodeFormatting/JavaScriptCodeFormatting/QUOTE_STYLE/@EntryValue">SingleQuoted</s:String>
|
|
||||||
|
|
||||||
|
|
||||||
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/JavaScriptCodeFormatting/SPACE_WITHIN_OBJECT_LITERAL_BRACES/@EntryValue">False</s:Boolean>
|
|
||||||
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/JavaScriptCodeFormatting/STICK_COMMENT/@EntryValue">False</s:Boolean>
|
|
||||||
<s:String x:Key="/Default/CodeStyle/Naming/JavaScriptNaming/UserRules/=JS_005FBLOCK_005FSCOPE_005FCONSTANT/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /></s:String>
|
|
||||||
<s:String x:Key="/Default/CodeStyle/Naming/JavaScriptNaming/UserRules/=JS_005FBLOCK_005FSCOPE_005FVARIABLE/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /></s:String>
|
|
||||||
<s:String x:Key="/Default/CodeStyle/Naming/JavaScriptNaming/UserRules/=JS_005FCONSTRUCTOR/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" /></s:String>
|
|
||||||
<s:String x:Key="/Default/CodeStyle/Naming/JavaScriptNaming/UserRules/=JS_005FFUNCTION/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /></s:String>
|
|
||||||
<s:String x:Key="/Default/CodeStyle/Naming/JavaScriptNaming/UserRules/=JS_005FGLOBAL_005FVARIABLE/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" /></s:String>
|
|
||||||
<s:String x:Key="/Default/CodeStyle/Naming/JavaScriptNaming/UserRules/=JS_005FLABEL/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /></s:String>
|
|
||||||
<s:String x:Key="/Default/CodeStyle/Naming/JavaScriptNaming/UserRules/=JS_005FLOCAL_005FVARIABLE/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /></s:String>
|
|
||||||
<s:String x:Key="/Default/CodeStyle/Naming/JavaScriptNaming/UserRules/=JS_005FOBJECT_005FPROPERTY_005FOF_005FFUNCTION/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /></s:String>
|
|
||||||
<s:String x:Key="/Default/CodeStyle/Naming/JavaScriptNaming/UserRules/=JS_005FPARAMETER/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /></s:String>
|
|
||||||
<s:String x:Key="/Default/CodeStyle/Naming/JavaScriptNaming/UserRules/=TS_005FCLASS/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" /></s:String>
|
|
||||||
<s:String x:Key="/Default/CodeStyle/Naming/JavaScriptNaming/UserRules/=TS_005FENUM/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" /></s:String>
|
|
||||||
<s:String x:Key="/Default/CodeStyle/Naming/JavaScriptNaming/UserRules/=TS_005FENUM_005FMEMBER/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" /></s:String>
|
|
||||||
<s:String x:Key="/Default/CodeStyle/Naming/JavaScriptNaming/UserRules/=TS_005FINTERFACE/@EntryIndexedValue"><Policy Inspect="True" Prefix="I" Suffix="" Style="AaBb" /></s:String>
|
|
||||||
<s:String x:Key="/Default/CodeStyle/Naming/JavaScriptNaming/UserRules/=TS_005FINTERFACE_005FFOR_005FJS_005FGLOBAL_005FVARIABLE/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" /></s:String>
|
|
||||||
<s:String x:Key="/Default/CodeStyle/Naming/JavaScriptNaming/UserRules/=TS_005FMODULE/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" /></s:String>
|
|
||||||
<s:String x:Key="/Default/CodeStyle/Naming/JavaScriptNaming/UserRules/=TS_005FMODULE_005FEXPORTED/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /></s:String>
|
|
||||||
<s:String x:Key="/Default/CodeStyle/Naming/JavaScriptNaming/UserRules/=TS_005FMODULE_005FLOCAL/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /></s:String>
|
|
||||||
<s:String x:Key="/Default/CodeStyle/Naming/JavaScriptNaming/UserRules/=TS_005FPRIVATE_005FMEMBER_005FACCESSOR/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /></s:String>
|
|
||||||
<s:String x:Key="/Default/CodeStyle/Naming/JavaScriptNaming/UserRules/=TS_005FPRIVATE_005FSTATIC_005FTYPE_005FFIELD/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /></s:String>
|
|
||||||
<s:String x:Key="/Default/CodeStyle/Naming/JavaScriptNaming/UserRules/=TS_005FPRIVATE_005FTYPE_005FFIELD/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /></s:String>
|
|
||||||
<s:String x:Key="/Default/CodeStyle/Naming/JavaScriptNaming/UserRules/=TS_005FPRIVATE_005FTYPE_005FMETHOD/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /></s:String>
|
|
||||||
<s:String x:Key="/Default/CodeStyle/Naming/JavaScriptNaming/UserRules/=TS_005FPROTECTED_005FMEMBER_005FACCESSOR/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /></s:String>
|
|
||||||
<s:String x:Key="/Default/CodeStyle/Naming/JavaScriptNaming/UserRules/=TS_005FPROTECTED_005FSTATIC_005FTYPE_005FFIELD/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /></s:String>
|
|
||||||
<s:String x:Key="/Default/CodeStyle/Naming/JavaScriptNaming/UserRules/=TS_005FPROTECTED_005FTYPE_005FFIELD/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /></s:String>
|
|
||||||
<s:String x:Key="/Default/CodeStyle/Naming/JavaScriptNaming/UserRules/=TS_005FPROTECTED_005FTYPE_005FMETHOD/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /></s:String>
|
|
||||||
<s:String x:Key="/Default/CodeStyle/Naming/JavaScriptNaming/UserRules/=TS_005FPUBLIC_005FMEMBER_005FACCESSOR/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /></s:String>
|
|
||||||
<s:String x:Key="/Default/CodeStyle/Naming/JavaScriptNaming/UserRules/=TS_005FPUBLIC_005FSTATIC_005FTYPE_005FFIELD/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /></s:String>
|
|
||||||
<s:String x:Key="/Default/CodeStyle/Naming/JavaScriptNaming/UserRules/=TS_005FPUBLIC_005FTYPE_005FFIELD/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /></s:String>
|
|
||||||
<s:String x:Key="/Default/CodeStyle/Naming/JavaScriptNaming/UserRules/=TS_005FPUBLIC_005FTYPE_005FMETHOD/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /></s:String>
|
|
||||||
<s:String x:Key="/Default/CodeStyle/Naming/JavaScriptNaming/UserRules/=TS_005FTYPE_005FPARAMETER/@EntryIndexedValue"><Policy Inspect="True" Prefix="T" Suffix="" Style="AaBb" /></s:String>
|
|
||||||
<s:String x:Key="/Default/CodeStyle/Naming/WebNaming/UserRules/=ASP_005FFIELD/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" /></s:String>
|
|
||||||
<s:String x:Key="/Default/CodeStyle/Naming/WebNaming/UserRules/=ASP_005FHTML_005FCONTROL/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" /></s:String>
|
|
||||||
<s:String x:Key="/Default/CodeStyle/Naming/WebNaming/UserRules/=ASP_005FTAG_005FNAME/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" /></s:String>
|
|
||||||
<s:String x:Key="/Default/CodeStyle/Naming/WebNaming/UserRules/=ASP_005FTAG_005FPREFIX/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" /></s:String>
|
|
||||||
<s:String x:Key="/Default/CodeStyle/Naming/XamlNaming/UserRules/=NAMESPACE_005FALIAS/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /></s:String>
|
|
||||||
<s:String x:Key="/Default/CodeStyle/Naming/XamlNaming/UserRules/=XAML_005FFIELD/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" /></s:String>
|
|
||||||
<s:String x:Key="/Default/CodeStyle/Naming/XamlNaming/UserRules/=XAML_005FRESOURCE/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" /></s:String>
|
|
||||||
<s:Boolean x:Key="/Default/CodeStyle/TypeScriptCodeStyle/ExplicitPublicModifier/@EntryValue">True</s:Boolean>
|
|
||||||
<s:String x:Key="/Default/CodeStyle/TypeScriptCodeStyle/FileReferenceStyle/@EntryValue">RelativeDotSlash</s:String>
|
|
||||||
<s:Boolean x:Key="/Default/CodeStyle/TypeScriptCodeStyle/NoImplicitAny/@EntryValue">True</s:Boolean>
|
|
||||||
|
|
||||||
<s:Boolean x:Key="/Default/CodeStyle/TypeScriptCodeStyle/PreferUsingAliases/@EntryValue">False</s:Boolean>
|
|
||||||
<s:Boolean x:Key="/Default/Environment/InjectedLayers/FileInjectedLayer/=AAA631615CEE9646AA8766F222F9457C/@KeyIndexDefined">True</s:Boolean>
|
|
||||||
<s:String x:Key="/Default/Environment/InjectedLayers/FileInjectedLayer/=AAA631615CEE9646AA8766F222F9457C/AbsolutePath/@EntryValue">C:\Dropbox\Github\crunchyroll.js\crunchyroll.js.sln.DotSettings</s:String>
|
|
||||||
<s:Boolean x:Key="/Default/Environment/InjectedLayers/InjectedLayerCustomization/=FileAAA631615CEE9646AA8766F222F9457C/@KeyIndexDefined">True</s:Boolean>
|
|
||||||
<s:Double x:Key="/Default/Environment/InjectedLayers/InjectedLayerCustomization/=FileAAA631615CEE9646AA8766F222F9457C/RelativePriority/@EntryValue">1</s:Double></wpf:ResourceDictionary>
|
|
||||||
@ -16,21 +16,21 @@
|
|||||||
"crunchyroll": "./bin/crunchyroll"
|
"crunchyroll": "./bin/crunchyroll"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"big-integer": "^1.4.3",
|
"big-integer": "^1.4.4",
|
||||||
"cheerio": "^0.18.0",
|
"cheerio": "^0.18.0",
|
||||||
"commander": "^2.6.0",
|
"commander": "^2.6.0",
|
||||||
"mkdirp": "^0.5.0",
|
"mkdirp": "^0.5.0",
|
||||||
"request": "^2.53.0",
|
"request": "^2.53.0",
|
||||||
"xml2js": "^0.4.4"
|
"xml2js": "^0.4.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"tsd": "^0.5.7",
|
"tsd": "^0.5.7",
|
||||||
"tslint": "^2.1.0",
|
"tslint": "^2.1.1",
|
||||||
"typescript": "^1.4.1"
|
"typescript": "^1.4.1"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepublish": "npm run tsd && node ts",
|
"prepublish": "npm run tsd && node ts",
|
||||||
"test": "node ts --only-test",
|
"test": "node ts --only-test",
|
||||||
"tsd": "./node_modules/.bin/tsd reinstall --overwrite"
|
"tsd": "tsd reinstall --overwrite"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -92,4 +92,4 @@ function parse(args: string[]): typings.IConfigLine {
|
|||||||
.option('-s, --series <s>', 'The series override.')
|
.option('-s, --series <s>', 'The series override.')
|
||||||
.option('-t, --tag <s>', 'The subgroup. (Default: CrunchyRoll)')
|
.option('-t, --tag <s>', 'The subgroup. (Default: CrunchyRoll)')
|
||||||
.parse(args);
|
.parse(args);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -3,4 +3,4 @@ import batch = require('./batch');
|
|||||||
|
|
||||||
batch(process.argv, (err: any) => {
|
batch(process.argv, (err: any) => {
|
||||||
if (err) console.error(err.stack || err);
|
if (err) console.error(err.stack || err);
|
||||||
});
|
});
|
||||||
|
|||||||
@ -170,4 +170,4 @@ function scrapePlayer(config: typings.IConfig, address: string, id: number, done
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
export import batch = require('./batch');
|
export import batch = require('./batch');
|
||||||
export import episode = require('./episode');
|
export import episode = require('./episode');
|
||||||
export import series = require('./series');
|
export import series = require('./series');
|
||||||
|
|||||||
@ -60,4 +60,4 @@ function modify(options: string|request.Options): request.Options {
|
|||||||
return options;
|
return options;
|
||||||
}
|
}
|
||||||
return {jar: true, url: options.toString()};
|
return {jar: true, url: options.toString()};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -94,4 +94,4 @@ function page(config: typings.IConfig, address: string, done: (err: Error, resul
|
|||||||
});
|
});
|
||||||
done(null, {episodes: episodes.reverse(), series: title});
|
done(null, {episodes: episodes.reverse(), series: title});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@ -73,4 +73,4 @@ function secret(size: number, modulo: number, firstSeed: number, secondSeed: num
|
|||||||
previousValue = oldValue;
|
previousValue = oldValue;
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -90,4 +90,4 @@ function style(block: typings.ISubtitleStyle): string {
|
|||||||
style.$.margin_r + ',' +
|
style.$.margin_r + ',' +
|
||||||
style.$.margin_v + ',' +
|
style.$.margin_v + ',' +
|
||||||
style.$.encoding).join('\n') + '\n';
|
style.$.encoding).join('\n') + '\n';
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,4 +7,4 @@ import typings = require('../../typings');
|
|||||||
var main: typings.IFormatterTable = {
|
var main: typings.IFormatterTable = {
|
||||||
ass: ass,
|
ass: ass,
|
||||||
srt: srt
|
srt: srt
|
||||||
};
|
};
|
||||||
|
|||||||
@ -63,4 +63,4 @@ function time(value: string): string {
|
|||||||
var seconds = prefix(all[3], 2);
|
var seconds = prefix(all[3], 2);
|
||||||
var milliseconds = suffix(all[4], 3);
|
var milliseconds = suffix(all[4], 3);
|
||||||
return hours + ':' + minutes + ':' + seconds + ',' + milliseconds;
|
return hours + ':' + minutes + ':' + seconds + ',' + milliseconds;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,3 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
export import decode = require('./decode');
|
export import decode = require('./decode');
|
||||||
export import formats = require('./formats/index');
|
export import formats = require('./formats/index');
|
||||||
|
|||||||
@ -133,4 +133,4 @@ export interface ISubtitleStyle {
|
|||||||
encoding: string;
|
encoding: string;
|
||||||
};
|
};
|
||||||
}[];
|
}[];
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,3 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
export import merge = require('./merge');
|
export import merge = require('./merge');
|
||||||
export import stream = require('./stream');
|
export import stream = require('./stream');
|
||||||
|
|||||||
@ -55,4 +55,4 @@ function unlinkTimeout(videoPath: string, subtitlePath: string, timeout: number)
|
|||||||
if (err) unlinkTimeout(videoPath, subtitlePath, timeout);
|
if (err) unlinkTimeout(videoPath, subtitlePath, timeout);
|
||||||
});
|
});
|
||||||
}, timeout);
|
}, timeout);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -23,4 +23,4 @@ function main(rtmpUrl: string, rtmpInputPath: string, swfUrl: string, filePath:
|
|||||||
function command(): string {
|
function command(): string {
|
||||||
if (os.platform() !== 'win32') return 'rtmpdump';
|
if (os.platform() !== 'win32') return 'rtmpdump';
|
||||||
return '"' + path.join(__dirname, '../../bin/rtmpdump.exe') + '"';
|
return '"' + path.join(__dirname, '../../bin/rtmpdump.exe') + '"';
|
||||||
}
|
}
|
||||||
|
|||||||
15
ts.js
15
ts.js
@ -50,11 +50,11 @@ function clean(filePaths, done) {
|
|||||||
function compile(filePaths, done) {
|
function compile(filePaths, done) {
|
||||||
if (isTest) return done(null);
|
if (isTest) return done(null);
|
||||||
var execPath = path.join(__dirname, 'node_modules/.bin/tsc');
|
var execPath = path.join(__dirname, 'node_modules/.bin/tsc');
|
||||||
var options = '--declaration --module CommonJS --noImplicitAny --outDir dist';
|
var options = '--declaration --module CommonJS --noImplicitAny --outDir dist --target ES5';
|
||||||
childProcess.exec([execPath, options].concat(filePaths).join(' '), function(err, stdout) {
|
childProcess.exec([execPath, options].concat(filePaths).join(' '), function(err, stdout) {
|
||||||
if (stdout) return done(new Error(stdout));
|
if (stdout) return done(new Error(stdout));
|
||||||
done(null);
|
done(null);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -83,10 +83,5 @@ function lint(filePaths, handler, done) {
|
|||||||
* @param {function(Error, Array.<string>)} done
|
* @param {function(Error, Array.<string>)} done
|
||||||
*/
|
*/
|
||||||
function read(done) {
|
function read(done) {
|
||||||
var contents = fs.readFileSync('crunchyroll.js.njsproj', 'utf8');
|
done(null, JSON.parse(fs.readFileSync('tsconfig.json', 'utf8')).files);
|
||||||
var expression = /<TypeScriptCompile\s+Include="([\w\W]+?\.ts)" \/>/g;
|
|
||||||
var matches;
|
|
||||||
var filePaths = [];
|
|
||||||
while ((matches = expression.exec(contents))) filePaths.push(matches[1]);
|
|
||||||
done(null, filePaths);
|
|
||||||
}
|
}
|
||||||
|
|||||||
40
tsconfig.json
Normal file
40
tsconfig.json
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
{
|
||||||
|
"version": "1.4.1",
|
||||||
|
"compilerOptions": {
|
||||||
|
"declaration": true,
|
||||||
|
"noImplicitAny": true,
|
||||||
|
"removeComments": false,
|
||||||
|
"module": "commonjs",
|
||||||
|
"outDir": "dist",
|
||||||
|
"target": "es5"
|
||||||
|
},
|
||||||
|
"filesGlob": [
|
||||||
|
"typings/**/*.ts",
|
||||||
|
"src/**/*.ts"
|
||||||
|
],
|
||||||
|
"files": [
|
||||||
|
"typings/big-integer/big-integer.d.ts",
|
||||||
|
"typings/cheerio/cheerio.d.ts",
|
||||||
|
"typings/commander/commander.d.ts",
|
||||||
|
"typings/form-data/form-data.d.ts",
|
||||||
|
"typings/mkdirp/mkdirp.d.ts",
|
||||||
|
"typings/node/node.d.ts",
|
||||||
|
"typings/request/request.d.ts",
|
||||||
|
"typings/xml2js/xml2js.d.ts",
|
||||||
|
"src/batch.ts",
|
||||||
|
"src/cli.ts",
|
||||||
|
"src/episode.ts",
|
||||||
|
"src/index.ts",
|
||||||
|
"src/request.ts",
|
||||||
|
"src/series.ts",
|
||||||
|
"src/subtitle/decode.ts",
|
||||||
|
"src/subtitle/formats/ass.ts",
|
||||||
|
"src/subtitle/formats/index.ts",
|
||||||
|
"src/subtitle/formats/srt.ts",
|
||||||
|
"src/subtitle/index.ts",
|
||||||
|
"src/typings.ts",
|
||||||
|
"src/video/index.ts",
|
||||||
|
"src/video/merge.ts",
|
||||||
|
"src/video/stream.ts"
|
||||||
|
]
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user