Skip to content

Commit

Permalink
Use nanoassert in the browser (#651)
Browse files Browse the repository at this point in the history
  • Loading branch information
goto-bus-stop authored Apr 4, 2018
1 parent 4f50c0a commit 948a4f8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@
"dist",
"example"
],
"browser": {
"assert": "nanoassert"
},
"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",
"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",
"prepublishOnly": "npm run build",
"start": "bankai start example",
Expand All @@ -34,6 +37,7 @@
"license": "MIT",
"dependencies": {
"document-ready": "^2.0.1",
"nanoassert": "^1.1.0",
"nanobus": "^4.2.0",
"nanocomponent": "^6.5.0",
"nanohref": "^3.0.0",
Expand Down

0 comments on commit 948a4f8

Please sign in to comment.