Commit a092e255 authored by patrickmchale's avatar patrickmchale Committed by Patrick Mchale
Browse files

feat: update yarn test & yarn start

parent 158247b6
Pipeline #19644 passed with stages
in 39 seconds
......@@ -17,7 +17,7 @@
"lint:markdown": "markdownlint **/*.md --ignore node_modules --ignore CHANGELOG.md",
"lint:yaml": "yamllint **/*.yaml **/*.yml --ignore=node_modules/**/*.yaml --ignore=node_modules/**/*.yml",
"release": "standard-version --message \"chore(release): %s [ci-release]\"",
"test": "jest",
"test": "export BBK_RUNTIME_ENVIRONMENT=development NODE_ENV=test NODE_PATH=./src; jest --colors",
"todo": "leasot '**/*.js' --ignore 'node_modules/**/*','build/**/*','.git/**/*','flow-typed/**/*' || true",
"----- AUTOGENERATED COMMON SECTION END -----": "----- THIS SECTION IS MAINTAINED BY BBK-DEVTOOLS -----"
},
......
{
"scripts": {
"----- AUTOGENERATED REST API SECTION START -----": "----- THIS SECTION IS MAINTAINED BY BBK-DEVTOOLS -----",
"start": "BBK_RUNTIME_ENVIRONMENT=development nodemon ./src/index.js | bunyan -o short",
"start": "BBK_RUNTIME_ENVIRONMENT=development NODE_PATH='./src' nodemon ./src/index.js | bunyan -o short",
"start:prod": "NODE_PATH='./build' node build/index.js",
"start:debug": "yarn build && node inspect ./build/index.js",
"build": "yarn build:clean && COMMIT_SHA=${COMMIT_SHA:-$(git rev-parse --short HEAD)} flow-remove-types --pretty src/ --out-dir build/",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment