Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 937c5ee

Browse files
author
Federico Zivolo
committed
fix: package.json scripts
1 parent faf9cfc commit 937c5ee

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,14 @@
2626
"build:cjs-min":
2727
"MINIFY=true rollup -c --output.format cjs --output.name 'react-popper' --output.file dist/react-popper.min.js",
2828
"demo": "parcel --out-dir demo/dist demo/index.html",
29-
"pretest": "npm run lint",
30-
"test": "npm run test:flow && npm run test:ts && npm run test:jest",
29+
"test":
30+
"npm run test:eslint && npm run test:flow && npm run test:ts && npm run test:jest",
3131
"test:ts": "tsc --project ./typings/tests",
3232
"test:flow": "flow check",
3333
"test:jest": "jest",
34+
"test:eslint": "eslint src",
3435
"prepare": "npm run build",
35-
"precommit": "pretty-quick --staged && eslint src"
36+
"precommit": "pretty-quick --staged && test"
3637
},
3738
"jest": {
3839
"setupTestFrameworkScriptFile": "<rootDir>jest.setup.js",

0 commit comments

Comments
 (0)