Skip to content

Commit 5c7f25f

Browse files
committed
fix: ensure dist
1 parent 2595456 commit 5c7f25f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nativescript-angular/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"tsc-w": "tsc -p tsconfig.json -w",
3535
"ngc": "ngc -p tsconfig.json",
3636
"prepare": "npm run ngc",
37-
"pack": "cd ../dist && npm pack ../nativescript-angular",
37+
"pack": "mkdir -p ../dist && cd ../dist && npm pack ../nativescript-angular",
3838
"version": "rm -rf package-lock.json && conventional-changelog -p angular -i ../CHANGELOG.md -s && git add ../CHANGELOG.md",
3939
"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\""
4040
},

0 commit comments

Comments
 (0)