-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy pathpackage.json
94 lines (94 loc) · 3.34 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
{
"name": "express-typescript-service-template",
"version": "1.0.0",
"type": "module",
"description": "Skeleton for new typescript services based on express",
"author": "alberthernandezdev@gmail.com",
"license": "MIT",
"bugs": {
"url": "https://github.com/AlbertHernandez/express-typescript-service-template/issues"
},
"homepage": "https://github.com/AlbertHernandez/express-typescript-service-template#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/AlbertHernandez/express-typescript-service-template.git"
},
"keywords": [
"typescript",
"express",
"template"
],
"engines": {
"node": ">=22.x",
"pnpm": ">=9.x"
},
"packageManager": "pnpm@9.14.2",
"main": "dist/main.js",
"scripts": {
"build": "node --run validate-typescript && node --run build:clean && node --run generate-dist",
"start": "node dist/main.js",
"dev": "nodemon",
"test": "rimraf coverage .nyc_output && concurrently 'node --run test:unit' 'node --run test:e2e' && node --run calculate-global-test-coverage",
"test:unit": "vitest run --coverage --config vitest.config.unit.ts",
"test:e2e": "vitest run --coverage --config ./vitest.config.e2e.ts",
"test:performance": "k6 run tests/performance/contexts/users/get-users.mjs",
"calculate-global-test-coverage": "tsx scripts/calculate-global-test-coverage.ts",
"prepare": "[ -f .husky/install.mjs ] && node .husky/install.mjs || true",
"lint": "eslint . --ext .js,.mjs,cjs,.ts,.mts",
"lint:fix": "eslint . --ext .js,.mjs,cjs,.ts,.mts --fix",
"lint:file": "eslint",
"lint:yaml": "chmod +x scripts/lint_yaml.sh && ./scripts/lint_yaml.sh",
"build:clean": "rimraf dist; exit 0",
"validate-typescript": "tsc -p tsconfig.prod.json --noEmit",
"generate-dist": "swc ./src -d dist --strip-leading-paths",
"typos": "chmod +x scripts/check_typos.sh && ./scripts/check_typos.sh"
},
"dependencies": {
"dotenv": "^16.4.5",
"express": "^5.0.1",
"http-status-codes": "^2.3.0"
},
"devDependencies": {
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@commitlint/types": "^19.0.3",
"@swc/cli": "^0.5.0",
"@swc/core": "^1.7.42",
"@types/express": "^5.0.0",
"@types/fs-extra": "^11.0.4",
"@types/node": "^22.8.7",
"@types/supertest": "^6.0.2",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"@vitest/coverage-istanbul": "1.3.1",
"concurrently": "^9.0.1",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-unicorn": "^56.0.0",
"eslint-plugin-vitest": "^0.4.1",
"fs-extra": "^11.2.0",
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"nock": "^13.5.5",
"nodemon": "^3.1.7",
"nyc": "^17.1.0",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"supertest": "^7.0.0",
"tsconfig-paths": "^4.2.0",
"tsx": "^4.19.2",
"typescript": "^5.6.3",
"unplugin-swc": "^1.5.1",
"vite": "^5.4.10",
"vitest": "^1.3.1"
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "^4.24.3",
"@swc/core-linux-arm64-musl": "^1.7.42",
"@swc/core-linux-x64-gnu": "^1.7.42",
"@swc/core-linux-x64-musl": "^1.7.42"
}
}