-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
123 lines (123 loc) · 3.25 KB
/
package.json
File metadata and controls
123 lines (123 loc) · 3.25 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"name": "saborter",
"version": "2.1.0",
"description": "A simple and efficient library for canceling asynchronous requests using AbortController",
"main": "dist/index.cjs.js",
"module": "dist/index.es.js",
"types": "dist/index.d.ts",
"license": "MIT",
"author": "Laptev Vladislav",
"repository": {
"type": "git",
"url": "git+https://github.com/TENSIILE/saborter.git"
},
"keywords": [
"ts",
"abort",
"simple",
"signal",
"controller",
"javascript",
"typescript",
"abortsignal",
"zero-dependency",
"abortcontroller",
"javascript-library",
"typescript-library"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.es.js",
"require": "./dist/index.cjs.js"
},
"./lib": {
"types": "./dist/lib.d.ts",
"import": "./dist/lib.es.js",
"require": "./dist/lib.cjs.js"
},
"./dev": {
"types": "./dist/dev.d.ts",
"import": "./dist/dev.es.js",
"require": "./dist/dev.cjs.js"
},
"./errors": {
"types": "./dist/errors.d.ts",
"import": "./dist/errors.es.js",
"require": "./dist/errors.cjs.js"
},
"./types": {
"types": "./dist/types.d.ts",
"import": "./dist/index.es.js",
"require": "./dist/index.cjs.js"
},
"./package.json": "./package.json"
},
"typesVersions": {
"*": {
"lib": [
"./dist/lib.d.ts"
],
"dev": [
"./dist/dev.d.ts"
],
"errors": [
"./dist/errors.d.ts"
],
"types": [
"./dist/types.d.ts"
]
}
},
"sideEffects": false,
"files": [
"dist"
],
"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",
"test": "jest --colors --coverage test --passWithNoTests",
"spellcheck": "cspell \"**/*.{js,ts,jsx,tsx,md,json}\"",
"prepare": "husky"
},
"devDependencies": {
"@types/jest": "^30.0.0",
"@types/node": "^25.0.3",
"@typescript-eslint/eslint-plugin": "^8.50.1",
"@typescript-eslint/parser": "^8.50.1",
"cspell": "^9.6.2",
"eslint": "^8.11.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-prettier": "^5.5.4",
"husky": "^9.1.7",
"jest": "^30.2.0",
"jest-environment-jsdom": "^30.2.0",
"lint-staged": "^16.2.7",
"prettier": "^3.7.4",
"rimraf": "^6.1.2",
"ts-jest": "^29.4.6",
"ts-node": "^10.9.2",
"typescript": "^5.9.3",
"vite": "^7.3.0",
"vite-plugin-circular-dependency": "^0.5.0",
"vite-plugin-clean": "^2.0.1",
"vite-plugin-dts": "^4.5.4"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"npm run fix:prettier"
],
"*.{json,md}": [
"npm run fix:prettier"
]
}
}