scripts: add test
This commit is contained in:
+6
-6
@@ -4,12 +4,12 @@
|
||||
"description": "A 5kb framework for creating sturdy frontend applications",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"deps": "dependency-check . && dependency-check . --extra --no-dev -i xhr",
|
||||
"test:electron": "browserify tests/**/*.js -t es2020 -p proxyquire-universal | tape-run",
|
||||
"test:cov": "browserify tests/**/*.js -t es2020 -p proxyquire-universal -p tape-istanbul/plugin | tape-run | tape-istanbul && istanbul report",
|
||||
"test:server": "standard && npm run deps && NODE_ENV=test node tests/server/*",
|
||||
"test:browser": "standard && npm run deps && NODE_ENV=test zuul tests/browser/*",
|
||||
"test:browser:local": "standard && npm run deps && NODE_ENV=test zuul --local 8080 -- tests/browser/*",
|
||||
"deps": "./scripts/test deps",
|
||||
"test:electron": "./scripts/test electron",
|
||||
"test:cov": "./scripts/test cov",
|
||||
"test:server": "./scripts/test server",
|
||||
"test:browser": "./scripts/test browser",
|
||||
"test:browser-local": "./scripts/test browser-local",
|
||||
"preversion": "if [ ! -z $SKIP_TEST ]; then npm run test:browser; fi",
|
||||
"test": "npm run test:electron",
|
||||
"build:dev": "./scripts/build dev",
|
||||
|
||||
Reference in New Issue
Block a user