-
Notifications
You must be signed in to change notification settings - Fork 26
/
package.json
98 lines (98 loc) · 2.51 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
{
"name": "@restart/hooks",
"version": "0.4.16",
"main": "lib/cjs/index.js",
"types": "lib/cjs/index.d.ts",
"module": "lib/esm/index.js",
"exports": {
".": {
"types": "./esm/index.d.ts",
"import": "./esm/index.js",
"require": "./cjs/index.js"
},
"./*": {
"types": "./esm/*.d.ts",
"import": "./esm/*.js",
"require": "./cjs/*.js"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/jquense/react-common-hooks.git"
},
"author": {
"name": "Jason Quense",
"email": "[email protected]"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/react-restart/hooks/issues"
},
"homepage": "https://github.com/react-restart/hooks#readme",
"scripts": {
"bootstrap": "yarn && yarn --cwd www",
"test": "jest --coverage",
"tdd": "jest --watch",
"build:pick": "cherry-pick --name=@restart/hooks --cwd=lib --input-dir=../src --cjs-dir=cjs --esm-dir=esm",
"build": "rimraf lib && 4c build src && yarn build:pick",
"deploy-docs": "yarn --cwd www build --prefix-paths && gh-pages -d www/public",
"prepublishOnly": "yarn build",
"release": "rollout"
},
"jest": {
"preset": "@4c",
"testEnvironment": "jsdom",
"setupFilesAfterEnv": [
"./test/setup.js"
]
},
"prettier": {
"singleQuote": true,
"semi": false,
"trailingComma": "all"
},
"publishConfig": {
"access": "public",
"directory": "lib"
},
"release": {
"conventionalCommits": true
},
"peerDependencies": {
"react": ">=16.8.0"
},
"devDependencies": {
"@4c/babel-preset": "^10.2.1",
"@4c/cli": "^4.0.4",
"@4c/jest-preset": "^1.8.1",
"@4c/rollout": "^4.0.2",
"@4c/tsconfig": "^0.4.1",
"@babel/cli": "^7.22.9",
"@babel/core": "^7.22.9",
"@babel/preset-typescript": "^7.22.5",
"@testing-library/react": "^12.1.5",
"@testing-library/react-hooks": "^7.0.0",
"@types/jest": "^29.5.3",
"@types/lodash": "^4.14.195",
"@types/react": "^18.2.15",
"babel-jest": "^29.6.1",
"babel-plugin-transform-rename-import": "^2.3.0",
"cherry-pick": "^0.5.0",
"codecov": "^3.8.3",
"eslint": "^8.44.0",
"gh-pages": "^3.1.0",
"husky": "^4.3.6",
"jest": "^29.6.1",
"jest-environment-jsdom": "^29.6.1",
"lint-staged": "^13.2.3",
"mq-polyfill": "^1.1.8",
"prettier": "^3.0.0",
"react": "^16.13.0",
"react-dom": "^16.13.0",
"rimraf": "^5.0.1",
"typescript": "^5.1.6"
},
"dependencies": {
"dequal": "^2.0.3"
}
}