-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathpackage.json
52 lines (52 loc) · 1.44 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
{
"name": "@starbeam/use-strict-lifecycle",
"version": "0.8.9",
"description": "React hook to manage the lifecycle of a component correctly. It handles double-rendering in React 16.8+ strict mode and remounting in React 18+ strict mode. It does not circumvent those strict modes, but rather provides an ergonomic way to satisfy their requirements.",
"type": "module",
"main": "index.ts",
"types": "index.ts",
"exports": {
"default": "./index.ts"
},
"publishConfig": {
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.cjs"
}
},
"main": "dist/index.cjs",
"types": "dist/index.d.ts"
},
"starbeam": {
"type": "library:public"
},
"scripts": {
"doc": "node ./scripts/doc.js",
"doc:all": "node ./scripts/docs.js",
"doc:readme": "node ./scripts/doc.js README",
"doc:theory": "node ./scripts/doc.js THEORY",
"test:lint": "eslint . --max-warnings 0",
"test:specs": "vitest --run",
"test:types": "tsc -b"
},
"devDependencies": {
"@starbeam/eslint-plugin": "workspace:^",
"@starbeam-dev/build-support": "workspace:^",
"@types/react": "^18.2.22",
"@types/scheduler": "^0.16.3",
"rollup": "^3.29.2"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"scheduler": "^0.23.0"
},
"files": [
"dist",
"README.md",
"CHANGELOG.md",
"LICENSE.md"
]
}