Use nanoassert in the browser (#651)
This commit is contained in:
+5
-1
@@ -14,9 +14,12 @@
|
|||||||
"dist",
|
"dist",
|
||||||
"example"
|
"example"
|
||||||
],
|
],
|
||||||
|
"browser": {
|
||||||
|
"assert": "nanoassert"
|
||||||
|
},
|
||||||
"scripts": {
|
"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",
|
"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",
|
"inspect": "browserify --full-paths index -g unassertify -g uglifyify | discify --open",
|
||||||
"prepublishOnly": "npm run build",
|
"prepublishOnly": "npm run build",
|
||||||
"start": "bankai start example",
|
"start": "bankai start example",
|
||||||
@@ -34,6 +37,7 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"document-ready": "^2.0.1",
|
"document-ready": "^2.0.1",
|
||||||
|
"nanoassert": "^1.1.0",
|
||||||
"nanobus": "^4.2.0",
|
"nanobus": "^4.2.0",
|
||||||
"nanocomponent": "^6.5.0",
|
"nanocomponent": "^6.5.0",
|
||||||
"nanohref": "^3.0.0",
|
"nanohref": "^3.0.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user