This commit is contained in:
Anton Lavrenov
2021-05-05 09:54:03 -05:00
parent dff085fb60
commit b6e8afec6e
62 changed files with 1628 additions and 359 deletions

View File

@@ -19,7 +19,7 @@
"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 && npm run test:node",
"test": "node ./test/import-test.js && 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",