-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
94 lines (94 loc) · 2.55 KB
/
Copy pathpackage.json
File metadata and controls
94 lines (94 loc) · 2.55 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
{
"name": "exsorted-react",
"version": "1.0.4",
"description": "TypeScript-first React custom hooks for list sorting with Exsorted (useSortedList, singleKeyAccessors)",
"keywords": [
"custom-hook",
"exsorted",
"list-sorting",
"react",
"react-hooks",
"react-sorting",
"sorting-hook",
"typescript",
"use-sort",
"usesortedlist"
],
"homepage": "https://github.com/Ink01101011/exsorted-react#readme",
"bugs": {
"url": "https://github.com/Ink01101011/exsorted-react/issues"
},
"license": "MIT",
"author": "Ink01101011",
"repository": {
"type": "git",
"url": "git+https://github.com/Ink01101011/exsorted-react.git"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"type": "module",
"sideEffects": false,
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "tsup src/index.ts --format esm,cjs --dts --clean",
"dev": "tsup src/index.ts --format esm,cjs --dts --watch",
"lint": "pnpm dlx oxlint@latest .",
"lint:fix": "pnpm dlx oxlint@latest --fix .",
"format": "pnpm dlx oxfmt@latest --write .",
"format:check": "pnpm dlx oxfmt@latest --check .",
"typecheck": "tsc --noEmit",
"test": "jest --runInBand",
"test:watch": "jest --watch",
"size": "node ./scripts/check-bundle-size.mjs",
"audit:cve": "pnpm dlx audit-ci@latest --high --package-manager pnpm",
"check": "pnpm run lint && pnpm run format:check && pnpm run typecheck && pnpm run build && pnpm run size",
"prepare": "husky",
"precommit:check": "pnpm run lint && pnpm run format:check && pnpm run typecheck",
"prepublishOnly": "pnpm run build"
},
"dependencies": {
"exsorted": "^1.1.0"
},
"devDependencies": {
"@testing-library/react": "^16.2.0",
"@types/jest": "^29.5.14",
"@types/react": "^18.0.0 || ^19.0.0",
"@types/react-dom": "^18.0.0 || ^19.0.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jsdom": "^25.0.1",
"react": "^18.2.0 || ^19.0.0",
"react-dom": "^18.2.0 || ^19.0.0",
"ts-jest": "^29.2.5",
"tsup": "^8.3.5",
"typescript": "^5.6.3"
},
"peerDependencies": {
"exsorted": "^1.1.0",
"react": "^18.2.0 || ^19.0.0"
},
"peerDependenciesMeta": {
"exsorted": {
"optional": true
}
},
"engines": {
"node": ">=18"
}
}