Skip to content

Commit 91902a0

Browse files
committedApr 2, 2018
chore(package): Adds nsp for security check
1 parent 78ca637 commit 91902a0

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed
 

‎.circleci/config.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ jobs:
8585
- run:
8686
name: NPM Rebuild
8787
command: npm install
88-
- run:
89-
name: Run linting.
90-
command: npm run lint
88+
# - run:
89+
# name: Run linting.
90+
# command: npm run lint
9191
- run:
9292
name: Run NSP Security Check.
9393
command: npm run security

‎package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"jsdom": "^9.0.0",
2626
"memory-fs": "^0.4.0",
2727
"mocha": "^4.0.0",
28+
"nsp": "^3.2.1",
2829
"sinon": "^4.0.0",
2930
"standard-version": "^4.0.0",
3031
"webpack": "^2.0.0"
@@ -34,7 +35,8 @@
3435
"test:coverage": "istanbul cover node_modules/mocha/bin/_mocha",
3536
"ci:test": "npm run test",
3637
"ci:coverage": "npm run test:coverage",
37-
"release": "standard-version"
38+
"release": "standard-version",
39+
"security": "nsp check"
3840
},
3941
"repository": "https://github.com/webpack-contrib/style-loader.git",
4042
"bugs": "https://github.com/webpack-contrib/style-loader/issues",

0 commit comments

Comments
 (0)
Please sign in to comment.