-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
54 lines (54 loc) · 2.07 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
{
"name": "trio-challenge-api",
"version": "1.0.0",
"description": "Bike renting challenge API",
"main": "./dist/src/main/server.js",
"scripts": {
"build": "rimraf dist && ttsc -p tsconfig-build.json && cp -r src/external/repository/prisma/schema.prisma dist",
"start": "prisma generate --schema=dist/schema.prisma && node dist/main/server.js",
"db:migrate:dev": "prisma migrate dev --schema=src/external/repository/prisma/schema.prisma",
"start-dev": "prisma generate --schema=src/external/repository/prisma/schema.prisma && nodemon --watch 'src/' --exec 'ts-node src/main/server.ts' -e ts",
"test-code-style": "prettier --list-different \"**/*.ts\"",
"fix-code-style": "prettier --write \"**/*.ts\"",
"test": "jest --passWithNoTests --runInBand",
"test:unit": "jest --passWithNoTests --watch -c jest-unit.config.js",
"test:integration": "jest --passWithNoTests --watch --runInBand -c jest-integration.config.js",
"test:staged": "jest --passWithNoTests --runInBand --findRelatedTests",
"test:ci": "jest --passWithNoTests --runInBand --coverage"
},
"repository": {
"type": "git",
"url": "git+https://github.com/usetrio/trio-challenge-api.git"
},
"author": "Otávio Lemos",
"license": "ISC",
"homepage": "https://github.com/usetrio/trio-challenge-api#readme",
"devDependencies": {
"@types/express": "^4.17.13",
"@types/jest": "^29.0.0",
"@types/supertest": "^2.0.12",
"eslint": "^8.23.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.0.1",
"jest": "^28.0.2",
"nodemon": "^2.0.20",
"prettier": "^2.8.4",
"prisma": "^4.3.1",
"rimraf": "^3.0.2",
"supertest": "^6.2.4",
"ts-jest": "^28.0.8",
"ts-node": "^10.9.1",
"tsconfig-paths": "^3.14.2",
"ttypescript": "^1.5.15",
"typescript": "^4.8.2",
"typescript-transform-paths": "^3.4.6"
},
"dependencies": {
"@faker-js/faker": "^7.5.0",
"@prisma/client": "^4.3.1",
"dotenv": "^16.0.2",
"express": "^4.18.1"
}
}