-
Notifications
You must be signed in to change notification settings - Fork 34
/
package.json
116 lines (116 loc) · 3.27 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
{
"name": "eop",
"version": "0.15.2",
"private": true,
"main": "src/client/index.tsx",
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.3.0",
"@fortawesome/free-solid-svg-icons": "^5.15.3",
"@fortawesome/react-fontawesome": "^0.1.18",
"@koa/cors": "^3.4.3",
"basic-auth": "^2.0.1",
"boardgame.io": "^0.46.1",
"bootstrap": "^4.6.0",
"cornucopia-cards-modified": "file:cornucopiaCards",
"esm": "^3.2.25",
"jointjs": "^3.6.2",
"koa": "^2.13.4",
"koa-body": "^4.2.0",
"koa-router": "^10.1.1",
"koa-send": "^5.0.1",
"lodash": "^4.17.21",
"node-persist": "^3.1.0",
"react": "^17.0.2",
"react-countdown-circle-timer": "^2.5.4",
"react-dom": "^17.0.2",
"react-helmet": "^6.1.0",
"react-map-interaction": "^2.1.0",
"react-nl2br": "^1.0.4",
"react-router-dom": "^5.3.1",
"react-scripts": "^4.0.3",
"reactstrap": "^8.10.1",
"reactstrap-confirm": "^1.3.2",
"superagent": "^6.1.0",
"uuid": "^8.3.2"
},
"type": "module",
"scripts": {
"start": "react-scripts start",
"build": "run-p build:client build:server",
"build:client": "react-scripts build",
"build:server": "tsc -p tsconfig.server.json",
"test": "react-scripts test",
"eject": "react-scripts eject",
"server": "node --unhandled-rejections=warn --es-module-specifier-resolution=node build-server/server/server.js",
"preserver": "npm run build:server",
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.cjs .",
"fixlint": "eslint --fix --ext .js,.jsx,.ts,.tsx,.cjs .",
"format": "prettier --write \"./**/*.(js|jsx|ts|tsx|json|yml)\""
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@babel/eslint-parser": "^7.19.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^12.1.4",
"@types/basic-auth": "^1.1.3",
"@types/jest": "^27.5.2",
"@types/koa__cors": "^3.3.0",
"@types/koa-router": "^7.4.4",
"@types/koa-send": "^4.1.3",
"@types/lodash": "^4.14.189",
"@types/node": "^16.11.26",
"@types/react": "^17.0.43",
"@types/react-dom": "^17.0.14",
"@types/react-helmet": "^6.1.5",
"@types/react-router-dom": "^5.3.3",
"@types/seedrandom": "^3.0.2",
"@types/superagent": "^4.1.15",
"@types/uuid": "^8.3.4",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.11",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"seedrandom": "^3.0.5",
"supertest": "^6.3.1",
"ts-toolbelt": "^9.6.0",
"typescript": "^4.8.4"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!<rootDir>/node_modules/",
"!src/serviceWorker.js",
"!src/components/board/board.ignoretest.js",
"!src/jointjs/shapes.js",
"!src/index.tsx"
],
"coverageThreshold": {
"global": {
"branches": 5,
"functions": 5,
"lines": 5,
"statements": 5
}
},
"coverageReporters": [
"text",
"lcov"
]
}
}