Skip to content

Commit

Permalink
Refactor scripts in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Oct 4, 2019
1 parent a6924d8 commit 5dd5d6d
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions package.json
Expand Up @@ -83,9 +83,9 @@
"xo": "^0.25.0"
},
"scripts": {
"format": "remark . -qfo && prettier --write '**/*.js' && xo --fix",
"build-bundle": "browserify . -s alex > alex.js",
"build-mangle": "browserify . -s alex -p tinyify > alex.min.js",
"format": "remark . -qfo && prettier --write \"**/*.js\" && xo --fix",
"build-bundle": "browserify . -s alex -o alex.js",
"build-mangle": "browserify . -s alex -p tinyify -o alex.min.js",
"build": "npm run build-bundle && npm run build-mangle",
"test-api": "ava",
"test-coverage": "nyc --reporter lcov ava",
Expand Down Expand Up @@ -113,9 +113,6 @@
"xo": {
"prettier": true,
"esnext": false,
"rules": {
"ava/prefer-async-await": "off"
},
"ignores": [
"alex.js"
]
Expand Down

0 comments on commit 5dd5d6d

Please sign in to comment.