-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
44 lines (44 loc) · 1.58 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
{
"name": "clinkv2",
"version": "1.0.0",
"description": "Clink version 2.0",
"main": "src/server.js",
"scripts": {
"clean": "echo \"Removing modules and all public,distributions...\"; rm -rf node_modules/ dist/ public/",
"test": "mocha ./tests/**/*.test.js --require @babel/register",
"build": "echo \"Building client...\"; webpack",
"dev": "echo \"Starting client-dev server and watching changes...\"; webpack-dev-server",
"babel-run": "echo \"(dev only)Running server without compile...\"; babel-node src/server.js",
"compile": "npm run test && echo \"Compiling server code...\"; babel src/server.js -d dist && babel src/lib/ -d dist/lib",
"start": "npm run build && npm run compile && echo \"Built successfully, running server...\" && node dist/server.js"
},
"author": "chuanyui",
"license": "ISC",
"dependencies": {
"@material-ui/core": "^4.9.13",
"@material-ui/icons": "^4.9.1",
"body-parser": "^1.19.0",
"express": "^4.17.1",
"prop-types": "^15.7.2",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"socket.io": "^2.3.0"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.6",
"@babel/node": "^7.8.7",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/preset-env": "^7.9.6",
"@babel/preset-react": "^7.9.4",
"babel-loader": "^8.1.0",
"css-loader": "^3.5.3",
"file-loader": "^6.0.0",
"html-webpack-plugin": "^4.3.0",
"mocha": "^7.2.0",
"style-loader": "^1.2.1",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.11.0"
}
}