Skip to content

Commit 4d454f9

Browse files
committed
Refactor Scripts
Use shorter descriptions. Preversion shouldn't include build steps b/c it's used to pre-verify during CD.
1 parent 7a49a44 commit 4d454f9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020
"scripts": {
2121
"start": "npx live-server",
2222
"test": "npx tape ./test/*.js | tap-spec",
23-
"lint": "npm run lint:htmlhint && npm run lint:semistandard",
24-
"lint:htmlhint": "npx htmlhint --config .htmlhint examples/**/*.html",
25-
"lint:semistandard": "npx semistandard",
26-
"minify": "npx uglify-js src/jquery.csv.js -o src/jquery.csv.min.js --compress --mangle",
23+
"lint": "npm run lint:html && npm run lint:js",
24+
"lint:html": "htmlhint --config .htmlhint examples/**/*.html",
25+
"lint:js": "semistandard",
26+
"build:min": "npx uglify-js src/jquery.csv.js -o src/jquery.csv.min.js --compress --mangle",
2727
"package": "npx rimraf package && npm pack | tail -n 1 | xargs tar -xf",
28-
"preversion": "npm run lint && npm run test && npm run minify",
28+
"preversion": "npm run lint && npm run test",
2929
"postversion": "git push --follow-tags"
3030
},
3131
"devDependencies": {

0 commit comments

Comments
 (0)