-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
62 lines (62 loc) · 2.08 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
{
"name": "backend",
"version": "1.0.0",
"main": "dist/infra/http/server.js",
"author": "Diener Dornelas <[email protected]>",
"license": "MIT",
"scripts": {
"prebuild": "rimraf dist",
"build": "yarn tsup",
"dev": "tsnd --respawn --transpile-only --ignore-watch node_modules -r tsconfig-paths/register src/infra/http/server.ts",
"start": "node dist/infra/http/server.js",
"typeorm": "typeorm-ts-node-commonjs",
"typeorm:up": "typeorm-ts-node-commonjs migration:run -d ./src/infra/database/data-source.ts",
"typeorm:down": "typeorm-ts-node-commonjs migration:revert -d ./src/infra/database/data-source.ts",
"test": "jest --silent --noStackTrace --passWithNoTests",
"test:unit": "yarn test --watch -c jest-unit.config.ts",
"test:integration": "yarn test --watch -c jest-integration.config.ts",
"test:staged": "yarn test --findRelatedTests",
"test:ci": "yarn test --coverage"
},
"dependencies": {
"cors": "^2.8.5",
"dotenv": "^16.0.2",
"express": "^4.18.1",
"ioredis": "^5.2.4",
"jsonwebtoken": "^8.5.1",
"pg": "^8.4.0",
"reflect-metadata": "^0.1.13",
"swagger-ui-express": "^4.5.0",
"typeorm": "0.3.10"
},
"devDependencies": {
"@swc/core": "^1.3.11",
"@swc/jest": "^0.2.23",
"@types/cors": "^2.8.12",
"@types/express": "^4.17.14",
"@types/jest": "^29.2.0",
"@types/jsonwebtoken": "^8.5.9",
"@types/node": "^16.11.10",
"@types/supertest": "^2.0.12",
"@types/swagger-ui-express": "^4.1.3",
"@typescript-eslint/eslint-plugin": "latest",
"@typescript-eslint/parser": "latest",
"better-sqlite3": "^8.0.1",
"eslint": "^8.0.1",
"eslint-config-standard": "latest",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-n": "^15.0.0",
"eslint-plugin-promise": "^6.0.0",
"ioredis-mock": "^8.2.2",
"jest": "^29.2.2",
"rimraf": "^3.0.2",
"supertest": "^6.3.3",
"ts-node": "10.7.0",
"ts-node-dev": "^2.0.0",
"tsc-alias": "^1.8.2",
"tsconfig-paths": "^4.1.0",
"tscpaths": "^0.0.9",
"tsup": "^6.7.0",
"typescript": "4.5.2"
}
}