-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
72 lines (72 loc) · 1.86 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
67
68
69
70
71
72
{
"name": "koa-scaffold",
"version": "0.0.1",
"description": "my praiseworthy project",
"repository": {
"url": "jiawen geng/koa-scoffold",
"type": "git"
},
"main": "build/index.js",
"license": "MIT",
"author": "jiawen geng <technicalcute@gmail.com>",
"scripts": {
"dev": "nodemon --ignore '**/*.test.{js,ts}' --exec ts-node libs/index.ts",
"prepare": "husky install",
"clean": "rimraf build",
"format": "prettier --write \"{examples,libs,script,bin}/**/*.{js,ts}\" \"**/*.yml\"",
"format:check": "prettier --list-different \"{examples,libs,script,bin}/**/*.{js,ts}\" \"**/*.yml\"",
"test": "jest",
"build": "npm run clean && tsc -p ./tsconfig.json",
"postbuild": "cpy '**/*' '!**/*.ts' ../build/ --cwd=libs --parents"
},
"dependencies": {
"@koa/cors": "5.0.0",
"@koa/multer": "^3.0.2",
"@koa/router": "^12.0.0",
"@types/koa": "^2.15.0",
"@types/koa__cors": "5.0.0",
"@types/koa__router": "12.0.4",
"koa": "^2.15.3",
"koa-basic-auth": "^4.0.0",
"koa-body": "6.0.1",
"koa-compress": "^5.1.1",
"koa-mount": "^4.0.0",
"koa-static": "^5.0.0",
"multer": "1.4.5-lts.1"
},
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@types/jest": "29.5.14",
"@types/node": "22.10.1",
"@types/supertest": "2.0.12",
"cpy-cli": "^5.0.0",
"husky": "^9.0.11",
"jest": "29.7.0",
"lint-staged": "^14.0.0",
"nodemon": "3.1.7",
"prettier": "3.3.3",
"rimraf": "5.0.5",
"supertest": "^7.0.0",
"ts-jest": "29.1.0",
"ts-node": "^10.9.1",
"typescript": "5.1.6"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts,tsx,md,css,html,yml}": [
"prettier --write"
]
},
"jest": {
"testEnvironment": "node",
"transform": {
"^.+\\.tsx?$": "ts-jest"
}
}
}