mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
npm scripts for typechecking public .d.ts-es and running tslint (#2934)
* npm scripts for typechecking public .d.ts-es and running tslint * Update test.ts
This commit is contained in:
committed by
Vladimir Enchev
parent
fd23197851
commit
05cd636fc8
@@ -28,7 +28,7 @@
|
||||
"nativescript-typedoc-theme": "0.0.7",
|
||||
"shelljs": "^0.7.0",
|
||||
"time-grunt": "1.3.0",
|
||||
"tslint": "3.4.0",
|
||||
"tslint": "^3.15.1",
|
||||
"typedoc": "0.4.5",
|
||||
"typescript": "^2.0.3"
|
||||
},
|
||||
@@ -53,6 +53,8 @@
|
||||
"test-watch-ios": "npm run pretest && concurrently --kill-others \"npm run tsc-tiw\" \"tns livesync ios --path tests --watch\"",
|
||||
"prepublish": "echo \"Development reminder: npm run setup\n\"",
|
||||
"typedoc": "typedoc --tsconfig tsconfig.typedoc.json --out bin/dist/apiref --mode file --includeDeclarations --name NativeScript --theme ./node_modules/nativescript-typedoc-theme",
|
||||
"dev-typedoc": "npm run typedoc && cd bin/dist/apiref && http-server"
|
||||
"dev-typedoc": "npm run typedoc && cd bin/dist/apiref && http-server",
|
||||
"test-tsc-es2016": "tsc -p tsconfig.public.es2016.json",
|
||||
"tslint": "tslint --config build/tslint.json 'tns-core-modules/**/*.ts' 'tests/**/*.ts' 'apps/**/*.ts' -e '**/node_modules/**' -e '**/platforms/**'"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user