-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
56 lines (56 loc) · 1.62 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"name": "cra_with_api",
"private": true,
"version": "1.0.0",
"description": "Boilerplate for Create-React-App with an Express.js API",
"main": "server.js",
"scripts": {
"postinstall": "cd client && npm install",
"build": "cd client && npm run build && npm run build-storybook",
"test:watch": "cd client && npm run test:watch",
"test": "npm run lint && npm run prettier && cd client && npm test",
"lint": "eslint . --ext .js",
"prettify": "prettier --write .",
"dev": "concurrently \"npm run server\" \"npm run client\"",
"client": "cd client && npm start",
"prettier": "prettier --check \"**/*.{js,jsx,ts,tsx,md,mdx,html,css,json}\"",
"start": "node server.js",
"server": "nodemon server.js",
"storybook": "cd client && npm run storybook"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Phil9219/CRA_WITH_API.git"
},
"author": "Philipp",
"license": "ISC",
"bugs": {
"url": "https://github.com/Phil9219/CRA_WITH_API/issues"
},
"homepage": "https://github.com/Phil9219/CRA_WITH_API#readme",
"devDependencies": {
"concurrently": "^5.3.0",
"eslint": "^7.14.0",
"eslint-config-prettier": "^6.15.0",
"husky": "^4.3.0",
"lint-staged": "^10.5.1",
"nodemon": "^2.0.6",
"prettier": "2.2.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm test"
}
},
"lint-staged": {
"*.js": "eslint --cache --fix",
"*.{js,css,md}": "prettier --write"
},
"dependencies": {
"dotenv": "^8.2.0",
"express": "^4.17.1",
"json-server": "^0.16.3",
"mongodb": "^3.6.3"
}
}