chore: simplify dev commands
This commit is contained in:
parent
5f5716963d
commit
3358cf6939
|
@ -78,7 +78,7 @@
|
|||
"jest": "^26.6.3",
|
||||
"jest-serializer-vue": "^2.0.2",
|
||||
"node-sass": "^5.0.0",
|
||||
"nodemon": "^1.19.3",
|
||||
"nodemon": "^1.19.4",
|
||||
"postcss-css-variables": "^0.11.0",
|
||||
"postcss-nested": "^3.0.0",
|
||||
"puppeteer": "^5.5.0",
|
||||
|
|
12
package.json
12
package.json
|
@ -10,12 +10,10 @@
|
|||
},
|
||||
"scripts": {
|
||||
"setup": "node src/setup.js && npm run migrate && npm run seed && npm run build",
|
||||
"build": "nuxt build",
|
||||
"start": "npm run migrate && cross-env NODE_ENV=production node src/api/structures/Server",
|
||||
"dev": "nuxt",
|
||||
"start": "nuxt build && npm run migrate && cross-env NODE_ENV=production node src/api/structures/Server",
|
||||
"dev": "nodemon src/api/structures/Server",
|
||||
"migrate": "knex migrate:latest",
|
||||
"seed": "knex seed:run",
|
||||
"api": "node src/api/structures/Server",
|
||||
"update": "git pull && npm install && npm run migrate && npm run build && npm run restart",
|
||||
"restart": "pm2 restart chibisafe",
|
||||
"overwrite-config": "cross-env OVERWRITE_SETTINGS=true",
|
||||
|
@ -105,7 +103,7 @@
|
|||
"jest": "^26.6.3",
|
||||
"jest-serializer-vue": "^2.0.2",
|
||||
"node-sass": "^5.0.0",
|
||||
"nodemon": "^1.19.3",
|
||||
"nodemon": "^1.19.4",
|
||||
"postcss-css-variables": "^0.11.0",
|
||||
"postcss-nested": "^3.0.0",
|
||||
"puppeteer": "^5.5.0",
|
||||
|
@ -133,6 +131,10 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"nodemonConfig": {
|
||||
"watch": ["src/api/*"],
|
||||
"delay": 2500
|
||||
},
|
||||
"keywords": [
|
||||
"chibisafe",
|
||||
"lolisafe",
|
||||
|
|
Loading…
Reference in New Issue