-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
53 lines (53 loc) · 1.83 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
{
"name": "myroom-editor",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"bootstrap": "npm install -g pnpm pm2 ts-node nodemon",
"build:all": "npm run clean && npm run build:client && npm run build:server",
"build:client": "NODE_ENV=prod webpack --config ./package/client/build/webpack.prod.js",
"build:server": "NODE_ENV=prod tsc --p ./package/server",
"clean": "rm -rf output",
"dev:all": "npm run dev:client & npm run dev:server",
"dev:client": "NODE_ENV=dev webpack serve --progress --hot --config ./package/client/build/webpack.dev.js",
"dev:server": "NODE_ENV=dev nodemon --watch './package/server/**/*.ts' --exec 'ts-node' ./package/server/app.ts",
"format": "prettier --write './package/**/*.ts' './package/**/*.js'",
"start": "NODE_ENV=prod pm2 start output/app.js"
},
"author": "shadowings-zy",
"license": "ISC",
"devDependencies": {
"@babel/core": "^7.17.10",
"@babel/preset-env": "^7.17.10",
"@babel/preset-react": "^7.16.7",
"@babel/preset-typescript": "^7.16.7",
"@types/koa": "^2.13.4",
"@types/koa-router": "^7.4.4",
"@types/koa-static": "^4.0.2",
"@types/react": "^18.0.9",
"@types/react-dom": "^18.0.3",
"babel-loader": "^8.2.5",
"css-loader": "^6.7.1",
"html-webpack-plugin": "^5.5.0",
"mini-css-extract-plugin": "^2.6.0",
"postcss": "^8.4.13",
"postcss-loader": "^6.2.1",
"prettier": "^2.6.2",
"typescript": "^4.6.4",
"webpack": "^5.72.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "^4.9.0",
"webpack-merge": "^5.8.0"
},
"dependencies": {
"axios": "^0.27.2",
"koa": "^2.13.4",
"koa-body": "^5.0.0",
"koa-router": "^10.1.1",
"koa-static": "^5.0.0",
"react": "^18.1.0",
"react-dnd": "^16.0.1",
"react-dnd-html5-backend": "^16.0.1",
"react-dom": "^18.1.0"
}
}