Skip to content

Commit 8339fc1

Browse files
rename NPM commands
1 parent 08a0924 commit 8339fc1

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

package.json

+6-7
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,12 @@
1818
],
1919
"scripts": {
2020
"start": "webpack-dev-server",
21-
"test:lint": "eslint src/*.js* && echo 'eslint: \\033[0;32m'PASS'\\033[0m'",
22-
"test:pretty": "prettier -l \"src/*.js*\" && echo 'prettier: \\033[0;32m'PASS'\\033[0m'",
23-
"test:js": "jest",
24-
"test": "npm run test:lint && npm run test:pretty && npm run test:js",
25-
"lint": "eslint src/*.js**",
26-
"prettier": "prettier --write \"src/*.js*\"",
27-
"lintfix": "eslint src/*.js* --fix",
21+
"test:eslint": "eslint src/*.js* && echo 'eslint: \\033[0;32m'PASS'\\033[0m'",
22+
"test:eslint:fix": "eslint src/*.js* --fix",
23+
"test:prettier": "prettier -l \"src/*.js*\" && echo 'prettier: \\033[0;32m'PASS'\\033[0m'",
24+
"test:prettier:fix": "prettier --write \"src/*.js*\"",
25+
"test:jest": "jest",
26+
"test": "npm run test:eslint && npm run test:prettier && npm run test:jest",
2827
"clean": "rm -f PivotTable.js* PivotTableUI.js* PlotlyRenderers.js* TableRenderers.js* Utilities.js* pivottable.css",
2928
"doPublish": "npm run clean && cp src/pivottable.css . && babel src --out-dir=. --source-maps --presets=env,react --plugins babel-plugin-add-module-exports && npm publish",
3029
"postpublish": "npm run clean",

0 commit comments

Comments
 (0)