|
|
@ -31,15 +31,16 @@ |
|
|
|
"test:cov": "jest --coverage", |
|
|
|
"test:cov": "jest --coverage", |
|
|
|
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand", |
|
|
|
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand", |
|
|
|
"test:e2e": "jest --config ./test/jest-e2e.json", |
|
|
|
"test:e2e": "jest --config ./test/jest-e2e.json", |
|
|
|
"watch:run": "cross-env NC_DISABLE_TELE=true EE=true nodemon -e ts,js -w ./src -x \"ts-node src/run/docker --log-error --project tsconfig.json\"", |
|
|
|
"watch:run": "cross-env NC_DISABLE_TELE=true EE=true nyc --reporter=html nodemon -e ts,js -w ./src -x \"ts-node src/run/docker --log-error --project tsconfig.json\"", |
|
|
|
"watch:run:mysql": "cross-env NC_DISABLE_TELE=true EE=true nodemon -e ts,js -w ./src -x \"ts-node src/run/dockerRunMysql --log-error --project tsconfig.json\"", |
|
|
|
"watch:run:mysql": "cross-env NC_DISABLE_TELE=true EE=true nyc --reporter=html nodemon -e ts,js -w ./src -x \"ts-node src/run/dockerRunMysql --log-error --project tsconfig.json\"", |
|
|
|
"watch:run:pg": "cross-env NC_DISABLE_TELE=true EE=true nodemon -e ts,js -w ./src -x \"ts-node src/run/dockerRunPG --log-error --project tsconfig.json\"", |
|
|
|
"watch:run:pg": "cross-env NC_DISABLE_TELE=true EE=true nodemon -e ts,js -w ./src -x \"ts-node src/run/dockerRunPG --log-error --project tsconfig.json\"", |
|
|
|
"watch:run:playwright": "rm -f ./test_noco.db; cross-env DATABASE_URL=sqlite:./test_noco.db PLAYWRIGHT_TEST=true NC_DISABLE_TELE=true EE=true nodemon -e ts,js -w ./src -x \"ts-node src/run/testDocker --log-error --project tsconfig.json\"", |
|
|
|
"watch:run:playwright": "rm -rf .nyc_output coverage ./test_noco.db; cross-env DATABASE_URL=sqlite:./test_noco.db PLAYWRIGHT_TEST=true NC_DISABLE_TELE=true EE=true nyc --reporter=html nodemon -e ts,js -w ./src -x \"ts-node src/run/testDocker --log-error --project tsconfig.json\"", |
|
|
|
"watch:run:playwright:quick": "rm -f ./test_noco.db; cp ../../tests/playwright/fixtures/noco_0_91_7.db ./test_noco.db; cross-env DATABASE_URL=sqlite:./test_noco.db NC_DISABLE_TELE=true EE=true nodemon -e ts,js -w ./src -x \"ts-node src/run/docker --log-error --project tsconfig.json\"", |
|
|
|
"watch:run:playwright:quick": "rm -f ./test_noco.db; cp ../../tests/playwright/fixtures/noco_0_91_7.db ./test_noco.db; cross-env DATABASE_URL=sqlite:./test_noco.db NC_DISABLE_TELE=true EE=true nyc --reporter=html nodemon -e ts,js -w ./src -x \"ts-node src/run/docker --log-error --project tsconfig.json\"", |
|
|
|
"watch:run:playwright:pg:cyquick": "rm -f ./test_noco.db; cp ../../tests/playwright/fixtures/noco_0_91_7.db ./test_noco.db; cross-env NC_DISABLE_TELE=true EE=true nodemon -e ts,js -w ./src -x \"ts-node src/run/dockerRunPG_CyQuick.ts --log-error --project tsconfig.json\"", |
|
|
|
"watch:run:playwright:pg:cyquick": "rm -f ./test_noco.db; cp ../../tests/playwright/fixtures/noco_0_91_7.db ./test_noco.db; cross-env NC_DISABLE_TELE=true EE=true nyc --reporter=html nodemon -e ts,js -w ./src -x \"ts-node src/run/dockerRunPG_CyQuick.ts --log-error --project tsconfig.json\"", |
|
|
|
"test:unit": "cross-env TS_NODE_PROJECT=./tests/unit/tsconfig.json mocha -r ts-node/register tests/unit/index.test.ts --recursive --timeout 300000 --exit --delay", |
|
|
|
"test:unit": "cross-env TS_NODE_PROJECT=./tests/unit/tsconfig.json nyc --reporter=html mocha -r ts-node/register tests/unit/index.test.ts --recursive --timeout 300000 --exit --delay", |
|
|
|
"test:unit:pg": "cp tests/unit/.pg.env tests/unit/.env; cross-env TS_NODE_PROJECT=./tests/unit/tsconfig.json mocha -r ts-node/register tests/unit/index.test.ts --recursive --timeout 300000 --exit --delay", |
|
|
|
"test:unit:pg": "cp tests/unit/.pg.env tests/unit/.env; cross-env TS_NODE_PROJECT=./tests/unit/tsconfig.json nyc --reporter=html mocha -r ts-node/register tests/unit/index.test.ts --recursive --timeout 300000 --exit --delay", |
|
|
|
"docker:build": "EE=\"true-xc-test\" webpack --config docker/webpack.config.js" |
|
|
|
"docker:build": "EE=\"true-xc-test\" webpack --config docker/webpack.config.js", |
|
|
|
|
|
|
|
"gen-coverage-report": "rm -rf coverage ; nyc report --temp-dir=.nyc_output --reporter=html" |
|
|
|
}, |
|
|
|
}, |
|
|
|
"dependencies": { |
|
|
|
"dependencies": { |
|
|
|
"@google-cloud/storage": "^5.7.2", |
|
|
|
"@google-cloud/storage": "^5.7.2", |
|
|
@ -176,6 +177,7 @@ |
|
|
|
"jest": "29.5.0", |
|
|
|
"jest": "29.5.0", |
|
|
|
"mocha": "^10.1.0", |
|
|
|
"mocha": "^10.1.0", |
|
|
|
"nodemon": "^2.0.22", |
|
|
|
"nodemon": "^2.0.22", |
|
|
|
|
|
|
|
"nyc": "^15.1.0", |
|
|
|
"prettier": "^2.7.1", |
|
|
|
"prettier": "^2.7.1", |
|
|
|
"source-map-support": "^0.5.20", |
|
|
|
"source-map-support": "^0.5.20", |
|
|
|
"supertest": "^6.1.3", |
|
|
|
"supertest": "^6.1.3", |
|
|
|