-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
48 lines (48 loc) · 1.33 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
{
"name": "use-constant",
"version": "1.1.1",
"description": "React hook for creating a value exactly once.",
"main": "./dist/use-constant.cjs.js",
"module": "./dist/use-constant.esm.js",
"types": "./types/index.d.ts",
"files": [
"dist",
"types"
],
"scripts": {
"test": "echo \"Warning: no test specified\" || jest --env=node",
"prebuild": "rimraf dist types",
"build": "rollup -c && tsc && node ./scripts/generate-flow-files",
"preversion": "npm test",
"prepare": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Andarist/use-constant.git"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/Andarist/use-constant/issues"
},
"homepage": "https://github.com/Andarist/use-constant#readme",
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@babel/core": "^7.3.4",
"@babel/plugin-transform-modules-commonjs": "^7.2.0",
"@babel/preset-env": "^7.3.4",
"@babel/preset-typescript": "^7.3.3",
"@types/react": "^16.8.8",
"fs-extra": "^7.0.1",
"husky": "^1.3.1",
"jest": "^24.5.0",
"lint-staged": "^8.1.5",
"prettier": "^1.16.4",
"react": "^16.8.4",
"rimraf": "^2.6.3",
"rollup": "^1.6.0",
"rollup-plugin-babel": "^4.3.2",
"typescript": "^3.3.3333"
}
}