Skip to content

sunnyboxs/typescript-box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

typescript-box ( Support WebGL2.0 )

An enhanced version of the original typescript compiler. Exactly the same as the tsc command!

  • Support TypeScript2.9.0-dev .
  • Support WebGL1.0,WebGL2.0 .
  • Support Sort ts files .
  • Support Visual Studio Code Ide .
  • Use npm publish,Thank!

How to install

npm install -g typescript-box

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

About

An enhanced version of the original typescript compiler.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors