Skip to content

Commit 26c2dc8

Browse files
separate out test steps to more easily see which step failed in CI
1 parent f3d1e3f commit 26c2dc8

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

package.json

+5-4
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,12 @@
1919
"make:dist:css": "mkdirp dist && node-sass --output-style compressed src/styles/main.scss > dist/react-plotly.js-editor.css",
2020
"prepublishOnly": "npm run make:lib",
2121
"lint": "prettier --write \"src/**/*.js\"",
22-
"test": "eslint src && prettier -l \"src/**/*.js\" && jest",
23-
"test-js": "jest",
22+
"test:lint": "eslint src && echo -e '\\033[0;32m'PASS'\\033[0m'",
23+
"test:pretty": "prettier -l \"src/**/*.js\" && echo -e '\\033[0;32m'PASS'\\033[0m'",
24+
"test:js": "jest",
25+
"test": "npm run test:lint && npm run test:pretty && npm run test:js",
2426
"watch": "nodemon --exec \"npm run make:lib\" -w src",
25-
"watch-test": "jest --watch",
26-
"eslint:check": "eslint --print-config .eslintrc | eslint-config-prettier-check"
27+
"watch-test": "jest --watch"
2728
},
2829
"keywords": [
2930
"graphing",

0 commit comments

Comments
 (0)