-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
64 lines (64 loc) · 1.95 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
58
59
60
61
62
63
64
{
"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}\"",
"server": "nodemon server.js",
"storybook": "cd client && npm run storybook",
"start": "node server.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/lmachens/cra-with-api.git"
},
"keywords": [],
"author": "Leon Machens",
"license": "MIT",
"bugs": {
"url": "https://github.com/lmachens/cra-with-api/issues"
},
"homepage": "https://github.com/lmachens/cra-with-api#readme",
"dependencies": {
"express": "^4.17.1"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.8.2",
"@typescript-eslint/parser": "^4.8.2",
"babel-eslint": "^10.1.0",
"concurrently": "^5.3.0",
"eslint": "^7.14.0",
"eslint-config-prettier": "^6.15.0",
"eslint-config-react-app": "^6.0.0",
"eslint-plugin-flowtype": "^5.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^4.3.0",
"lint-staged": "^10.5.2",
"nodemon": "^2.0.6",
"prettier": "2.2.0",
"typescript": "^4.1.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm test"
}
},
"lint-staged": {
"*.js": "eslint --cache --fix",
"*.{js,css,md}": "prettier --write"
}
}