Add browser tests (#696)
This commit is contained in:
+5
-1
@@ -23,7 +23,9 @@
|
||||
"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"
|
||||
"test": "standard && npm run deps && npm run test:node && npm run test:browser",
|
||||
"test:node": "node test/node.js | tap-format-spec",
|
||||
"test:browser": "browserify test/browser.js | tape-run | tap-format-spec"
|
||||
},
|
||||
"repository": "choojs/choo",
|
||||
"keywords": [
|
||||
@@ -52,6 +54,7 @@
|
||||
"xtend": "^4.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tap-format/spec": "^0.2.0",
|
||||
"@types/node": "^10.3.1",
|
||||
"browserify": "^16.2.2",
|
||||
"bundle-collapser": "^1.2.1",
|
||||
@@ -62,6 +65,7 @@
|
||||
"spok": "^0.9.1",
|
||||
"standard": "^11.0.1",
|
||||
"tape": "^4.6.3",
|
||||
"tape-run": "^5.0.0",
|
||||
"tinyify": "^2.2.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user