Skip to content

Commit 7bb62b5

Browse files
committed
update scripts; add dev deps; upgrade deps
1 parent cb284f4 commit 7bb62b5

File tree

1 file changed

+22
-15
lines changed

1 file changed

+22
-15
lines changed

package.json

Lines changed: 22 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,18 @@
44
"description": "BDD-style user interface for Mocha",
55
"main": "lib/index.js",
66
"scripts": {
7-
"test": "npm run lint",
8-
"build": "npm run build-node",
9-
"build-node": "rimraf lib; babel src --out-dir lib",
7+
"build": "rimraf lib && babel src --out-dir lib",
8+
"check": "nsp check && npm run deps",
9+
"deps": "npm run deps:missing && npm run deps:extra",
10+
"deps:extra": "dependency-check package.json --extra --no-dev --ignore-module rimraf",
11+
"deps:missing": "dependency-check package.json --missing",
1012
"lint": "eslint src/ test/ .*.js",
11-
"test-e2e": "npm run test-node-e2e && npm run test-browser-e2e",
12-
"test-node-e2e": "babel-node node_modules/.bin/_mocha --require test/e2e/fixture.js --recursive test/e2e/",
13-
"test-browser-e2e": "karma start .karma.conf.js --single-run",
14-
"publish-please": "publish-please"
13+
"prepublish": "npm run build",
14+
"publish-please": "publish-please",
15+
"test": "npm run lint",
16+
"test:e2e": "npm run test:e2e:node && npm run test:e2e:browser",
17+
"test:e2e:browser": "karma start .karma.conf.js --single-run",
18+
"test:e2e:node": "babel-node node_modules/.bin/_mocha --require test/e2e/fixture.js --recursive test/e2e/"
1519
},
1620
"repository": {
1721
"type": "git",
@@ -36,35 +40,35 @@
3640
],
3741
"devDependencies": {
3842
"babel-cli": "^6.3.13",
39-
"babel-core": "^6.1.2",
43+
"babel-core": "^6.3.26",
4044
"babel-eslint": "^4.1.5",
4145
"babel-istanbul": "^0.5.9",
4246
"babel-preset-es2015": "^6.1.2",
4347
"babelify": "^7.2.0",
4448
"browserify": "^12.0.1",
4549
"browserify-istanbul": "^0.2.1",
4650
"chai": "^3.4.0",
47-
"chai-as-promised": "^5.1.0",
51+
"chai-as-promised": "^5.2.0",
52+
"dependency-check": "^2.5.1",
4853
"eslint": "^1.10.3",
4954
"eslint-config-semistandard": "^5.0.0",
5055
"eslint-config-standard": "^4.4.0",
51-
"eslint-plugin-lodash3": "^0.4.0",
56+
"eslint-plugin-lodash3": "^0.5.0",
5257
"eslint-plugin-mocha-only": "0.0.3",
5358
"eslint-plugin-no-class": "^0.1.0",
5459
"eslint-plugin-prototype-chain": "^0.1.0",
5560
"eslint-plugin-standard": "^1.3.1",
5661
"istanbul": "^0.4.1",
57-
"js-yaml": "^3.4.3",
58-
"karma": "^0.13.15",
62+
"karma": "^0.13.16",
5963
"karma-browserify": "^4.4.2",
60-
"karma-cli": "^0.1.1",
64+
"karma-cli": "^0.1.2",
6165
"karma-coverage": "^0.5.3",
6266
"karma-mocha": "^0.2.1",
6367
"karma-mocha-reporter": "^1.1.3",
64-
"karma-phantomjs2-launcher": "^0.3.2",
65-
"minifyify": "^7.1.0",
68+
"karma-phantomjs2-launcher": "^0.4.0",
6669
"mocha": "^2.3.4",
6770
"mocha3": "file:../mocha3",
71+
"nsp": "^2.2.0",
6872
"phantomjs2-ext": "^0.1.0",
6973
"pre-commit": "^1.1.2",
7074
"publish-please": "^1.1.0",
@@ -80,5 +84,8 @@
8084
"presets": [
8185
"es2015"
8286
]
87+
},
88+
"dependencies": {
89+
"rimraf": "^2.5.0"
8390
}
8491
}

0 commit comments

Comments
 (0)