generated from garronej/ts-ci
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
executable file
·112 lines (112 loc) · 3.13 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
108
109
110
111
112
{
"name": "shared-routes",
"version": "0.8.29",
"description": "The shared-routes library",
"repository": {
"type": "git",
"url": "[email protected]:JeromeBu/shared-routes.git"
},
"scripts": {
"typecheck": "tsc --noEmit",
"build": "pnpm build:cjs && pnpm build:esm # && pnpm build:deno",
"watch": "tsc -w & tsc -p tsconfig.esm.json -w",
"build:cjs": "tsc",
"build:esm": "rm -rf dist/esm && tsc -p tsconfig.esm.json && js2mjs dist/esm",
"build:deno": "denoify",
"test": "vitest",
"lint:check": "eslint . --ext .ts,.tsx",
"lint": "npm run lint:check -- --fix",
"_format": "prettier '**/*.{ts,tsx,json,md}'",
"format": "npm run _format -- --write",
"format:check": "npm run _format -- --list-different",
"make-lib-linkable": "pnpm build:cjs && pnpm build:esm && ts-node --skipProject scripts/make-dist-linkable.ts",
"prepare": "husky install"
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix"
],
"*.{ts,tsx,json,md}": [
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged -v"
}
},
"author": "u/jeromebu",
"license": "MIT",
"files": [
"src/",
"dist/",
"!dist/tsconfig.tsbuildinfo"
],
"keywords": [],
"homepage": "https://jeromebu.gitbook.io/shared-routes",
"peerDependencies": {
"openapi-types": "^12.0.0",
"zod": "^3.0.0"
},
"devDependencies": {
"@types/body-parser": "^1.19.2",
"@types/express": "^4.17.17",
"@types/node": "^22.7.4",
"@types/supertest": "^2.0.12",
"@typescript-eslint/eslint-plugin": "^8.9.0",
"@typescript-eslint/parser": "^6.12.0",
"@vitest/coverage-c8": "^0.31.0",
"axios": "^1.7.7",
"body-parser": "^1.20.2",
"denoify": "^1.5.1",
"eslint": "^9.12.0",
"eslint-config-prettier": "^8.3.0",
"express": "^4.21.0",
"husky": "^8.0.0",
"js2mjs": "^0.3.0",
"lint-staged": "^11.1.1",
"openapi-types": "^12.1.0",
"prettier": "^2.3.2",
"supertest": "^6.3.3",
"ts-node": "^10.9.1",
"typescript": "^5.6.2",
"vitest": "^2.1.2",
"zod": "^3.22.4",
"zod-to-json-schema": "^3.21.0"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"module": "dist/esm/index.mjs",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/esm/index.mjs",
"types": "./dist/index.d.ts"
},
"./axios": {
"require": "./dist/axios/index.js",
"import": "./dist/esm/axios/index.mjs",
"types": "./dist/axios/index.d.ts"
},
"./fetch": {
"require": "./dist/fetch/index.js",
"import": "./dist/esm/fetch/index.mjs",
"types": "./dist/fetch/index.d.ts"
},
"./express": {
"require": "./dist/express/index.js",
"import": "./dist/esm/express/index.mjs",
"types": "./dist/express/index.d.ts"
},
"./supertest": {
"require": "./dist/supertest/index.js",
"import": "./dist/esm/supertest/index.mjs",
"types": "./dist/supertest/index.d.ts"
},
"./openapi": {
"require": "./dist/openapi/index.js",
"import": "./dist/esm/openapi/index.mjs",
"types": "./dist/openapi/index.d.ts"
}
}
}