-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
115 lines (115 loc) · 3.3 KB
/
package.json
File metadata and controls
115 lines (115 loc) · 3.3 KB
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"name": "@bocchi/juejin-core",
"author": "Bocchi-Developers <https://suemor.com>",
"private": false,
"version": "1.0.1",
"repository": {
"directory": "@bocchi/juejin-core",
"url": "https://github.com/Bocchi-Developers/juejin-core"
},
"homepage": "https://github.com/Bocchi-Developers/juejin-core#readme",
"issues": "https://github.com/Bocchi-Developers/juejin-core/issues",
"license": "MIT",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"npm run lint",
"prettier --ignore-path ./.prettierignore --write "
]
},
"config": {
"commitizen": {
"path": "node_modules/cz-git",
"useEmoji": true
}
},
"bump": {
"leading": [
"pnpm build"
],
"publish": false,
"tag": true,
"commit_message": "chore(release): bump @Bocchi-Developers/juejin-core to v${NEW_VERSION}"
},
"scripts": {
"prepare": "husky install",
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "cross-env NODE_ENV=development nest start -w --path tsconfig.json",
"start:prod": "cross-env NODE_ENV=production node dist/src/main",
"dev": "npm run start",
"bundle": "rimraf out && npm run build && cd dist/src && npx ncc build main.js -o ../../out -m -t && cd ../.. && chmod +x out/index.js",
"lint": "eslint \"{src,apps,libs,test,packages}/**/*.ts\" --fix",
"release": "vv"
},
"dependencies": {
"@nestjs/common": "^9.0.0",
"@nestjs/core": "^9.0.0",
"@nestjs/jwt": "^10.0.1",
"@nestjs/mongoose": "^9.2.1",
"@nestjs/passport": "^9.0.0",
"@nestjs/platform-express": "^9.0.0",
"@nestjs/schedule": "^2.1.0",
"@nestjs/swagger": "^6.1.4",
"axios": "^1.2.2",
"axios-retry": "^3.3.1",
"bcrypt": "^5.1.0",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.0",
"consola": "^2.15.3",
"cron": "^2.2.0",
"dayjs": "^1.11.7",
"dotenv": "^16.0.3",
"json5": "^2.2.3",
"lodash": "^4.17.21",
"mongodb": "^4.13.0",
"mongoose": "^6.8.3",
"multer": "1.4.5-lts.1",
"nanoid": "3.3.4",
"node-machine-id": "^1.1.12",
"passport": "^0.6.0",
"passport-jwt": "^4.0.1",
"qiniu": "^7.8.0",
"reflect-metadata": "^0.1.13",
"rxjs": "^7.2.0",
"url": "^0.11.0",
"wildcard-match": "^5.1.2",
"zx-cjs": "7.0.7-0"
},
"devDependencies": {
"@commitlint/cli": "^17.4.2",
"@commitlint/config-conventional": "^17.4.2",
"@innei/bump-version": "^1.5.6",
"@nestjs/cli": "^9.0.0",
"@nestjs/schematics": "^9.0.0",
"@nestjs/testing": "^9.0.0",
"@suemor/eslint-config-ts": "^1.1.0",
"@suemor/prettier": "^1.1.0",
"@types/express": "^4.17.13",
"@types/jest": "29.4.0",
"@types/multer": "^1.4.7",
"@types/node": "18.14.1",
"@types/passport-jwt": "^3.0.8",
"@types/supertest": "^2.0.11",
"@vercel/ncc": "^0.36.0",
"commitlint": "^17.4.2",
"cross-env": "^7.0.3",
"cz-git": "^1.4.1",
"husky": "^8.0.3",
"jest": "29.4.1",
"lint-staged": "^13.1.0",
"prettier": "^2.3.2",
"rimraf": "^4.0.5",
"source-map-support": "^0.5.20",
"supertest": "^6.1.3",
"ts-jest": "29.0.5",
"ts-loader": "^9.2.3",
"ts-node": "^10.0.0",
"tsconfig-paths": "4.1.2",
"typescript": "^4.7.4"
}
}