-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
166 lines (166 loc) · 6.01 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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
{
"name": "@codecharacter-2023/web",
"description": "The web frontend of CodeCharacter 2023",
"license": "MIT",
"author": "Delta Force",
"version": "2023.0.0",
"workspaces": [
"packages/*"
],
"scripts": {
"lint": "eslint --ext .ts,.tsx . --ignore-path .gitignore && prettier \"**/*.{ts,tsx,js,json,yml,md}\" --check --ignore-path .gitignore",
"format": "eslint --ext .ts,.tsx . --fix --ignore-path .gitignore && prettier \"**/*.{ts,tsx,js,json,yml,md}\" --write --ignore-path .gitignore",
"compile": "yarn workspace @codecharacter-2023/client run tsc && yarn workspace @codecharacter-2023/renderer run tsc && yarn workspace @codecharacter-2023/map-designer run tsc && tsc",
"test": "jest --coverage",
"dev": "concurrently -k -r \"yarn workspace @codecharacter-2023/client build:watch\" \"yarn workspace @codecharacter-2023/renderer build:watch\" \"yarn workspace @codecharacter-2023/map-designer build:watch\" \"sleep 10 && vite --config vite.dev.config.ts\"",
"build": "yarn workspace @codecharacter-2023/client run build && yarn workspace @codecharacter-2023/renderer run build && yarn workspace @codecharacter-2023/map-designer run build && vite build --config vite.prod.config.ts --emptyOutDir",
"prod": "concurrently -k -r \"sleep 5 && vite build --watch --config vite.prod.config.ts --emptyOutDir\" \"sleep 10 && live-server --host=0.0.0.0 --middleware=spa-ignore-assets dist/\" \"yarn workspace @codecharacter-2023/client build:watch\" \"yarn workspace @codecharacter-2023/renderer build:watch\" \"yarn workspace @codecharacter-2023/map-designer build:watch\"",
"renderer:demo": "yarn workspace @codecharacter-2023/renderer run dev",
"map-designer:demo": "yarn workspace @codecharacter-2023/map-designer run dev",
"storybook": "start-storybook -p 6006",
"storybook:build": "build-storybook",
"postinstall": "husky install"
},
"dependencies": {
"@codecharacter-2023/client": "workspace:packages/client",
"@codecharacter-2023/map-designer": "workspace:packages/map-designer",
"@codecharacter-2023/renderer": "workspace:packages/renderer",
"@custom-elements-manifest/analyzer": "^0.6.6",
"@fortawesome/fontawesome-svg-core": "^6.2.1",
"@fortawesome/free-brands-svg-icons": "^6.2.1",
"@fortawesome/free-regular-svg-icons": "^6.2.1",
"@fortawesome/free-solid-svg-icons": "^6.2.1",
"@fortawesome/react-fontawesome": "^0.2.0",
"@lit-labs/react": "^1.1.1",
"@reactour/tour": "^3.3.0",
"@reduxjs/toolkit": "^1.9.1",
"@stomp/stompjs": "^6.1.2",
"@types/grecaptcha": "^3.0.4",
"@types/react-lazylog": "^4.5.1",
"@types/vscode": "^1.76.0",
"bootstrap": "^5.2.3",
"chart.js": "^4.1.2",
"lit": "^2.5.0",
"monaco-editor": "^0.34.1",
"monaco-editor-workers": "^0.36.0",
"monaco-languageclient": "^4.0.3",
"monaco-themes": "^0.4.3",
"phaser": "^3.55.2",
"phaser3-rex-plugins": "^1.1.78",
"react": "^18.2.0",
"react-ansi": "^3.0.2",
"react-bootstrap": "^2.7.0",
"react-chartjs-2": "^5.1.0",
"react-code-blocks": "^0.0.9-0",
"react-dom": "^18.2.0",
"react-flags-select": "^2.2.3",
"react-google-recaptcha-v3": "^1.10.1",
"react-hot-toast": "^2.4.0",
"react-lazylog": "^4.5.3",
"react-paginate": "^8.1.4",
"react-redux": "^8.0.5",
"react-router-dom": "^6.6.1",
"react-split-pane": "^0.1.92",
"react-vertical-timeline-component": "^3.6.0",
"redux": "^4.2.0",
"redux-persist": "^6.0.0",
"vscode-ws-jsonrpc": "^2.0.2",
"websocket": "^1.0.34"
},
"devDependencies": {
"@babel/core": "^7.20.7",
"@mdx-js/react": "^2.2.1",
"@rollup/plugin-replace": "^5.0.2",
"@storybook/addon-controls": "^6.5.15",
"@storybook/addon-knobs": "^6.4.0",
"@storybook/addon-viewport": "^6.5.15",
"@storybook/react": "^6.5.15",
"@types/jest": "^29.2.4",
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.10",
"@types/react-google-recaptcha": "^2.1.5",
"@types/react-test-renderer": "^18.0.0",
"@types/react-vertical-timeline-component": "^3.3.3",
"@typescript-eslint/eslint-plugin": "^5.47.1",
"@typescript-eslint/parser": "^5.47.1",
"@vitejs/plugin-react": "^3.0.0",
"babel-loader": "^9.1.0",
"concurrently": "^7.6.0",
"eslint": "^8.30.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.11",
"husky": "^8.0.2",
"jest": "^29.3.1",
"lint-staged": "^13.1.0",
"live-server": "^1.2.2",
"postinstall-postinstall": "^2.1.0",
"prettier": "^2.8.1",
"react-test-renderer": "^18.2.0",
"rollup-plugin-workbox": "^6.2.0",
"storybook-builder-vite": "^0.1.23",
"ts-jest": "^29.0.3",
"tslib": "^2.4.1",
"typescript": "^4.9.4",
"vite": "^4.0.3"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"extends": [
"plugin:react/recommended",
"plugin:react/jsx-runtime",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
"plugin:import/recommended",
"plugin:import/typescript"
],
"parserOptions": {
"ecmaVersion": "latest",
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
"error"
],
"import/no-unresolved": "off"
},
"settings": {
"react": {
"version": "detect"
}
}
},
"prettier": {
"singleQuote": true,
"arrowParens": "avoid",
"printWidth": 80,
"tabWidth": 2,
"trailingComma": "all",
"useTabs": false
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node"
},
"lint-staged": {
"*.{ts,.tsx}": [
"eslint --fix"
],
"*.{ts,tsx,js,json,yml,md}": [
"prettier --write"
]
},
"resolutions": {
"react-virtualized": "git+https://[email protected]/remorses/react-virtualized-fixed-import.git#9.22.3"
},
"packageManager": "[email protected]"
}