Skip to content

Commit

Permalink
[Tests] switch from nsp to npm audit
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Dec 24, 2018
1 parent 3fd3a62 commit 6543c7d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions .npmrc
@@ -1 +1,2 @@
package-lock=false
audit-level=high
1 change: 1 addition & 0 deletions .travis.yml
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
Expand Up @@ -9,10 +9,12 @@
"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",
"security": "nsp check"
"preaudit": "npm install --package-lock --package-lock-only",
"audit": "npm audit",
"postaudit": "rm package-lock.json"
},
"repository": {
"type": "git",
Expand All @@ -33,7 +35,6 @@
"foreach": "^2.0.5",
"indexof": "^0.0.1",
"is": "^3.2.1",
"nsp": "^3.2.1",
"semver": "^5.5.0",
"tape": "^4.9.0"
},
Expand Down

0 comments on commit 6543c7d

Please sign in to comment.