-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
79 lines (79 loc) · 1.93 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
{
"name": "use-transition-effect",
"description": "Run long effects without blocking the main thread",
"version": "0.1.1",
"license": "MIT",
"author": "Piotr Oleś",
"main": "dist/use-transition-effect.js",
"module": "dist/use-transition-effect.mjs",
"typings": "dist/use-transition-effect.d.ts",
"repository": "https://github.com/piotr-oles/use-transition-effect.git",
"keywords": [
"react",
"useTransition",
"hook",
"long",
"task",
"generator",
"yield",
"concurrent",
"effect",
"main thread"
],
"files": [
"dist",
"src"
],
"engines": {
"node": ">=10"
},
"scripts": {
"build": "rimraf dist && rollup -c rollup.config.js",
"test": "jest",
"lint": "eslint src test",
"prepare": "husky install",
"prepublish": "yarn test && yarn lint && yarn build",
"size": "size-limit"
},
"peerDependencies": {
"react": ">=17",
"scheduler": ">=0.20"
},
"size-limit": [
{
"path": "dist/use-transition-effect.js",
"limit": "1 KB"
},
{
"path": "dist/use-transition-effect.mjs",
"limit": "1 KB"
}
],
"devDependencies": {
"@rollup/plugin-typescript": "^8.3.2",
"@size-limit/preset-small-lib": "^7.0.8",
"@testing-library/react": "^13.3.0",
"@types/jest": "^28.1.0",
"@types/react": "^18.0.9",
"@types/react-dom": "^18.0.5",
"@types/scheduler": "^0.16.2",
"@typescript-eslint/eslint-plugin": "^5.27.0",
"@typescript-eslint/parser": "^5.27.0",
"eslint": "^8.16.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.30.0",
"husky": "^8.0.1",
"jest": "^28.1.0",
"jest-environment-jsdom": "^28.1.0",
"prettier": "^2.6.2",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"rimraf": "^3.0.2",
"rollup": "^2.75.5",
"scheduler": "^0.22.0",
"size-limit": "^7.0.8",
"ts-jest": "^28.0.3",
"tslib": "^2.4.0",
"typescript": "^4.7.2"
}
}