mirror of
https://github.com/konvajs/konva.git
synced 2025-04-05 20:48:28 +08:00
run only browser tests
This commit is contained in:
parent
b6e8afec6e
commit
b77b5daea4
@ -19,7 +19,8 @@
|
||||
"compile": "npm run clean && npm run tsc && cp ./src/index-types.d.ts ./lib/index-types.d.ts && npm run rollup",
|
||||
"build": "npm run compile && cp ./src/index-types.d.ts ./lib && gulp build",
|
||||
"full-build": "npm run build && npm t",
|
||||
"test": "node ./test/import-test.js && npm run test:browser",
|
||||
"test:node:import": "node ./test/import-test.js",
|
||||
"test": "npm run build && npm run test:browser",
|
||||
"test:build": "parcel build ./test/unit-tests.html --dist-dir test-build --target none --public-url ./ --no-source-maps",
|
||||
"test:browser": "npm run test:build && mocha-headless-chrome -f ./test-build/unit-tests.html -a disable-web-security",
|
||||
"test:node": "env TS_NODE_PROJECT=\"./test/tsconfig.json\" mocha -r ts-node/register test/unit/**/*.ts --exit",
|
||||
|
Loading…
Reference in New Issue
Block a user