-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
54 lines (54 loc) · 1.42 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
{
"name": "main",
"version": "1.0.0",
"description": "Koa Typescript Webpack Starter",
"main": "index.js",
"packageManager": "pnpm@7.6.0",
"scripts": {
"dev": "nodemon --watch ./src -e ts,tsx --exec ts-node ./src/index.ts",
"build": "webpack",
"format": "prettier --write \"./src/**/*.ts\"",
"check": "prettier --check \"./src/**/*.ts\"",
"prepare": "husky install"
},
"keywords": ["koa", "typescript", "webpack", "template", "starter"],
"author": {
"name": "_lmmmmmm",
"email": "lmmmmmm12138@gmail.com"
},
"license": "MIT",
"dependencies": {
"koa": "^2.13.4",
"koa-bodyparser": "^4.3.0",
"koa-router": "^12.0.0",
"koa2-cors": "^2.0.6"
},
"devDependencies": {
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@types/koa": "^2.13.5",
"@types/koa-bodyparser": "^4.3.7",
"@types/koa-router": "^7.4.4",
"@types/koa2-cors": "^2.0.2",
"@types/node": "^18.0.6",
"@types/webpack": "^5.28.0",
"clean-webpack-plugin": "^4.0.0",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"nodemon": "^2.0.19",
"prettier": "2.7.1",
"ts-loader": "^9.3.1",
"ts-node": "^10.9.1",
"typescript": "^4.7.4",
"webpack": "^5.73.0",
"webpack-cli": "^4.10.0"
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -e $GIT_PARAMS"
}
}
}