chore(scripts): update npm script to link and README instructions

fixes #8874
This commit is contained in:
Brandy Carney
2016-10-25 13:31:06 -04:00
parent 3f3c8c6434
commit 837ca76dad
2 changed files with 3 additions and 5 deletions

View File

@ -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",

View File

@ -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: