forked from delta/codecharacter-web-2023
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
166 lines (166 loc) · 5.69 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": {
"@arwes/animation": "^1.0.0-alpha.19",
"@arwes/core": "^1.0.0-alpha.19",
"@arwes/design": "^1.0.0-alpha.19",
"@arwes/sounds": "^1.0.0-alpha.19",
"@codecharacter-2023/client": "workspace:packages/client",
"@codecharacter-2023/map-designer": "workspace:packages/map-designer",
"@codecharacter-2023/renderer": "workspace:packages/renderer",
"@emotion/css": "11",
"@emotion/react": "11",
"@lit-labs/react": "^1.1.1",
"@monaco-editor/react": "^4.4.6",
"@reactour/tour": "^3.3.0",
"@stomp/stompjs": "^7.0.0",
"@types/animejs": "3",
"@types/howler": "2.2",
"animejs": "3",
"howler": "2.2",
"lit": "^2.5.0",
"monaco-editor": "^0.34.1",
"monaco-languageclient": "^4.0.3",
"monaco-themes": "^0.4.3",
"phaser": "^3.55.2",
"phaser3-rex-plugins": "^1.1.78",
"polished": "4",
"prop-types": "^15.8.1",
"react": "17",
"react-dom": "17",
"react-google-recaptcha-v3": "^1.10.1",
"react-icons": "^4.7.1",
"react-lazylog": "^4.5.3",
"react-modal": "3.13",
"react-router-dom": "^6.8.2",
"react-simple-toasts": "^3.2.3",
"react-split-pane": "^0.1.92",
"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.0-alpha.19",
"@storybook/addon-knobs": "^6.4.0",
"@storybook/addon-viewport": "^6.5.0-alpha.19",
"@storybook/react": "^6.5.0-alpha.19",
"@types/jest": "^29.2.4",
"@types/react": "17",
"@types/react-dom": "17",
"@types/react-lazylog": "^4.5.1",
"@types/react-modal": "^3.13.1",
"@types/vscode": "^1.76.0",
"@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",
"rollup-plugin-workbox": "^6.2.0",
"storybook-builder-vite": "^0.1.23",
"ts-jest": "^29.0.3",
"tslib": "^2.4.1",
"typescript": "^4.5.2",
"vite": "^4.0.3"
},
"resolutions": {
"@types/react": "17",
"react-virtualized": "git+https://[email protected]/remorses/react-virtualized-fixed-import.git#9.22.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",
"react/no-unknown-property": [
"error",
{
"ignore": [
"css"
]
}
]
},
"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"
]
},
"packageManager": "[email protected]"
}