Skip to content

Commit 948a4f8

Browse files
Use nanoassert in the browser (#651)
1 parent 4f50c0a commit 948a4f8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,12 @@
1414
"dist",
1515
"example"
1616
],
17+
"browser": {
18+
"assert": "nanoassert"
19+
},
1720
"scripts": {
1821
"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",
19-
"deps": "dependency-check --entry ./html/index.js . && dependency-check . --extra --no-dev --entry ./html/index.js --entry ./component/index.js",
22+
"deps": "dependency-check --entry ./html/index.js . && dependency-check . --extra --no-dev --entry ./html/index.js --entry ./component/index.js -i nanoassert",
2023
"inspect": "browserify --full-paths index -g unassertify -g uglifyify | discify --open",
2124
"prepublishOnly": "npm run build",
2225
"start": "bankai start example",
@@ -34,6 +37,7 @@
3437
"license": "MIT",
3538
"dependencies": {
3639
"document-ready": "^2.0.1",
40+
"nanoassert": "^1.1.0",
3741
"nanobus": "^4.2.0",
3842
"nanocomponent": "^6.5.0",
3943
"nanohref": "^3.0.0",

0 commit comments

Comments
 (0)