forked from imbhargav5/rooks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
197 lines (197 loc) · 6.62 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
{
"name": "rooks",
"version": "5.10.0",
"description": "Essential React custom hooks ⚓ to super charge your components!",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"unpkg": "dist/umd/rooks.umd.js",
"types": "dist/types/index.d.ts",
"typings": "dist/types/index.d.ts",
"sideEffects": false,
"license": "MIT",
"devEngines": {
"node": "^12.17.0 || 13.x || 14.x || 15.x || 16.x"
},
"engines": {
"node": ">=10"
},
"homepage": "https://react-hooks.org",
"repository": {
"type": "git",
"url": "https://github.com/imbhargav5/rooks.git"
},
"bugs": "https://github.com/imbhargav5/rooks/issues",
"scripts": {
"clean": "rimraf dist lib",
"commit": "cz",
"lint": "eslint src/**/*.ts",
"format": "yarn run prettier --write \"./src/*.+(js|jsx|ts|tsx)\" && yarn run prettier --write \"./docs/*.+(md|mdxx)\"",
"test": "jest",
"coverage": "yarn test --coverage",
"create": "ts-node helpers/create",
"new": "yarn run create",
"prebuild": "rimraf dist",
"update-package-list-to-markdown": "ts-node helpers/update-package-list-to-markdown",
"update-docusaurus-sidebars": "ts-node helpers/update-docusaurus-sidebars",
"update-docs-and-sidebars": "yarn update-package-list-to-markdown && yarn update-docusaurus-sidebars",
"build:custom-github-actions": "cd ./.github/actions && for d in ./*/ ; do (cd \"$d\" && npm install && npm run build); done",
"build:esm": "tsc -m esNext --outDir dist/esm",
"build:cjs": "tsc -m commonjs --outDir dist/cjs",
"build:umd": "rollup -c rollup.config.ts --configPlugin typescript",
"build:types": "rollup -c dts.rollup.config.js",
"build": "yarn build:esm && yarn build:cjs && yarn build:umd && yarn build:types",
"generate:changelog": "gulp changelog",
"release-dev": "np prerelease --tag=dev",
"docs:examples": "docusaurus-examples",
"docs:start": "docusaurus start",
"docs:build": "docusaurus build",
"docs:clear": "docusaurus clear",
"docs:publish-gh-pages": "docusaurus-publish",
"docs:write-translations": "docusaurus-write-translations",
"docs:version": "docusaurus docs:version",
"docs:rename-version": "docusaurus-rename-version",
"docs:deploy": "docusaurus deploy",
"docs:swizzle": "docusaurus swizzle",
"docs:docusaurus": "docusaurus",
"docs:serve": "docusaurus serve",
"contributors:add": "all-contributors add",
"contributors:generate": "all-contributors generate",
"contributors:check": "all-contributors check",
"contributors:update": "ts-node helpers/update-all-contributors",
"prepare": "husky install"
},
"dependencies": {
"lodash.debounce": "^4.0.8",
"raf": "^3.4.1"
},
"devDependencies": {
"@babel/cli": "7.16.8",
"@babel/core": "7.17.5",
"@babel/plugin-external-helpers": "7.16.7",
"@babel/plugin-proposal-export-default-from": "7.16.7",
"@babel/preset-env": "7.16.8",
"@babel/preset-react": "7.16.7",
"@docusaurus/core": "2.0.0-beta.15",
"@docusaurus/plugin-client-redirects": "2.0.0-beta.15",
"@docusaurus/preset-classic": "2.0.0-beta.15",
"@rollup/plugin-babel": "^5.2.1",
"@rollup/plugin-commonjs": "^18.1.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-multi-entry": "^4.0.0",
"@rollup/plugin-node-resolve": "^11.2.1",
"@rollup/plugin-replace": "^3.0.0",
"@rollup/plugin-typescript": "^8.3.0",
"@testing-library/jest-dom": "^5.12.0",
"@testing-library/react": "^11.2.1",
"@testing-library/react-hooks": "^7.0.2",
"@types/jest": "^27.0.2",
"@types/lodash.debounce": "^4.0.6",
"@types/react": "^17.0.4",
"@types/react-dom": "^17.0.3",
"@widgetbot/embed-api": "^1.1.3",
"@widgetbot/react-embed": "^1.3.0",
"all-contributors-cli": "^6.20.0",
"assert": "^2.0.0",
"babel-core": "^7.0.0-bridge.0",
"babel-loader": "8.2.3",
"babel-plugin-prismjs": "2.1.0",
"babel-preset-minify": "0.5.1",
"browser-env": "3.3.0",
"camel-case": "^4.1.1",
"chalk": "5.0.0",
"classnames": "^2.2.6",
"clsx": "^1.1.1",
"conventional-changelog-cli": "^2.1.1",
"cz-conventional-changelog": "3.3.0",
"esbuild": "^0.14.0",
"esbuild-jest": "^0.5.0",
"eslint": "^7.24.0",
"eslint-config-canonical": "^25.9.1",
"eslint-config-prettier": "^8.2.0",
"eslint-plugin-testing-library": "^5.0.0",
"execa": "^6.0.0",
"fs-extra": "^10.0.0",
"glob": "^7.1.6",
"gulp": "^4.0.2",
"gulp-conventional-changelog": "^2.0.35",
"husky": "^7.0.0",
"inquirer": "8.2.0",
"jest": "^26.6.3",
"jest-localstorage-mock": "^2.4.3",
"lint-staged": "^12.0.2",
"lodash.capitalize": "4.2.1",
"lodash.sortby": "^4.7.0",
"lodash.truncate": "^4.4.2",
"make-dir": "3.1.0",
"mdast-normalize-headings": "^3.1.0",
"mdast-util-compact": "^4.1.0",
"mdast-util-from-markdown": "^1.0.4",
"mdast-util-heading-range": "^3.1.0",
"mdast-util-to-markdown": "^1.2.4",
"mdast-zone": "^5.1.0",
"meow": "10.1.2",
"mini-css-extract-plugin": "2.5.3",
"np": "^7.4.0",
"ora": "6.1.0",
"pkg-dir": "^5.0.0",
"prettier": "^2.2.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-test-renderer": "17.0.2",
"read-pkg-up": "9.1.0",
"readline-sync": "^1.4.10",
"remark": "^14.0.1",
"remark-behead": "^2.3.3",
"remark-frontmatter": "^4.0.1",
"remark-preset-lint-markdown-style-guide": "^5.1.1",
"remark-strip-badges": "^6.0.1",
"replace-string": "4.0.0",
"rollup": "^2.33.3",
"rollup-plugin-dts": "^2.0.0",
"rollup-plugin-esbuild": "^4.0.1",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.31.0",
"shelljs": "0.8.5",
"terser": "^5.6.1",
"ts-node": "^9.1.1",
"tslib": "^2.3.0",
"typescript": "^4.3.5",
"unist-util-find": "^1.0.2",
"unist-util-find-all-after": "^4.0.0",
"unist-util-find-all-before": "^4.0.0",
"unist-util-find-all-between": "^2.1.0",
"unist-util-visit": "^4.1.0",
"vfile-reporter": "^7.0.2",
"webpack": "5.66.0",
"webpack-cli": "^4.2.0",
"write-pkg": "5.0.0",
"wsrun": "^5.2.4",
"yargs": "^17.2.1"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0",
"react-dom": "^16.8.0 || ^17.0.0"
},
"husky": {
"hooks": {
"pre-commit": "if [[ $IS_GH_ACTION != 1 ]]; then lint-staged; fi;"
}
},
"lint-staged": {
"*.{html,js,ts,tsx,json,yml,css,scss}": "prettier --write"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"keywords": [
"react",
"hooks",
"custom",
"custom-hooks",
"typescript",
"react-hooks"
]
}