Skip to content

Commit

Permalink
Refactor Scripts
Browse files Browse the repository at this point in the history
Use shorter descriptions. Preversion shouldn't include build steps b/c it's used to pre-verify during CD.
  • Loading branch information
evanplaice committed Dec 13, 2019
1 parent 7a49a44 commit 4d454f9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions package.json
Expand Up @@ -20,12 +20,12 @@
"scripts": {
"start": "npx live-server",
"test": "npx tape ./test/*.js | tap-spec",
"lint": "npm run lint:htmlhint && npm run lint:semistandard",
"lint:htmlhint": "npx htmlhint --config .htmlhint examples/**/*.html",
"lint:semistandard": "npx semistandard",
"minify": "npx uglify-js src/jquery.csv.js -o src/jquery.csv.min.js --compress --mangle",
"lint": "npm run lint:html && npm run lint:js",
"lint:html": "htmlhint --config .htmlhint examples/**/*.html",
"lint:js": "semistandard",
"build:min": "npx uglify-js src/jquery.csv.js -o src/jquery.csv.min.js --compress --mangle",
"package": "npx rimraf package && npm pack | tail -n 1 | xargs tar -xf",
"preversion": "npm run lint && npm run test && npm run minify",
"preversion": "npm run lint && npm run test",
"postversion": "git push --follow-tags"
},
"devDependencies": {
Expand Down

0 comments on commit 4d454f9

Please sign in to comment.