Added npm run typedoc and npm run dev-typedoc scripts, read the DevelopmentWorkflow.mk

This commit is contained in:
Panayot Cankov
2016-10-06 17:52:14 +03:00
parent ed36106e9e
commit 43ceefdc03
3 changed files with 30 additions and 1 deletions

View File

@@ -29,6 +29,7 @@
"shelljs": "^0.7.0",
"time-grunt": "1.3.0",
"tslint": "3.4.0",
"typedoc": "0.4.5",
"typescript": "^2.0.3"
},
"scripts": {
@@ -50,6 +51,8 @@
"test-ios": "tns run ios --path tests --justlaunch",
"test-watch-android": "npm run pretest && concurrently --kill-others \"npm run tsc-tiw\" \"tns livesync android --path tests --watch\"",
"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\""
"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"
}
}