Skip to content

Commit

Permalink
chore(lockfile-lint): add lockfile-lint script (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
James Singleton authored and anescobar1991 committed Jan 23, 2020
1 parent 3439f46 commit 9cf33ed
Show file tree
Hide file tree
Showing 2 changed files with 241 additions and 2 deletions.
236 changes: 236 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"husky": "^3.1.0",
"jest": ">=23.0.0"
"jest": ">=23.0.0",
"lockfile-lint": "^3.0.8"
},
"contributors": [
"Andres Escobar",
Expand All @@ -44,7 +45,9 @@
"jest-preset.js"
],
"scripts": {
"test": "jest"
"test": "jest",
"test:lockfile": "lockfile-lint -p package-lock.json -t npm -a npm -o https: -c -i",
"posttest": "npm run test:lockfile"
},
"jest": {
"preset": "amex-jest-preset",
Expand Down

0 comments on commit 9cf33ed

Please sign in to comment.