Skip to content

Commit

Permalink
[Tests] run aud
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Oct 2, 2020
1 parent 0f99ce0 commit bfef3f9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ before_script:
script:
- 'if [ -n "${PRETEST-}" ]; then npm run pretest ; fi'
- 'if [ -n "${TEST-}" ]; then npm run unit-test ; fi'
- 'if [ -n "${POSTTEST-}" ]; then npm run posttest ; fi'
- 'if [ -n "${README-}" ]; then npm run generate-list-of-rules:check ; fi'
env:
global:
Expand All @@ -31,6 +32,8 @@ matrix:
include:
- node_js: 'lts/*'
env: PRETEST=true
- node_js: 'lts/*'
env: POSTTEST=true
- node_js: 'lts/*'
env: README=true
exclude:
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"postlint": "npm run type-check",
"pretest": "npm run lint",
"test": "npm run unit-test",
"posttest": "aud --production",
"type-check": "tsc",
"unit-test": "istanbul cover node_modules/mocha/bin/_mocha tests/lib/**/*.js tests/util/**/*.js tests/index.js",
"generate-list-of-rules": "md-magic --path README.md",
Expand Down Expand Up @@ -45,6 +46,7 @@
"@types/estree": "0.0.45",
"@types/node": "^14.11.2",
"@typescript-eslint/parser": "^2.34.0",
"aud": "^1.1.2",
"babel-eslint": "^8.2.6",
"coveralls": "^3.1.0",
"eslint": "^3 || ^4 || ^5 || ^6 || ^7",
Expand Down

0 comments on commit bfef3f9

Please sign in to comment.