-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
129 lines (129 loc) · 2.96 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"name": "@adam-rocska/use-task-queue",
"version": "0.1.3",
"description": "React hook for managing queues of tasks.",
"keywords": [
"queue",
"task",
"react",
"hook",
"react-hook",
"react-hooks",
"async",
"sync",
"task-queue",
"promise",
"cancellable"
],
"main": "./dist/cjs/index.js",
"module": "./dist/es/index.mjs",
"types": "./dist/cjs/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./dist/es/index.d.mts",
"default": "./dist/es/index.mjs"
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
}
}
},
"files": [
"dist"
],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "https://github.com/adam-rocska/useTaskQueue.git"
},
"bugs": {
"url": "https://github.com/adam-rocska/useTaskQueue/issues"
},
"scripts": {
"clean": "rimraf dist",
"build": "bunchee",
"test": "jest --env node",
"check": "pnpm eslint && pnpm attw --pack"
},
"author": {
"name": "Adam Laszlo Rocska",
"url": "https://github.com/adam-rocska"
},
"contributors": [
{
"name": "Ronald Legmann",
"url": "https://github.com/rlegmann"
}
],
"license": "MIT",
"devDependencies": {
"@arethetypeswrong/cli": "^0.16.1",
"@swc/jest": "^0.2.36",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.5.0",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"@tsconfig/strictest": "^2.0.5",
"@types/jest": "^29.5.12",
"@types/node": "^22.5.4",
"@types/react": "18.3.12",
"@types/react-dom": "^18.3.0",
"bunchee": "^5.4.0",
"eslint": "^8.57.0",
"eslint-config-next": "^15.0.3",
"expect": "^29.7.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"pnpm": "^9.9.0",
"react": "^18.3.1",
"react-test-renderer": "^18.3.1",
"rimraf": "^6.0.1",
"ts-jest": "^29.2.5",
"typescript": "^5.5.4"
},
"engines": {
"node": ">=20"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"moduleDirectories": [
"node_modules"
],
"moduleNameMapper": {
"^@adam-rocska/use-task-queue$": "<rootDir>/src/index.ts",
"^!(.*)$": "<rootDir>/$1"
},
"setupFilesAfterEnv": [
"<rootDir>/test/setup-files-after-env/expect.toBeInState.ts"
],
"transform": {
"^.+\\.(ts|tsx)?$": [
"ts-jest",
{
"tsconfig": "./test/tsconfig.json"
}
]
},
"collectCoverageFrom": [
"src/**/*.ts"
],
"testPathIgnorePatterns": [
"/node_modules/"
]
},
"dependencies": {
"@adam-rocska/ts-codec": "^1.2.2",
"real-cancellable-promise": "^1.2.0"
},
"peerDependencies": {
"react": "^18.0.0 || ^19.0.0-0"
},
"packageManager": "[email protected]"
}