mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
chore(scripts): update npm script to link and README instructions
fixes #8874
This commit is contained in:
@ -20,9 +20,9 @@
|
||||
"url": "https://github.com/driftyco/ionic.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "gulp karma",
|
||||
"test": "gulp validate",
|
||||
"test:generators": "jasmine-node ./tooling/spec",
|
||||
"link": "npm install && gulp src && npm link"
|
||||
"link": "gulp release.prepareReleasePackage && cd dist/ionic-angular && npm link"
|
||||
},
|
||||
"dependencies": {
|
||||
"@angular/common": "2.0.0",
|
||||
|
@ -51,9 +51,7 @@ The following commands take longer to run because they use AoT compilation. They
|
||||
|
||||
From `ionic` directory:
|
||||
|
||||
1. `gulp package build` or (`gulp package watch`, then open another terminal for step 2)
|
||||
2. `cd dist`
|
||||
3. `npm link` (may require `sudo`)
|
||||
1. `npm run link`
|
||||
|
||||
From your app directory:
|
||||
|
||||
|
Reference in New Issue
Block a user