generated from WildCodeSchool/create-js-monorepo
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
35 lines (35 loc) · 1.51 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
"name": "template-fullstack",
"version": "4.2.0",
"description": "project template for the React-Express-MySQL cursus in Wild Code School",
"homepage": "https://github.com/wildcodeschool/js-template-fullstack#readme",
"bugs": {
"url": "https://github.com/wildcodeschool/js-template-fullstack/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/wildcodeschool/js-template-fullstack.git"
},
"scripts": {
"postinstall": "cross-env-shell \"husky install && cd ./frontend && npm install && cd ../backend && npm install\"",
"db:migrate": "cd ./backend && node migrate.js",
"db:seed": "cd ./backend && node seed.js",
"dev": "cross-env-shell 'concurrently -c green,yellow -t \"HH:mm:ss\" -p \"{name} {time}\" \"npm:dev-*\"'",
"dev-front": "cross-env-shell \"cd ./frontend && npm run dev\"",
"dev-back": "cross-env-shell \"cd ./backend && npm run dev\"",
"lint": "lint-staged",
"prebuild": "npm install",
"build": "cross-env-shell \"cd ./frontend && npm run build && cd ../backend && npm run build\"",
"start": "cross-env-shell \"cd ./backend && npm run start\"",
"clean": "cross-env-shell \"rm -rf ./node_modules ./package-lock.json ./backend/node_modules ./backend/package-lock.json ./frontend/node_modules ./frontend/package-lock.json\""
},
"keywords": [],
"author": "Wild Code School",
"license": "MIT",
"devDependencies": {
"concurrently": "^8.2.0",
"cross-env": "^7.0.3",
"husky": "^8.0.3",
"lint-staged": "^13.2.3"
}
}