|
24 | 24 | "main": "dist/formly.js",
|
25 | 25 | "license": "MIT",
|
26 | 26 | "scripts": {
|
27 |
| - "build:dist": "better-npm-run build:dist", |
28 |
| - "build:prod": "better-npm-run build:prod", |
| 27 | + "build:dist": "cross-env NODE_ENV=development webpack --config node_modules/kcd-common-tools/shared/webpack.config.js --progress --colors", |
| 28 | + "build:prod": "cross-env NODE_ENV=production webpack --config node_modules/kcd-common-tools/shared/webpack.config.js --progress --colors", |
29 | 29 | "build": "npm run build:dist & npm run build:prod",
|
30 |
| - "test": "better-npm-run test test:single", |
31 |
| - "test:mac": "COVERAGE=true NODE_ENV=test karma start", |
32 |
| - "test:watch": "better-npm-run test", |
33 |
| - "test:debug": "better-npm-run test:debug", |
34 |
| - "test:ci": "better-npm-run test:ci", |
| 30 | + "test": "cross-env COVERAGE=true NODE_ENV=test karma start --single-run", |
| 31 | + "test:watch": "cross-env COVERAGE=true NODE_ENV=test karma start", |
| 32 | + "test:debug": "cross-env NODE_ENV=test karma start --browsers Chrome", |
| 33 | + "test:ci": "cross-env NODE_ENV=test:ci karma start", |
35 | 34 | "start:mac": "npm run test:mac",
|
36 | 35 | "start": "npm run test:watch",
|
37 | 36 | "check-coverage": "istanbul check-coverage --statements 93 --branches 89 --functions 92 --lines 92",
|
|
42 | 41 | "postpublish": "publish-latest --user-email [email protected] --user-name formly-bot",
|
43 | 42 | "semantic-release": "semantic-release pre && npm publish && semantic-release post"
|
44 | 43 | },
|
45 |
| - "betterScripts": { |
46 |
| - "build:dist": { |
47 |
| - "env": { |
48 |
| - "NODE_ENV": "development" |
49 |
| - }, |
50 |
| - "command": "webpack --config node_modules/kcd-common-tools/shared/webpack.config.js --progress --colors" |
51 |
| - }, |
52 |
| - "build:prod": { |
53 |
| - "env": { |
54 |
| - "NODE_ENV": "production" |
55 |
| - }, |
56 |
| - "command": "webpack --config node_modules/kcd-common-tools/shared/webpack.config.js --progress --colors" |
57 |
| - }, |
58 |
| - "test:watch": { |
59 |
| - "env": { |
60 |
| - "COVERAGE": "true", |
61 |
| - "NODE_ENV": "test" |
62 |
| - }, |
63 |
| - "command": "karma start" |
64 |
| - }, |
65 |
| - "test": { |
66 |
| - "env": { |
67 |
| - "COVERAGE": "true", |
68 |
| - "NODE_ENV": "test" |
69 |
| - }, |
70 |
| - "command": "karma start --single-run" |
71 |
| - }, |
72 |
| - "test:debug": { |
73 |
| - "env": { |
74 |
| - "NODE_ENV": "test" |
75 |
| - }, |
76 |
| - "command": "karma start --browsers Chrome" |
77 |
| - }, |
78 |
| - "test:ci": { |
79 |
| - "env": { |
80 |
| - "NODE_ENV": "test:ci" |
81 |
| - }, |
82 |
| - "command": "karma start" |
83 |
| - } |
84 |
| - }, |
85 | 44 | "config": {
|
86 | 45 | "ghooks": {
|
87 | 46 | "commit-msg": "./node_modules/.bin/validate-commit-msg && npm run code-checks && npm t && npm run check-coverage"
|
|
97 | 56 | "angular-mocks": "1.4.5",
|
98 | 57 | "api-check": "7.5.3",
|
99 | 58 | "babel": "5.8.23",
|
| 59 | + "babel-eslint": "4.1.3", |
100 | 60 | "babel-loader": "5.3.2",
|
101 |
| - "better-npm-run": "benoror/better-npm-run#0.0.1", |
102 | 61 | "chai": "3.3.0",
|
103 | 62 | "codecov.io": "0.1.6",
|
104 | 63 | "commitizen": "1.0.5",
|
105 | 64 | "cracks": "3.0.2",
|
| 65 | + "cross-env": "1.0.1", |
106 | 66 | "cz-conventional-changelog": "1.1.2",
|
107 | 67 | "eslint": "1.5.1",
|
108 | 68 | "eslint-config-kentcdodds": "4.0.0",
|
|
0 commit comments