Added test runner

This commit is contained in:
Damjan Bursac 2019-08-21 16:25:24 +02:00
parent e585d0b0e3
commit 00f12d998f
2 changed files with 1407 additions and 14 deletions

View File

@ -5,7 +5,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build-test": "tsc && browserify test/test.js > test/bundle.js"
"build-test": "tsc && browserify test/test.js | tape-run --render='tap-spec'"
},
"homepage": "https://github.com/index23/chunk-store-idb",
"repository": {
@ -29,6 +29,8 @@
"@types/node": "^12.7.2",
"abstract-chunk-store": "^1.4.0",
"browserify": "^16.5.0",
"tape": "^4.9.1"
"tap-spec": "^5.0.0",
"tape": "^4.9.1",
"tape-run": "^6.0.1"
}
}

1415
yarn.lock

File diff suppressed because it is too large Load Diff