mirror of
https://github.com/bckelley/cgm-remote-monitor.git
synced 2026-08-24 03:14:12 -05:00
task: tidy ci test env away from project root
This change moves the ci.test.env file into the tests/ subdirectory in an effort to reduce the number of files in the project root. The package.json metadata is updated to enable continuous integration tools to continue to work as expected.
This commit is contained in:
+2
-2
@@ -29,14 +29,14 @@
|
||||
"start": "node lib/server/server.js",
|
||||
"test": "env-cmd -f ./my.test.env mocha --require ./tests/hooks.js -exit ./tests/*.test.js",
|
||||
"test-single": "env-cmd -f ./my.test.env mocha --require ./tests/hooks.js --exit ./tests/$TEST.test.js",
|
||||
"test-ci": "env-cmd -f ./ci.test.env nyc --reporter=lcov --reporter=text-summary mocha --require ./tests/hooks.js --exit ./tests/*.test.js",
|
||||
"test-ci": "env-cmd -f ./tests/ci.test.env nyc --reporter=lcov --reporter=text-summary mocha --require ./tests/hooks.js --exit ./tests/*.test.js",
|
||||
"env": "env",
|
||||
"postinstall": "webpack --mode production --config webpack/webpack.config.js && npm run-script generate-keys",
|
||||
"bundle": "webpack --mode production --config webpack/webpack.config.js && npm run-script generate-keys",
|
||||
"bundle-dev": "webpack --mode development --config webpack/webpack.config.js && npm run-script generate-keys",
|
||||
"bundle-analyzer": "webpack --mode development --config webpack/webpack.config.js --profile --json > stats.json && webpack-bundle-analyzer stats.json",
|
||||
"generate-keys": "node bin/generateRandomString.js >tmp/randomString",
|
||||
"coverage": "cat ./coverage/lcov.info | env-cmd -f ./ci.test.env codacy-coverage",
|
||||
"coverage": "cat ./coverage/lcov.info | env-cmd -f ./tests/ci.test.env codacy-coverage",
|
||||
"dev": "env-cmd -f ./my.env nodemon --inspect lib/server/server.js 0.0.0.0",
|
||||
"dev-test": "env-cmd -f ./my.devtest.env nodemon --inspect lib/server/server.js 0.0.0.0",
|
||||
"prod": "env-cmd -f ./my.prod.env node lib/server/server.js 0.0.0.0",
|
||||
|
||||
Reference in New Issue
Block a user