-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
79 lines (79 loc) · 2.66 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
{
"name": "grid-game",
"version": "1.0.0",
"private": true,
"scripts": {
"eslint": "eslint \"src/**/*.js\"",
"start": "concurrently \"npm run dev:server\" \"npm run dev:bundler\"",
"dev:server": "cross-env NODE_PATH=./src nodemon --exec \"babel-node src/server/server.js\" --ignore .reactful.json --ignore public/",
"dev:bundler": "webpack -w --mode=development",
"build:react": "cross-env NODE_ENV=production webpack --progress --mode=production",
"build:node": "babel src -d build --config-file ./babel-node.config.js --copy-files",
"build:all": "npm install && npm run build:react && npm run build:node",
"prod:start": "cross-env NODE_ENV=production NODE_PATH=./build pm2 start -i max build/server/server.js --update-env --name grid-gameProd",
"prod:stop": "pm2 stop grid-gameProd",
"prod:reload": "pm2 reload --update-env grid-gameProd",
"prod:logs": "pm2 logs --update-env grid-gameProd",
"test": "jest",
"verify-tests": "jest --coverage"
},
"jest": {
"modulePaths": [
"./src"
],
"testPathIgnorePatterns": [
"/node_modules/"
],
"setupFilesAfterEnv": [
"<rootDir>src/setupTests.js"
]
},
"dependencies": {
"@babel/cli": "^7.18.10",
"@babel/core": "^7.19.0",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-transform-runtime": "^7.18.10",
"@babel/preset-env": "^7.19.0",
"@babel/preset-react": "^7.18.6",
"@babel/runtime": "^7.19.0",
"babel-loader": "^8.2.5",
"body-parser": "^1.20.0",
"cross-env": "^7.0.3",
"css-loader": "^6.7.1",
"ejs": "^3.1.8",
"express": "^4.18.1",
"mini-css-extract-plugin": "^2.6.1",
"morgan": "^1.10.0",
"pm2": "^5.2.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-grid-layout": "^1.3.4",
"regenerator-runtime": "^0.13.9",
"serialize-javascript": "^6.0.0",
"style-loader": "^3.3.1",
"webpack": "^5.74.0",
"webpack-chunk-hash": "^0.6.0",
"webpack-cli": "^4.10.0"
},
"devDependencies": {
"@babel/eslint-parser": "^7.18.9",
"@babel/node": "^7.18.10",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^14.4.3",
"babel-jest": "^29.0.2",
"concurrently": "^7.4.0",
"eslint": "^8.23.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.7",
"eslint-plugin-react-hooks": "^4.6.0",
"jest": "^29.0.2",
"nodemon": "^2.0.19",
"prettier": "^2.2.1",
"reactful": "^3.2.4"
}
}