Skip to content

Commit

Permalink
fix publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
bradmartin committed Sep 30, 2020
1 parent bcf71f0 commit 7c047bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion publish/pack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pack() {
# compile package and copy files required by npm
echo 'Building /src...'
cd "$TO_SOURCE_DIR"
node_modules/.bin/tsc
npm run publish
node ./node_modules/.bin/ngc --project tsconfig.aot.json --outDir ./
cd ..

Expand Down
3 changes: 2 additions & 1 deletion src/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nstudio/nativescript-checkbox",
"version": "2.0.0",
"version": "2.0.2",
"description": "NativeScript plugin for checkbox.",
"main": "checkbox",
"typings": "index.d.ts",
Expand All @@ -14,6 +14,7 @@
"clean": "npx rimraf node_modules package-lock.json && npm i",
"build": "npm i && ts-patch install && tsc",
"prepublishOnly": "npm run build && npm run build.ng.module",
"publish": "npm run build.ng.module",
"build.ng.module": "npm run build && ng-packagr -p angular/package.json",
"tslint": "cd .. && tslint \"**/*.ts\" --config tslint.json --exclude \"**/node_modules/**\" --exclude \"*demo*/platforms/**\" --exclude \"**/typings/**\"",
"ci.tslint": "npm i && tslint '**/*.ts' --config '../tslint.json' --exclude '**/node_modules/**' --exclude \"**/typings/**\"",
Expand Down

0 comments on commit 7c047bc

Please sign in to comment.