-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
122 lines (122 loc) · 2.82 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"name": "point-of-sale",
"version": "1.0.0",
"description": "A POS (Point of Sale) application for restaurant workers who want to receive orders, take seats, pay bills, customize menus, see a wait list and sales report.",
"main": "server/index.js",
"scripts": {
"dev": "npm-run-all --silent --parallel dev:*",
"dev:client": "webpack-dev-server",
"dev:server": "nodemon server/index.js",
"db:import": "source .env; psql $DATABASE_URL < database/dump.sql",
"db:export": "source .env; pg_dump -c -O $DATABASE_URL > database/dump.sql",
"build": "webpack --mode=production",
"start": "NODE_ENV=production node server/index.js"
},
"nodemonConfig": {
"watch": [
"server/"
],
"ignore": [
"server/public/",
"server/sessions/"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx}": [
"eslint --fix",
"git add"
]
},
"eslintIgnore": [
"server/public/main.js"
],
"eslintConfig": {
"env": {
"browser": true,
"node": true
},
"parser": "babel-eslint",
"extends": [
"plugin:react/recommended",
"eslint:recommended",
"standard"
],
"settings": {
"react": {
"version": "detect"
}
},
"rules": {
"semi": [
"error",
"always"
],
"padded-blocks": 0,
"arrow-parens": [
"error",
"as-needed"
],
"curly": [
"error",
"multi-line"
],
"no-console": [
"error",
{
"allow": [
"warn",
"error"
]
}
],
"space-before-function-paren": [
"error",
{
"anonymous": "always",
"named": "never",
"asyncArrow": "always"
}
],
"react/prop-types": 0
}
},
"dependencies": {
"@material-ui/core": "4.11.0",
"@material-ui/icons": "4.9.1",
"@material-ui/system": "4.9.14",
"dotenv": "8.2.0",
"express": "4.17.1",
"express-session": "1.17.0",
"multer": "1.4.2",
"pg": "7.17.1",
"react": "16.12.0",
"react-dom": "16.12.0",
"react-router-dom": "5.2.0",
"session-file-store": "1.3.1"
},
"devDependencies": {
"@babel/core": "7.8.0",
"@babel/plugin-transform-react-jsx": "7.8.0",
"babel-eslint": "10.0.3",
"babel-loader": "8.0.6",
"eslint": "6.8.0",
"eslint-config-standard": "14.1.0",
"eslint-plugin-import": "2.20.0",
"eslint-plugin-node": "11.0.0",
"eslint-plugin-promise": "4.2.1",
"eslint-plugin-react": "7.17.0",
"eslint-plugin-standard": "4.0.1",
"husky": "4.0.7",
"lint-staged": "9.5.0",
"nodemon": "2.0.2",
"npm-run-all": "4.1.5",
"webpack": "4.41.5",
"webpack-cli": "3.3.10",
"webpack-dev-server": "3.10.1"
}
}