Skip to content

Commit

Permalink
[Tests] remove nsp; use npm audit; allow to fail for now
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Dec 18, 2018
1 parent 3807025 commit 36ae30a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
package-lock=false
audit-level=high
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -260,3 +260,4 @@ matrix:
- os: osx
- env: TEST=true ALLOW_FAILURE=true
- env: COVERAGE=true
- env: POSTTEST=true
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@
"pretest": "npm run lint",
"test": "npm run tests-only",
"tests-only": "node --harmony --es-staging test",
"posttest": "npm run security",
"posttest": "npm run audit",
"coverage": "covert test.js",
"lint": "eslint test.js *.js",
"eccheck": "editorconfig-tools check *.js **/*.js > /dev/null",
"security": "nsp check"
"preaudit": "npm install --package-lock --package-lock-only",
"audit": "npm audit",
"postaudit": "rm package-lock.json"
},
"repository": {
"type": "git",
Expand All @@ -38,7 +40,6 @@
"foreach": "^2.0.5",
"indexof": "^0.0.1",
"is": "^3.2.1",
"nsp": "^3.2.1",
"replace": "^1.0.0",
"semver": "^5.5.0",
"tape": "^4.9.0"
Expand Down

0 comments on commit 36ae30a

Please sign in to comment.