-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
58 lines (58 loc) · 1.81 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
{
"name": "use-force-update-hook",
"version": "2.1.0",
"description": "React hook which gives forceUpdate() to functional components.",
"main": "dist/use-force-update.cjs.js",
"module": "dist/use-force-update.esm.js",
"files": [
"dist",
"typings"
],
"types": "./typings/index.d.ts",
"scripts": {
"build": "npm run build:bundles && npm run build:typings",
"build:bundles": "rollup --config rollup.config.mjs",
"build:typings": "tsc --declaration --emitDeclarationOnly --noEmitOnError --declarationDir typings",
"prettier": "prettier --write \"**/*.{ts,tsx,js,jsx,css,md,yml}\"",
"test:typecheck": "tsc --noEmit",
"test:sources": "jest --coverage",
"test:sources:watch": "jest --watch",
"test": "npm run test:sources && npm run test:typecheck"
},
"repository": {
"type": "git",
"url": "git+https://github.com/bhovhannes/use-force-update-hook.git"
},
"keywords": [
"react",
"hook",
"forceUpdate"
],
"author": "Hovhannes Babayan <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/bhovhannes/use-force-update-hook/issues"
},
"homepage": "https://github.com/bhovhannes/use-force-update-hook#readme",
"devDependencies": {
"@evilmartians/lefthook": "1.10.8",
"@bhovhannes/shared-config": "0.0.1",
"@commitlint/cli": "19.6.1",
"@commitlint/config-conventional": "19.6.0",
"@rollup/plugin-typescript": "12.1.2",
"@testing-library/react": "16.2.0",
"@types/jest": "29.5.14",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"prettier": "3.4.2",
"react": "19.0.0",
"react-dom": "19.0.0",
"rollup": "4.31.0",
"ts-jest": "29.2.5",
"tslib": "2.8.1",
"typescript": "5.5.4"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
}
}