-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
66 lines (66 loc) · 2.03 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
{
"name": "koa-webpack-typescript",
"version": "6.3.0",
"description": "基于Webpack/TypeScript/Koa的环境配置",
"main": "./bin/app.server.js",
"scripts": {
"start": "nodemon",
"dev": "rm -rf dist && cross-env NODE_ENV=development ts-node bin/dev.server.ts",
"build-server": "tsc",
"build-front": "cross-env NODE_ENV=production webpack --env=production --mode=production --config scripts/webpack.config.js",
"build": "rm -rf dist && npm run build-server && npm run build-front"
},
"repository": {
"type": "git",
"url": "git+https://github.com/S-mohan/koa-webpack-typescript.git"
},
"keywords": [
"koa webpack typescript"
],
"author": "smohan <https://smohan.net>",
"license": "ISC",
"bugs": {
"url": "https://github.com/S-mohan/koa-webpack-typescript/issues"
},
"homepage": "https://github.com/S-mohan/koa-webpack-typescript#readme",
"dependencies": {
"koa": "^2.7.0",
"koa-bodyparser": "^4.2.1",
"koa-ejs": "^4.2.0",
"koa-router": "^7.4.0",
"koa-static": "^5.0.0"
},
"devDependencies": {
"@babel/core": "^7.4.5",
"@babel/preset-env": "^7.4.5",
"@types/koa": "^2.0.48",
"@types/koa-bodyparser": "^4.3.0",
"@types/koa-router": "^7.0.41",
"@types/node": "^12.0.10",
"@types/webpack-dev-middleware": "^2.0.3",
"autoprefixer": "^9.6.0",
"babel-loader": "^8.0.6",
"cross-env": "^5.2.0",
"css-loader": "^3.0.0",
"cssnano": "^4.1.10",
"file-loader": "^4.0.0",
"glob": "^7.1.4",
"html-loader": "^0.5.5",
"html-webpack-harddisk-plugin": "^1.0.1",
"html-webpack-plugin": "^3.2.0",
"mini-css-extract-plugin": "^0.7.0",
"node-sass": "^4.12.0",
"nodemon": "^1.19.1",
"optimize-css-assets-webpack-plugin": "^5.0.1",
"postcss-loader": "^3.0.0",
"sass-loader": "^7.1.0",
"style-loader": "^0.23.1",
"ts-loader": "^6.0.4",
"ts-node": "^8.3.0",
"typescript": "^3.5.2",
"url-loader": "^2.0.0",
"webpack": "^4.35.0",
"webpack-cli": "^3.3.5",
"webpack-dev-middleware": "^3.7.0"
}
}