From 837ca76dada5c46ca5431c85ee49d671ba4177b2 Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Tue, 25 Oct 2016 13:31:06 -0400 Subject: [PATCH] chore(scripts): update npm script to link and README instructions fixes #8874 --- package.json | 4 ++-- scripts/README.md | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index a96ecfaa23..d1b13927a3 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/scripts/README.md b/scripts/README.md index 596e463152..451a8994f2 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -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: