forked from nc-minh/be-tiktok
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
108 lines (108 loc) · 3.28 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
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
{
"name": "be-tiktok",
"description": "",
"version": "1.0.0",
"main": "dist/server",
"typings": "dist/server",
"engines": {
"node": "16.x",
"npm": "8.x"
},
"scripts": {
"start-ts:dev": "cross-env NODE_ENV=development nodemon --exec ts-node -r tsconfig-paths/register ./src/server.ts",
"start-ts:production": "cross-env NODE_ENV=production nodemon --exec ts-node -r tsconfig-paths/register ./src/server.ts",
"clean": "rimraf dist",
"build": "tsc && npx tsc-alias",
"watch:build": "tsc --watch",
"watch:server": "cross-env NODE_PATH=./dist nodemon './dist/server.js' --watch './dist'",
"start": "cross-env NODE_PATH=./dist node './dist/server.js' --watch './dist'",
"tslint:check": "tslint -c tslint.json './src/**/*.{js,ts,tsx}'",
"prettier": "prettier --write ./src/**/*.{js,ts,tsx,scss}",
"prettier:check": "prettier --list-different ./src/**/*.{js,ts,tsx,scss}",
"eslint": "eslint --ext js,ts,tsx",
"lint:fix": "yarn run eslint --fix src",
"lint:css": "stylelint src/**/*.css",
"noEmit": "tsc --noEmit",
"precommit": "lint-staged",
"prepare": "npx husky install"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nc-minh/be-tiktok.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/nc-minh/be-tiktok/issues"
},
"pre-commit": [
"lint:fix"
],
"homepage": "https://github.com/nc-minh/be-tiktok#readme",
"dependencies": {
"@elastic/elasticsearch": "^8.2.1",
"@faker-js/faker": "^7.3.0",
"@types/bcrypt": "^5.0.0",
"@types/body-parser": "^1.19.2",
"@types/cors": "^2.8.12",
"@types/dotenv": "^8.2.0",
"@types/dotenv-safe": "^8.1.2",
"@types/express": "^4.17.13",
"@types/express-fileupload": "^1.2.2",
"@types/joi": "^17.2.3",
"@types/jsonwebtoken": "^8.5.8",
"@types/morgan": "^1.9.3",
"@types/node": "^18.0.0",
"@types/randomstring": "^1.1.8",
"bcrypt": "^5.0.1",
"body-parser": "^1.20.0",
"cloudinary": "^1.30.0",
"cors": "^2.8.5",
"cross-env": "^7.0.3",
"dotenv": "^16.0.1",
"dotenv-safe": "^8.2.0",
"express": "^4.18.1",
"express-fileupload": "^1.4.0",
"helmet": "^5.1.0",
"ioredis": "^5.2.2",
"joi": "^17.6.0",
"jsonwebtoken": "^8.5.1",
"mongoose": "^6.4.0",
"morgan": "^1.10.0",
"nocache": "^3.0.4",
"randomstring": "^1.2.2",
"redis": "^4.2.0",
"request-ip": "^3.3.0",
"ts-node": "^10.8.1",
"tsconfig-paths": "^4.0.0",
"typescript": "^4.7.3",
"winston": "^3.8.1",
"winston-daily-rotate-file": "^4.7.1"
},
"devDependencies": {
"@commitlint/cli": "^17.0.2",
"@commitlint/config-conventional": "^17.0.2",
"@types/ioredis": "^4.28.10",
"@types/request-ip": "^0.0.37",
"@typescript-eslint/eslint-plugin": "^5.30.6",
"@typescript-eslint/parser": "^5.28.0",
"eslint": "^8.17.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.1",
"lint-staged": "^13.0.2",
"nodemon": "^2.0.16",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.0",
"rimraf": "^3.0.2",
"tsc-watch": "^5.0.3",
"tslint": "^6.1.3"
},
"lint-staged": {
"src/**/*{js,ts,tsx,scss}": [
"npm run check",
"git add ."
]
},
"postinstall": "husky install"
}