-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
51 lines (51 loc) · 1.71 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
{
"name": "use-isomorphic-layout-effect",
"version": "1.1.2",
"description": "A React helper hook for scheduling a layout effect with a fallback to a regular effect for environments where layout effects should not be used (such as server-side rendering).",
"main": "dist/use-isomorphic-layout-effect.cjs.js",
"module": "dist/use-isomorphic-layout-effect.esm.js",
"react-native": "./dist/use-isomorphic-layout-effect.native.esm.js",
"browser": {
"./dist/use-isomorphic-layout-effect.cjs.js": "./dist/use-isomorphic-layout-effect.browser.cjs.js",
"./dist/use-isomorphic-layout-effect.esm.js": "./dist/use-isomorphic-layout-effect.browser.esm.js"
},
"files": [
"dist"
],
"scripts": {
"test": "echo \"Warning: no test specified\"",
"build": "preconstruct build",
"postbuild": "cpy 'src/index.native.ts' . --rename=$npm_package_react_native",
"prepare": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Andarist/use-isomorphic-layout-effect.git"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/Andarist/use-isomorphic-layout-effect/issues"
},
"homepage": "https://github.com/Andarist/use-isomorphic-layout-effect#readme",
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
},
"devDependencies": {
"@babel/core": "^7.10.4",
"@babel/preset-env": "^7.10.4",
"@babel/preset-typescript": "^7.10.4",
"@preconstruct/cli": "1.1.14",
"@types/react": "^16.9.41",
"cpy-cli": "^3.1.1",
"husky": "^4.2.5",
"lint-staged": "^10.2.11",
"prettier": "^2.0.5",
"react": "^16.13.1",
"typescript": "^3.9.5"
}
}