-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
163 lines (163 loc) · 5.34 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
{
"name": "@danielwii/asuna-admin",
"version": "0.15.12",
"repository": "git@github.com:danielwii/asuna-admin.git",
"author": "Daniel Wei <danielwii0326@gmail.com>",
"license": "MIT",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist",
"typings",
"package.json"
],
"scripts": {
"autod": "autod",
"rename": "find dist -depth -name \"*.js\" -exec sh -c 'mv \"$1\" \"${1%.js}.mjs\"' _ \\{\\} \\; && find dist -depth -name \"*.js.map\" -exec sh -c 'mv \"$1\" \"${1%.js.map}.mjs.map\"' _ \\{\\} \\;",
"dev": "NODE_ENV=development next dev",
"clean": "rm -rf ./dist ./.next services pages components adapters __generated__ config.js",
"prebuild-ignore": "yarn clean",
"create-type-schema": "node ./type-loader.js && quicktype schema.json --just-types --no-combine-classes --no-maps --alphabetize-properties -o ./services/type-schema.ts",
"build": "yarn clean && yarn build:types && yarn build:js",
"build:js": "swc src -d dist",
"build-types": "tsc -p tsconfig-types.json",
"build:types": "tsc --emitDeclarationOnly --declarationDir dist",
"postinstall-ignore": "yarn build",
"postbuild": "yarn compile:replace-path",
"postpublish": "yarn clean",
"compile:replace-path": "node ./replace-path.js",
"start": "NODE_ENV=production next start -p 3100",
"pre-commit": "jest",
"test": "ENV=test jest",
"check:circular": "npx madge --circular --extensions ts ./",
"codegen:generate": "apollo codegen:generate --endpoint http://localhost:5100/graphql --target typescript --includes=services/*.ts --tagName gql --addTypename",
"prepack": "yarn build"
},
"dependencies": {
"@ant-design/icons": "^5.0.1",
"@ant-design/pro-layout": "^7.12.1",
"@apollo/client": "^3.7.13",
"@apollo/server": "^4.7.0",
"@danielwii/asuna-helper": "^0.1.9",
"@danielwii/asuna-shared": "^0.0.12",
"@emotion/css": "^11.10.8",
"@emotion/react": "^11.10.8",
"@emotion/styled": "^11.10.8",
"@faker-js/faker": "^7.6.0",
"@graphql-tools/load-files": "^6.6.1",
"@graphql-tools/merge": "^8.4.1",
"@mui/material": "^5.12.3",
"@mui/styles": "^5.12.3",
"@tanstack/react-query": "^4.29.5",
"@tinymce/tinymce-react": "^4.3.0",
"antd": "^5.4.6",
"apollo": "^2.34.0",
"axios": "^1.4.0",
"bluebird": "^3.7.2",
"china-division": "^2.6.1",
"class-transformer": "^0.5.1",
"colors": "^1.4.0",
"consola": "^2.15.3",
"date-fns": "^2.30.0",
"deep-diff": "^1.0.2",
"dynamic-antd-theme": "^0.8.7",
"formik": "^2.2.9",
"graphql": "^16.6.0",
"immutable": "^4.3.0",
"koa": "^2.14.2",
"localforage": "^1.10.0",
"lodash": "^4.17.21",
"moment": "^2.29.4",
"nanoid": "^4.0.2",
"next": "^13.3.4",
"next-transpile-modules": "^10.0.0",
"node-buffs": "^0.8.25",
"node-cache": "^5.1.2",
"node-fetch": "^3.3.1",
"os": "^0.1.2",
"ow": "^1.1.1",
"prettier": "^2.8.8",
"qrcode.react": "^3.1.0",
"qs": "^6.11.1",
"ramda": "^0.28.0",
"raw-loader": "^4.0.2",
"rc-tween-one": "^2.7.3",
"react": "^18.2.0",
"react-animations": "^1.0.0",
"react-apollo": "^3.1.5",
"react-async": "^10.0.1",
"react-color": "^2.19.3",
"react-diff-viewer": "^3.1.1",
"react-dom": "^18.2.0",
"react-highlight": "^0.15.0",
"react-image-crop": "^10.0.9",
"react-is": "^18.2.0",
"react-json-editor-ajrm": "^2.5.14",
"react-json-tree": "^0.18.0",
"react-number-format": "^5.1.4",
"react-pdf": "^6.2.2",
"react-quill": "^2.0.0",
"react-sortable-hoc": "^2.0.0",
"react-spinners": "^0.13.8",
"react-syntax-highlighter": "^15.5.0",
"react-use": "^17.4.0",
"react-viewer": "^3.2.2",
"react-visual-diff": "^0.4.3",
"rxjs": "^7.8.1",
"socket.io-client": "^4.6.1",
"spinkit": "^2.0.1",
"styled-components": "^5.3.10",
"styled-spinkit": "^1.1.0",
"url-join": "^5.0.0",
"video.js": "^7.21.4"
},
"devDependencies": {
"@preact/signals-react": "^1.3.2",
"@swc/cli": "^0.1.62",
"@swc/core": "^1.3.56",
"@types/bluebird": "^3",
"@types/deep-diff": "^1",
"@types/jest": "^29",
"@types/lodash": "^4",
"@types/node": "^18",
"@types/node-fetch": "^2",
"@types/qrcode.react": "^1",
"@types/qs": "^6",
"@types/react-animations": "^1",
"@types/react-color": "^3",
"@types/react-highlight": "^0",
"@types/react-is": "^18",
"@types/react-json-editor-ajrm": "^2",
"@types/react-pdf": "^6",
"@types/react-syntax-highlighter": "^15",
"@types/styled-components": "^5",
"@types/styled-jsx": "^3",
"@types/url-join": "^4",
"@types/video.js": "^7",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"eslint": "^8.39.0",
"eslint-config-alloy": "^5.0.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-react": "^7.32.2",
"glob": "^10.2.2",
"husky": "^8.0.3",
"jest": "^29.5.0",
"jest-next-dynamic": "^1.0.1",
"less": "^4.1.3",
"lint-staged": "^13.2.2",
"pretty-quick": "^3.1.3",
"ts-jest": "^29.1.0",
"ts-loader": "^9.4.2",
"ts-morph": "^18.0.0",
"tsconfig-extends": "^1.0.1",
"typescript": "^5.0.4",
"webpack": "^5.81.0"
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown"
},
"packageManager": "yarn@3.5.0"
}