Skip to content

Commit 981fd84

Browse files
Address security warnings, upgrade dependencies, use npm-run-all. (#283)
* Upgrade packages to address security warnings flagged by yarn audit. * Use text instead of text-summary for nyc reporting. * Use npm-run-all as task runner.
1 parent 8855f8b commit 981fd84

File tree

3 files changed

+617
-724
lines changed

3 files changed

+617
-724
lines changed

.nycrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"reporter": [
33
"html",
44
"lcov",
5-
"text-summary"
5+
"text"
66
],
77
"report-dir": "./.coverage"
88
}

package.json

+6-5
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
"test": "mocha 'test/**/*.spec.js'",
1313
"test-cov": "nyc mocha 'test/**/*.spec.js'",
1414
"lint": "eslint .",
15-
"check": "npm run format-check && npm run lint && npm run test && npm run check-ts",
16-
"check-ci": "npm run format-check && npm run lint && npm run test-cov && npm run check-ts",
15+
"check": "run-s format-check lint test check-ts",
16+
"check-ci": "run-s format-check lint test-cov check-ts",
1717
"check-ts": "tsc index.d.ts --noEmit",
1818
"dev": "cross-env EXAMPLE=duplicates-esm node bin/webpack-dashboard.js -- webpack-cli --config examples/config/webpack.config.js --watch",
1919
"format": "prettier --write './{bin,examples,plugin,test,utils}/**/*.js'",
@@ -50,18 +50,19 @@
5050
"socket.io-client": "^2.1.1"
5151
},
5252
"devDependencies": {
53-
"babel-eslint": "^8.2.3",
53+
"babel-eslint": "^10.0.1",
5454
"chai": "^4.1.2",
5555
"cross-env": "^5.2.0",
56-
"eslint": "^4.19.1",
56+
"eslint": "^5.16.0",
5757
"eslint-config-formidable": "^4.0.0",
5858
"eslint-config-prettier": "^4.0.0",
5959
"eslint-plugin-filenames": "^1.1.0",
6060
"eslint-plugin-import": "^2.12.0",
6161
"eslint-plugin-prettier": "^3.0.1",
6262
"eslint-plugin-promise": "^3.7.0",
6363
"mocha": "^5.2.0",
64-
"nyc": "^13.3.0",
64+
"npm-run-all": "^4.1.5",
65+
"nyc": "^14.0.0",
6566
"prettier": "^1.16.4",
6667
"sinon": "^5.0.7",
6768
"sinon-chai": "^3.0.0",

0 commit comments

Comments
 (0)