-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
95 lines (95 loc) · 2.73 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
{
"name": "revise",
"version": "1.0.0",
"description": "revise backend",
"main": "dist/server",
"typings": "dist/server",
"engines": {
"node": "16.x",
"npm": "8.x"
},
"scripts": {
"prepare": "npx husky install",
"prettier": "prettier --write ./src/**/*.{js,ts,tsx,scss}",
"prettier:check": "prettier --list-different ./src/**/*.{js,ts,tsx,scss}",
"lint": "./node_modules/.bin/eslint . --ext .js,.jsx,.ts,.tsx",
"lint-fix": "./node_modules/.bin/eslint . --ext .js,.jsx,.ts,.tsx --fix",
"lint:css": "stylelint src/**/*.css",
"precommit": "lint-staged",
"copy-env-files": "copyfiles ./.env dist/",
"build": "rm -rf ./dist && ./node_modules/.bin/tsc && npm run-script copy-env-files",
"start": "cross-env NODE_PATH=./dist NODE_ENV=prd node dist/server.js",
"start-ts": "cross-env NODE_PATH=./src NODE_ENV=dev nodemon src/server.ts",
"commitlint": "npx --no-install commitlint --edit"
},
"repository": {
"type": "git",
"url": "git+https://github.com/openuniland/revise.git"
},
"keywords": [
"revise",
"backend"
],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/openuniland/revise/issues"
},
"homepage": "https://github.com/openuniland/revise#readme",
"dependencies": {
"axios": "^1.7.2",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
"compression": "^1.7.4",
"copyfiles": "^2.4.1",
"cors": "^2.8.5",
"cross-env": "^7.0.3",
"dotenv": "^16.4.5",
"dotenv-safe": "^8.2.0",
"express": "^4.18.2",
"google-auth-library": "^8.8.0",
"googleapis": "^111.0.0",
"helmet": "^6.1.5",
"jsonwebtoken": "^8.5.1",
"mongoose": "^6.13.0",
"multer": "^1.4.5-lts.1",
"nocache": "^3.0.4",
"winston": "^3.13.0"
},
"devDependencies": {
"@commitlint/cli": "^17.2.0",
"@commitlint/config-conventional": "^17.2.0",
"@types/compression": "^1.7.2",
"@types/cors": "^2.8.12",
"@types/dotenv-safe": "^8.1.2",
"@types/express": "^4.17.14",
"@types/jsonwebtoken": "^8.5.9",
"@types/multer": "^1.4.7",
"@types/validator": "^13.7.10",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"eslint": "^8.27.0",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.2",
"lint-staged": "^13.0.3",
"nodemon": "^2.0.20",
"prettier": "^2.7.1",
"ts-node": "^10.9.1",
"typescript": "^4.8.4"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"./src/*.{js,jsx,ts,tsx}": [
"npm run lint",
"npm run lint-fix",
"npm run prettier",
"git add ."
]
}
}