Added test-react script.
This commit is contained in:
parent
57eb5b777e
commit
d3b473e7c7
@ -20,6 +20,7 @@
|
||||
"_dist-all": "npm run _dist-esm && npm run _dist-ancillary && npm run _dist-umd",
|
||||
"_dist": "node admin/cmds/npm-skip-node8.js || npm run _dist-all",
|
||||
"clean": "node ./admin/cmds/reset-build.js && tsc --build --clean ./tsconfig.project.json",
|
||||
"dist-shims": "cd packages/shims && npm run dist",
|
||||
"_dist-test-esm": "rollup -c rollup-tests.config.js --configModule",
|
||||
"_dist-test-umd": "rollup -c rollup-tests.config.js",
|
||||
"_test-browser-umd": "karma start --single-run --browsers HeadlessLittleLiar karma-umd.conf.js",
|
||||
@ -27,6 +28,7 @@
|
||||
"test-browser-umd": "npm run _dist-test-umd && npm run _test-browser-umd",
|
||||
"test-browser-esm": "npm run _dist-test-esm && npm run _test-browser-esm",
|
||||
"test-node": "mocha --no-colors --reporter ./packages/tests/reporter ./packages/tests/lib/test-*.js",
|
||||
"test-react": "npm run _dist-test-umd && npm run dist-shims && pushd misc/ReactNativeTestApp && ./run-tests.sh && popd",
|
||||
"test": "npm run build-all && npm run test-node",
|
||||
"test-coverage": "nyc --report-dir=output --reporter=lcov --reporter=text mocha --reporter ./packages/tests/reporter-keepalive ./packages/tests/lib/test-*.js | tee output/summary.txt",
|
||||
"lock-versions": "node ./admin/cmds/lock-versions",
|
||||
|
Loading…
Reference in New Issue
Block a user