Skip to content
This repository was archived by the owner on Jun 27, 2019. It is now read-only.

Commit 620d175

Browse files
committed
Simplify package.json, remove dev:local script
The script was assuming a POSIX shell and a command `ifconfig` available on the system. I don't have either. I guess we can just remove it. You can access the server from the local network if you override `host` in your `config/local.json`. This is much better in my opinion.
1 parent 62f7fe8 commit 620d175

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

package.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,10 @@
4141
"test:coverage": "nyc --reporter=lcovonly --reporter=text-summary yarn run test",
4242
"eslint": "eslint server/. test/. features/. --config .eslintrc.json",
4343
"start": "node server/",
44-
"dev:debug": "yarn run clear && concurrently '$npm_package_config_mongoDev &>/dev/null' 'wait-on tcp:27017 && cross-env DEBUG=feathers && cross-env NODE_ENV=development nodemon --inspect server/'",
45-
"dev": "yarn run clear && concurrently '$npm_package_config_mongoDev &>/dev/null' 'wait-on tcp:27017 && cross-env DEBUG=feathers && cross-env NODE_ENV=development nodemon server/'",
46-
"dev:local": "sh scripts/run-local.sh",
44+
"dev": "cross-env DEBUG=feathers && nodemon server/",
45+
"dev:debug": "cross-env DEBUG=feathers nodemon --inspect server/",
4746
"mocha": "cross-env NODE_ENV=test node_modules/mocha/bin/_mocha test/ --recursive --timeout 10000 --exit",
48-
"cucumber": "yarn run clear && concurrently --kill-others --success first 'cross-env NODE_ENV=test node server/' 'wait-on tcp:3031 && cross-env NODE_ENV=test cucumber-js'"
49-
},
50-
"config": {
51-
"concurrently": "concurrently --kill-others --success first"
47+
"cucumber": "concurrently --kill-others --success first 'cross-env NODE_ENV=test node server/' 'wait-on tcp:3031 && cross-env NODE_ENV=test cucumber-js'"
5248
},
5349
"dependencies": {
5450
"@feathersjs/authentication": "^2.1.7",

scripts/run-local.sh

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)