generated from ncbecker/cra-with-server-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
57 lines (57 loc) · 1.7 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
57
{
"name": "cra-with-server-template",
"version": "1.0.0",
"description": "Boilerplate for Create-React-App with an Express.js API",
"private": true,
"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}\"",
"server": "nodemon server.js",
"storybook": "cd client && npm run storybook",
"start": "node server.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ncbecker/cra-with-server-template.git"
},
"author": "Nicolas Becker",
"license": "MIT",
"bugs": {
"url": "https://github.com/ncbecker/cra-with-server-template/issues"
},
"homepage": "https://github.com/ncbecker/cra-with-server-template#readme",
"devDependencies": {
"concurrently": "^5.3.0",
"eslint": "^7.14.0",
"eslint-config-prettier": "^6.15.0",
"husky": "^4.3.0",
"lint-staged": "^10.5.2",
"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": {
"cookie-parser": "^1.4.5",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"mongodb": "^3.6.3",
"node-fetch": "^2.6.1"
}
}