-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
147 lines (147 loc) · 4.93 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
{
"name": "octoboard",
"version": "0.1.0",
"private": true,
"dependencies": {
"@artsy/fresnel": "^1.9.0",
"@mavend/octoheads": "^0.2.4",
"@sentry/node": "^6.5.1",
"@sentry/react": "^6.5.1",
"@sentry/tracing": "^6.4.1",
"@types/node": "^15.9.0",
"@types/react": "^17.0.9",
"@types/react-dom": "^17.0.11",
"bgio-firebase": "^0.4.0",
"bgio-storage-cache": "^0.3.1",
"boardgame.io": "^0.49.6",
"clsx": "^1.1.1",
"concurrently": "^6.2.0",
"esm": "^3.2.25",
"firebase": "^8.7.1",
"firebase-admin": "^10.0.0",
"i18next": "^20.3.1",
"i18next-browser-languagedetector": "^6.1.2",
"i18next-xhr-backend": "^3.2.2",
"lodash": "^4.17.21",
"moment": "^2.29.4",
"pretty-quick": "^3.1.1",
"prop-types": "^15.7.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-dom-confetti": "^0.2.0",
"react-helmet-async": "^1.0.9",
"react-i18next": "^11.11.0",
"react-query": "^3.16.0",
"react-router-dom": "^5.2.0",
"react-scripts": "^4.0.3",
"react-toastify": "^7.0.4",
"remove-accents": "^0.4.2",
"sass": "^1.44.0",
"semantic-ui-css": "^2.4.1",
"semantic-ui-react": "^2.0.3",
"tsconfig-paths": "^3.10.1",
"typescript": "^4.3.2",
"use-sound": "^2.1.0"
},
"scripts": {
"start": "NODE_ENV=development concurrently -p \"{time} [{name}]\" -t \"HH:mm:ss.SSS\" -n \"client,server,firebase,storybook,test\" -c \"green.bold,blue.bold,yellow.bold,magenta.bold,red.bold\" \"npm:start:client\" \"npm:start:server\" \"npm:start:firebase\" \"npm:start:storybook\" \"npm:test\"",
"build": "react-scripts build",
"test": "react-scripts test",
"coverage": "react-scripts test --coverage --watchAll --testPathIgnorePatterns='.*e2e.*'",
"eject": "react-scripts eject",
"lint": "eslint '**/*.{js,jsx,ts,tsx,json}'",
"check-types": "tsc --noemit",
"prettier": "prettier --write .",
"prettier-check": "pretty-quick --staged",
"prettier-ci": "pretty-quick --check",
"storybook-ci": "start-storybook --ci --smoke-test --quiet",
"test-ci": "react-scripts test --coverage --ci --coverageReporters=lcov --runInBand",
"build-storybook": "build-storybook -s public",
"start:server": "PORT=11080 NODE_ENV=development nodemon",
"start:client": "PORT=11030 react-scripts start",
"start:firebase": "firebase emulators:start --import=./emulators.backup",
"start:storybook": "start-storybook -p 11090 -s public --quiet",
"prepare": "if test \"$NODE_ENV\" != production ; then husky install ; fi",
"gcp-build": "tsc --build tsconfig-server.json",
"build-server": "tsc --build tsconfig-server.json",
"prod-server": "node -r esm -r ts-node/register/transpile-only -r tsconfig-paths/register dist/server.js",
"deploy": "pm2 deploy ecosystem.config.js production"
},
"eslintConfig": {
"extends": "react-app",
"overrides": [
{
"files": [
"**/*.stories.js"
],
"rules": {
"import/no-anonymous-default-export": "off"
}
}
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"jest": {
"coveragePathIgnorePatterns": [
"/node_modules/",
".stories.js",
"GameContextMock.js",
".test.js"
]
},
"devDependencies": {
"@prettier/plugin-xml": "^0.13.1",
"@sentry/types": "^6.4.1",
"@storybook/addon-actions": "^6.2.7",
"@storybook/addon-essentials": "^6.2.7",
"@storybook/addon-knobs": "^6.2.7",
"@storybook/addon-links": "^6.2.7",
"@storybook/addon-storyshots": "^6.2.7",
"@storybook/addon-storysource": "^6.2.7",
"@storybook/addon-viewport": "^6.2.7",
"@storybook/addons": "^6.2.7",
"@storybook/cli": "^6.2.7",
"@storybook/node-logger": "^6.2.7",
"@storybook/preset-create-react-app": "^3.1.7",
"@storybook/react": "^6.2.7",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^11.2.7",
"@testing-library/user-event": "^13.1.9",
"@types/jest": "^26.0.23",
"@typescript-eslint/eslint-plugin": "^4.26.0",
"@typescript-eslint/parser": "^4.29.0",
"eslint": "^7.27.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.23.3",
"eslint-plugin-jest": "^24.3.6",
"eslint-plugin-json": "^3.0.0",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-react": "^7.23.2",
"eslint-plugin-react-hooks": "^4.2.0",
"faker": "^5.5.3",
"firebase-tools": "^9.12.0",
"husky": "^7.0.4",
"nodemon": "^2.0.7",
"pm2": "^5.1.2",
"prettier": "^2.3.2",
"puppeteer": "^10.1.0",
"storybook": "^6.2.7",
"storybook-react-router": "^1.0.8",
"ts-node": "^10.1.0"
}
}