-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
93 lines (93 loc) · 2.52 KB
/
package.json
File metadata and controls
93 lines (93 loc) · 2.52 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
{
"name": "@saborter/react",
"version": "2.0.0",
"description": "A library for canceling asynchronous requests with React integration",
"type": "module",
"publishConfig": {
"access": "public"
},
"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-react.git"
},
"keywords": [
"react",
"ts",
"abort",
"simple",
"signal",
"controller",
"javascript",
"typescript",
"abortsignal",
"abortcontroller",
"javascript-library",
"typescript-library"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.es.js",
"require": "./dist/index.cjs.js"
}
},
"files": [
"dist"
],
"scripts": {
"prepublishOnly": "npm run build",
"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",
"format:eslint": "npx eslint \"./**/*.{js,jsx,ts,tsx}\" --fix",
"format:prettier": "npx prettier --write .",
"format": "npm run format:eslint && npm run format:prettier",
"prepare": "husky"
},
"devDependencies": {
"@types/node": "^25.0.3",
"@types/react": "^17.0.2",
"@typescript-eslint/eslint-plugin": "^8.50.1",
"@typescript-eslint/parser": "^8.50.1",
"@vitejs/plugin-react": "^5.1.2",
"eslint": "^8.11.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^10.1.8",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-prettier": "^5.5.4",
"eslint-plugin-react": "^7.30.0",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"prettier": "^3.7.4",
"react": "^17.0.2",
"rimraf": "^6.1.2",
"saborter": "^2.0.1",
"ts-node": "^10.9.2",
"typescript": "^5.9.3",
"vite": "^7.3.0",
"vite-plugin-circular-dependency": "^0.5.0",
"vite-plugin-dts": "^4.5.4"
},
"peerDependencies": {
"react": ">=17.0.0 <=20.0.0",
"saborter": "^2.0.1"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"npm run format:prettier"
],
"*.{json,md}": [
"npm run format:prettier"
]
}
}