-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
74 lines (74 loc) · 2.01 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
73
74
{
"author": "Yoonge <7884008@qq.com>",
"description": "Exemplary SSR fullstack realworld application (called Conduit) in TypeScript, built with art-template + CORS + JWT + Koa2 + MongoDB + Mongoose, managed by pnpm.",
"keywords": [
"API",
"art-template",
"Conduit",
"CORS",
"ESLint",
"JWT",
"Koa2",
"koa/router",
"md5",
"MongoDB",
"Mongoose",
"pnpm",
"Prettier",
"RealWorld",
"RESTful",
"SSR",
"timeago.js",
"TypeScript"
],
"name": "conduit-ssr",
"private": true,
"type": "module",
"version": "0.2.0",
"scripts": {
"apidoc": "npx apidoc -i src -o docs",
"dev": "NODE_OPTIONS='--import=./register.js' npx nodemon src/bin/www.ts",
"format": "npx prettier --write src",
"lint": "npx eslint src",
"prd": "pm2 start src/bin/www.ts",
"start": "NODE_OPTIONS='--import=./register.js' npx ts-node src/bin/www.ts",
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"@koa/cors": "^5.0.0",
"@koa/router": "^12.0.0",
"art-template": "^4.13.2",
"debug": "^4.3.4",
"jsonwebtoken": "^9.0.0",
"koa": "^2.14.2",
"koa-art-template": "^1.1.1",
"koa-bodyparser": "^4.4.0",
"koa-json": "^2.0.2",
"koa-logger": "^3.2.1",
"koa-onerror": "^4.2.0",
"koa-static": "^5.0.0",
"md5": "^2.3.0",
"mongoose": "^7.0.3",
"timeago.js": "^4.0.2"
},
"devDependencies": {
"@types/debug": "^4.1.7",
"@types/jsonwebtoken": "^9.0.1",
"@types/koa": "^2.13.6",
"@types/koa-bodyparser": "^4.3.10",
"@types/koa-json": "^2.0.20",
"@types/koa-logger": "^3.1.2",
"@types/koa-static": "^4.0.2",
"@types/koa__cors": "^5.0.0",
"@types/koa__router": "^12.0.0",
"@types/md5": "^2.3.2",
"@typescript-eslint/eslint-plugin": "^5.58.0",
"@typescript-eslint/parser": "^5.58.0",
"eslint": "^8.38.0",
"eslint-config-prettier": "^8.8.0",
"nodemon": "^1.19.4",
"prettier": "^2.8.7",
"ts-node": "^10.9.1",
"typescript": "^5.0.4"
}
}