mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-14 16:52:26 +08:00
chore(build): add deploy script
This commit is contained in:
12
packages/angular/README.md
Normal file
12
packages/angular/README.md
Normal 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`
|
@ -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",
|
||||
|
Reference in New Issue
Block a user