-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
48 lines (48 loc) · 1.55 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
{
"name": "koa-webpack-example",
"version": "1.0.0",
"description": "HMR with Lastest Koa2, Webpack",
"main": "server.js",
"scripts": {
"lint": "eslint . --ignore-path .eslintignore",
"lint:fix": "eslint --fix . --ignore-path .eslintignore",
"build": "cross-env NODE_ENV=production webpack --config config/index.js",
"start": "cross-env NODE_ENV=development node server.js",
"serve": "cross-env NODE_ENV=production PORT=10080 pm2 start server.js -i 4 --name koa-webpack-example --merge-logs --log-date-format='YYYY-MM-DD HH:mm Z' && pm2 save 2> /dev/null",
"stop": "pm2 stop koa-webpack-example"
},
"author": "stunstunstun",
"repository": {
"type": "git",
"url": "https://github.com/stunstunstun/koa-webpack-example.git"
},
"license": "MIT",
"dependencies": {
"babel-runtime": "^6.26.0",
"koa": "^2.5.1",
"koa-mount": "^3.0.0",
"koa-static": "^4.0.3"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-eslint": "^8.2.3",
"babel-loader": "^7.1.4",
"babel-preset-env": "^1.7.0",
"clean-webpack-plugin": "^0.1.19",
"cross-env": "^5.1.5",
"css-loader": "^0.28.11",
"eslint": "^4.19.1",
"file-loader": "^1.1.11",
"html-webpack-plugin": "^3.2.0",
"node-sass": "^4.9.0",
"sass-loader": "^7.0.1",
"style-loader": "^0.21.0",
"uglifyjs-webpack-plugin": "^1.2.5",
"webpack": "^4.8.3",
"webpack-cli": "^2.1.3",
"webpack-dev-middleware": "^3.1.3",
"webpack-hot-middleware": "^2.22.2",
"webpack-merge": "^4.1.2"
}
}