-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
88 lines (88 loc) · 2.4 KB
/
package.json
File metadata and controls
88 lines (88 loc) · 2.4 KB
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
{
"name": "konoland-api",
"version": "1.0.0",
"description": "🏖️ Konoha Land API - Free Indonesian Administrative Regions API",
"author": "",
"license": "ISC",
"repository": {
"type": "git",
"url": "https://github.com/leonurium/konoland-api.git"
},
"keywords": [
"indonesia",
"api",
"administrative-regions",
"province",
"regency",
"district",
"village",
"nestjs",
"typescript",
"supabase",
"vercel",
"free-api"
],
"scripts": {
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "nest start",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"typeorm": "typeorm-ts-node-commonjs",
"migration:generate": "npm run typeorm -- migration:generate -d src/config/database.config.ts",
"migration:run": "npm run typeorm -- migration:run -d src/config/database.config.ts",
"migration:revert": "npm run typeorm -- migration:revert -d src/config/database.config.ts",
"generate:static": "node scripts/generate-static-api.js"
},
"dependencies": {
"@nestjs/cli": "^10.2.1",
"@nestjs/common": "^10.3.0",
"@nestjs/config": "^3.1.1",
"@nestjs/core": "^10.3.0",
"@nestjs/platform-express": "^10.3.0",
"@nestjs/serve-static": "^4.0.2",
"@nestjs/typeorm": "^10.0.1",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.0",
"pg": "^8.11.3",
"reflect-metadata": "^0.1.13",
"rxjs": "^7.8.1",
"typeorm": "^0.3.17",
"typescript": "^5.3.3"
},
"devDependencies": {
"@nestjs/schematics": "^10.0.3",
"@nestjs/testing": "^10.4.22",
"@types/express": "^4.17.21",
"@types/jest": "^30.0.0",
"@types/node": "^20.10.5",
"@types/supertest": "^7.2.0",
"jest": "^30.3.0",
"supertest": "^7.2.2",
"ts-jest": "^29.4.6",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
}
}