-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
107 lines (107 loc) · 3.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
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "ts-backend",
"version": "1.0.0",
"description": "",
"main": "src/server.ts",
"scripts": {
"start": "export $(cat .env | xargs) && node ./build/server.js",
"dev": "export $(cat .env | xargs) && tsc-watch --onSuccess 'node --trace-warnings ./build/server.js'",
"build": "export $(cat .env | xargs) && tsc --project ./",
"test": "export $(cat .env.test | xargs) && jest --selectProjects test",
"prepare": "npx husky install",
"lint": "npx lint-staged",
"migrate:run": "export $(cat .env | xargs) && npm run typeorm migration:run",
"migrate:revert": "npm run typeorm migration:revert",
"seed": "DB_CONNECTION_NAME=default node build/bin/seed.js",
"test:migrate:run": "export $(cat .env.test | xargs) && npm run typeorm migration:run",
"test:migrate:revert": "export $(cat .env.test | xargs) && npm run typeorm test migration:revert",
"test:seed": "export $(cat .env.test | xargs) && node build/bin/seed.js",
"typeorm": "ts-node --project ./tsconfig.json -r tsconfig-paths/register ./node_modules/.bin/typeorm -d ./src/database/ormconfig.ts"
},
"_moduleAliases": {
"@root": "build/",
"@config": "build/config",
"@domains": "build/domains",
"@services": "build/services",
"@entities": "build/entities",
"@utils": "build/utils"
},
"lint-staged": {
"src/**/*.ts": [
"npx prettier --write",
"npx eslint --fix",
"jest --selectProjects lint"
]
},
"engines": {
"node": ">=18",
"npm": ">=8"
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]:vntrs/vntrs-starter-projects/backend/express-ts-new.git"
},
"author": "VNTRS",
"license": "See license in LICENSE.md",
"bugs": {
"url": "https://gitlab.com/vntrs/vntrs-starter-projects/backend/express-ts-new/-/issues"
},
"homepage": "https://gitlab.com/vntrs/vntrs-starter-projects/backend/express-ts-new/-/blob/main/README.md",
"devDependencies": {
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-proposal-decorators": "^7.15.4",
"@babel/preset-env": "^7.15.6",
"@babel/preset-typescript": "^7.15.0",
"@faker-js/faker": "^5.5.3",
"@types/cors": "^2.8.12",
"@types/express": "^4.17.13",
"@types/geojson": "^7946.0.10",
"@types/googlemaps": "^3.43.3",
"@types/jest": "^27.0.2",
"@types/swagger-jsdoc": "^6.0.1",
"@types/swagger-ui-express": "^4.1.3",
"@typescript-eslint/eslint-plugin": "^4.32.0",
"@typescript-eslint/parser": "^4.32.0",
"babel-jest": "^27.2.4",
"babel-plugin-module-resolver": "^4.1.0",
"babel-plugin-transform-typescript-metadata": "^0.3.2",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-import-resolver-typescript": "^2.5.0",
"eslint-plugin-import": "^2.24.2",
"husky": "^7.0.2",
"jest": "^27.2.3",
"jest-runner-eslint": "^0.11.1",
"lint-staged": "^11.1.2",
"prettier": "^2.4.1",
"sqlite3": "^5.1.1",
"supertest": "^6.1.6",
"ts-jest": "^27.0.5",
"ts-node": "^10.2.1",
"tsc-watch": "^4.5.0"
},
"dependencies": {
"@googlemaps/google-maps-services-js": "^3.4.0",
"@types/multer": "^1.4.11",
"@types/node": "^16.10.1",
"axios": "^1.4.0",
"bcrypt": "^5.1.1",
"body-parser": "^1.19.0",
"cors": "^2.8.5",
"express": "^4.17.1",
"geojson": "^0.5.0",
"jsonwebtoken": "^8.5.1",
"module-alias": "^2.2.2",
"multer": "^1.4.5-lts.1",
"pg": "^8.7.1",
"reflect-metadata": "^0.1.13",
"swagger-jsdoc": "^6.1.0",
"swagger-ui-express": "^4.1.6",
"typeorm": "^0.3.6",
"typescript": "^4.8.4",
"validate.js": "^0.13.1",
"winston": "^3.3.3",
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.1/xlsx-0.20.1.tgz"
}
}