File tree Expand file tree Collapse file tree 3 files changed +58
-2
lines changed
Expand file tree Collapse file tree 3 files changed +58
-2
lines changed Original file line number Diff line number Diff line change 1+ set -e
2+
3+ ENV=" ${ENV:- dev} "
4+ DIST_DIR=" nativescript-angular/bin/dist"
5+ APIREF_DIR=" $DIST_DIR /ng-api-reference"
6+ rm -rf " $APIREF_DIR "
7+ cd " nativescript-angular"
8+ npm install
9+ npm run typedoc
Original file line number Diff line number Diff line change 3434 "tsc-w" : " tsc -p tsconfig.json -w" ,
3535 "ngc" : " ngc -p tsconfig.json" ,
3636 "prepare" : " npm run ngc" ,
37- "version" : " rm -rf package-lock.json && conventional-changelog -p angular -i ../CHANGELOG.md -s && git add ../CHANGELOG.md"
37+ "version" : " rm -rf package-lock.json && conventional-changelog -p angular -i ../CHANGELOG.md -s && git add ../CHANGELOG.md" ,
38+ "typedoc" : " typedoc --tsconfig \" ./tsconfig.typedoc.json\" --out ./bin/dist/ng-api-reference --includeDeclarations --name \" NativeScript Angular\" --theme ./node_modules/nativescript-typedoc-theme --excludeExternals --externalPattern \" **/+(tns-core-modules|module|declarations).d.ts\" "
3839 },
3940 "bin" : {
4041 "update-app-ng-deps" : " ./bin/update-app-ng-deps"
7374 "tns-core-modules" : " next" ,
7475 "tslint" : " ^5.5.0" ,
7576 "typescript" : " ~3.1.1" ,
76- "zone.js" : " ^0.8.4"
77+ "zone.js" : " ^0.8.4" ,
78+ "nativescript-typedoc-theme" : " git://github.com/NativeScript/nativescript-typedoc-theme.git#master" ,
79+ "typedoc" : " ^0.13.0"
7780 }
7881}
Original file line number Diff line number Diff line change 1+ {"compilerOptions" : {
2+ "target" : " es5" ,
3+ "module" : " commonjs" ,
4+ "moduleResolution" : " node" ,
5+ "sourceMap" : true ,
6+ "emitDecoratorMetadata" : true ,
7+ "experimentalDecorators" : true ,
8+ "noImplicitUseStrict" : true ,
9+ "noEmitHelpers" : true ,
10+ "declaration" : true ,
11+ "removeComments" : false ,
12+ "noEmitOnError" : true ,
13+ "noImplicitAny" : false ,
14+ "lib" : [
15+ " dom" ,
16+ " es6" ,
17+ " es2015.iterable"
18+ ],
19+ "baseUrl" : " ." ,
20+ "paths" : {
21+ "*" : [
22+ " ./node_modules/tns-core-modules/*" ,
23+ " ./node_modules/*"
24+ ]
25+ }
26+ },
27+ "angularCompilerOptions" : {
28+ "genDir" : " ." ,
29+ "skipMetadataEmit" : false ,
30+ "skipTemplateCodegen" : true ,
31+ "strictMetadataEmit" : true
32+ },
33+ "exclude" : [
34+ " ./node_modules" ,
35+ " tns-core-modules/references.d.ts" ,
36+ " tns-core-modules/node_modules" ,
37+ " tns-core-modules/ui/frame/transition-definitions.android.d.ts" ,
38+ " ./zone-js" ,
39+ " ./index.ts" ,
40+ " ./bin" ,
41+ " ./index.d.ts" ,
42+ " ./testing"
43+ ]
44+ }
You can’t perform that action at this time.
0 commit comments