|
7 | 7 | "main": "./dist/index.js", |
8 | 8 | "scripts": { |
9 | 9 | "clean": "rm -rf ./dist", |
10 | | - "lint": "../../node_modules/.bin/tslint -c ../../tslint.json 'src/**/*.ts'", |
| 10 | + "lint": "tslint -c ../../tslint.json \"src/**/*.ts\"", |
11 | 11 | "build": "npm run clean && npm run build-ts && npm run build-js", |
12 | | - "build-ts": "../../node_modules/.bin/tsc", |
13 | | - "build-js": "npm run -s script-prepublish", |
14 | | - "watch": "npm run clean && ../../node_modules/.bin/concurrently -p '{name} ' -n 'TS,JS' -c 'cyan.bold,yellow.dim' 'npm run watch-ts' 'npm run watch-js'", |
15 | | - "watch-ts": "../../node_modules/.bin/tsc -w", |
16 | | - "watch-js": "../../node_modules/.bin/cross-env IONIC_PREPUBLISH_PLUGIN_VERSION=${npm_package_version}-local 'npm run watch-js-chokidar'", |
17 | | - "watch-js-chokidar": "../../node_modules/.bin/chokidar --silent 'dist/**/*.js' -c 'npm run build-js'", |
18 | | - "script-prepublish": "node ../../scripts/prepublish.js cli-plugin-ionic-angular", |
19 | | - "test": "../../node_modules/.bin/jest", |
20 | | - "prepublish": "npm run build" |
| 12 | + "build-ts": "tsc", |
| 13 | + "build-js": "npm run script-prepublish", |
| 14 | + "watch": "concurrently -p \"{name} \" -n \"TS,JS\" -c \"cyan.bold,yellow.dim\" \"npm run watch-ts\" \"npm run watch-js\"", |
| 15 | + "watch-ts": "tsc -w", |
| 16 | + "watch-js": "cross-env IONIC_PREPUBLISH_PLUGIN_VERSION=${npm_package_version}-local \"npm run watch-js-chokidar\"", |
| 17 | + "watch-js-chokidar": "chokidar --silent \"dist/**/*.js\" -c \"npm run build-js\"", |
| 18 | + "script-prepublish": "cli-scripts-prepublish cli-plugin-ionic-angular", |
| 19 | + "test": "jest", |
| 20 | + "prepublish": "in-publish && npm run build || not-in-publish" |
21 | 21 | }, |
22 | 22 | "repository": { |
23 | 23 | "type": "git", |
|
50 | 50 | "@angular/compiler": "^4.0.0", |
51 | 51 | "@angular/compiler-cli": "^4.0.0", |
52 | 52 | "@angular/core": "^4.0.0", |
| 53 | + "@ionic/app-scripts": "^1.3.7", |
| 54 | + "@ionic/cli-scripts": "*", |
53 | 55 | "@types/chalk": "^0.4.31", |
54 | 56 | "@types/clean-css": "^3.4.30", |
55 | 57 | "rxjs": "^5.2.0" |
56 | 58 | }, |
57 | 59 | "peerDependencies": { |
58 | | - "@ionic/app-scripts": "^1.3.1" |
| 60 | + "@ionic/app-scripts": "^1.3.7" |
59 | 61 | } |
60 | 62 | } |
0 commit comments