-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
97 lines (97 loc) 路 2.65 KB
/
Copy pathpackage.json
File metadata and controls
97 lines (97 loc) 路 2.65 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
89
90
91
92
93
94
95
96
97
{
"name": "@saborter/server",
"version": "1.0.1",
"description": "Lightweight, tree鈥憇hakeable utility to cancel server tasks on client abort",
"main": "dist/express.cjs.js",
"module": "dist/express.es.js",
"types": "dist/express.d.ts",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/TENSIILE/saborter-server.git"
},
"keywords": [
"nodejs",
"express",
"server",
"abortable",
"abortcontroller",
"abortsignal"
],
"author": "Laptev Vladislav",
"sideEffects": false,
"files": [
"dist"
],
"exports": {
".": {
"types": "./dist/express.d.ts",
"import": "./dist/express.es.js",
"require": "./dist/express.cjs.js"
},
"./express": {
"types": "./dist/express.d.ts",
"import": "./dist/express.es.js",
"require": "./dist/express.cjs.js"
},
"./package.json": "./package.json"
},
"typesVersions": {
"*": {
"express": [
"./dist/express.d.ts"
]
}
},
"scripts": {
"build": "npm run clean:dist && tsc && vite build",
"clean:dist": "rimraf dist",
"typecheck": "tsc --pretty --noEmit --skipLibCheck",
"verify:prettier": "npx prettier . --check",
"verify:eslint": "npx eslint \"./**/*.{js,jsx,ts,tsx}\" --max-warnings=0",
"verify": "npm run typecheck && npm run verify:prettier && npm run verify:eslint && npm run spellcheck",
"format:eslint": "npx eslint \"./**/*.{js,jsx,ts,tsx}\" --fix",
"format:prettier": "npx prettier --write .",
"format": "npm run format:eslint && npm run format:prettier",
"spellcheck": "cspell \"**/*.{js,ts,jsx,tsx,md,json}\"",
"prepare": "husky"
},
"peerDependencies": {
"express": "^4.17.0 || ^5.0.0",
"saborter": "^2.0.1"
},
"devDependencies": {
"@types/cors": "^2.8.19",
"@types/express": "^5.0.6",
"@types/node": "^25.5.0",
"cors": "^2.8.6",
"nodemon": "^3.1.14",
"ts-node": "^10.9.2",
"typescript": "^5.9.3",
"@typescript-eslint/eslint-plugin": "^8.50.1",
"@typescript-eslint/parser": "^8.50.1",
"cspell": "^9.6.2",
"eslint": "^8.11.0",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-prettier": "^5.5.4",
"prettier": "^3.7.4",
"express": "^5.2.1",
"saborter": "^2.1.0",
"rimraf": "^6.1.2",
"vite": "^7.3.0",
"vite-plugin-circular-dependency": "^0.5.0",
"vite-plugin-dts": "^4.5.4"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"npm run format:prettier"
],
"*.{json,md}": [
"npm run format:prettier"
]
}
}