Skip to content

Commit

Permalink
Fix inspect script
Browse files Browse the repository at this point in the history
`discify` is a different module than intended. discify is an alternative
to disc that works as a plugin, but we were using it as a separate
command line program. This switches it out for disc. The disc command
line program is called `discify` which is probably where the confusion
came from.

Also swapped out unassertify and uglifyify for tinyify, which adds tree
shaking.
  • Loading branch information
goto-bus-stop committed Apr 11, 2018
1 parent 948a4f8 commit 3836a55
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"scripts": {
"build": "mkdir -p dist/ && browserify index -p bundle-collapser/plugin > dist/bundle.js && browserify index -p tinyify > dist/bundle.min.js && cat dist/bundle.min.js | gzip --best --stdout | wc -c | pretty-bytes",
"deps": "dependency-check --entry ./html/index.js . && dependency-check . --extra --no-dev --entry ./html/index.js --entry ./component/index.js -i nanoassert",
"inspect": "browserify --full-paths index -g unassertify -g uglifyify | discify --open",
"inspect": "browserify --full-paths index -p tinyify | discify --open",
"prepublishOnly": "npm run build",
"start": "bankai start example",
"test": "standard && npm run deps && node test.js"
Expand Down Expand Up @@ -57,15 +57,13 @@
"browserify": "^14.3.0",
"bundle-collapser": "^1.2.1",
"dependency-check": "^2.8.0",
"discify": "^1.6.0",
"disc": "^1.3.3",
"hyperscript": "^2.0.2",
"pretty-bytes-cli": "^2.0.0",
"spok": "^0.8.1",
"standard": "^10.0.0",
"tape": "^4.6.3",
"tinyify": "^2.2.0",
"uglify-es": "^3.0.17",
"uglifyify": "^4.0.1",
"unassertify": "^2.0.4"
"uglify-es": "^3.0.17"
}
}

0 comments on commit 3836a55

Please sign in to comment.