chore(cp-gql-mock-server): enable nodemon for dev

This commit is contained in:
Sérgio Ramos 2017-05-25 15:57:57 +01:00
parent 7bf95fd551
commit 91381bfe80
3 changed files with 1010 additions and 19 deletions

View File

@ -25,7 +25,7 @@
"precommit": "run-s lint lint-staged test", "precommit": "run-s lint lint-staged test",
"dev:ui-toolkit": "lerna run watch --scope joyent-ui-toolkit", "dev:ui-toolkit": "lerna run watch --scope joyent-ui-toolkit",
"dev:cp-frontend": "lerna run start --scope joyent-cp-frontend", "dev:cp-frontend": "lerna run start --scope joyent-cp-frontend",
"dev:gql-mock-server": "lerna run start --scope joyent-cp-gql-mock-server", "dev:gql-mock-server": "lerna run dev --scope joyent-cp-gql-mock-server",
"dev": "run-p dev:*" "dev": "run-p dev:*"
}, },
"devDependencies": { "devDependencies": {

View File

@ -8,7 +8,8 @@
"scripts": { "scripts": {
"lint": "eslint . --fix --format=tap", "lint": "eslint . --fix --format=tap",
"test": "exit 0", "test": "exit 0",
"start": "node src/index.js" "start": "node src/index.js",
"dev": "nodemon src/index.js"
}, },
"dependencies": { "dependencies": {
"good": "^7.2.0", "good": "^7.2.0",
@ -23,6 +24,7 @@
}, },
"devDependencies": { "devDependencies": {
"eslint": "^3.19.0", "eslint": "^3.19.0",
"eslint-config-joyent-portal": "1.0.0" "eslint-config-joyent-portal": "1.0.0",
"nodemon": "^1.11.0"
} }
} }

File diff suppressed because it is too large Load Diff