2.8.4 • Published 6 years ago
typescript-box v2.8.4
typescript-box ( Support WebGL2.0 )
An enhanced version of the original typescript compiler. Exactly the same as the tsc command!
- Support TypeScript 2.9.2-release (NEW).
- Support WebGL1.0,WebGL2.0 .
- Support Sort ts files .
- Support Visual Studio Code Ide .
- It is recommended to use typescript namespace
- Use npm publish,Thank!
How to install
npm install -g typescript-box
Show Version
tsc-x -v
How to use
tsc-x
tsc-x --sortFiles
tsc-x [input files] [options]
- Exactly the same as the tsc command.
Options
options | value |
---|---|
sortFiles | false/true |
How you can add to tsconfig.json
tsconfig.json
{
"compilerOptions": {
"sortFiles": true,
"target": "es5",
"declaration": true,
"sourceMap": true,
"outFile": "bin/js/Main.js",
"noImplicitAny": false,
"removeComments": false
},
"exclude": [
"node_modules",
"bin"]
}
Use VSCode tsdk:
settings.json
{
"typescript.tsdk": "C:/Users/xxxxxxx/AppData/Roaming/npm/node_modules/typescript-box/lib/"
}
Auto generate file:
src/reference.ts
- This saves the sorted list of dependent references.
About:
- Welcome to use, if you have BUG also welcome feedback