chore(build): add deploy script

This commit is contained in:
Dan Bucholtz
2017-11-21 14:25:47 -06:00
parent 63d5c9bac0
commit 48aa68d79d
2 changed files with 14 additions and 1 deletions

View File

@ -0,0 +1,12 @@
## Angular
These are Angular specific building blocks on top of `@ionic/core` components/services.
## To Build
1. run `npm run build` to build a distro to `dist`
## Publishing
1. Run `npm run deploy`

View File

@ -20,10 +20,11 @@
"url": "https://github.com/ionic-team/ionic.git"
},
"scripts": {
"build": "npm run clean && npm run compile && npm run clean-generated",
"clean": "rm -rf dist",
"clean-generated": "node ./scripts/clean.js",
"compile": "ngc -p .",
"build": "npm run clean && npm run compile && npm run clean-generated"
"deploy": "np --any-branch"
},
"main": "./dist/src/index.js",
"modules": "./dist/src/index.js",