-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
97 lines (97 loc) · 2.96 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
{
"name": "react-timing-hooks",
"version": "5.1.0",
"description": "React hooks for setTimeout, setInterval, requestAnimationFrame, requestIdleCallback",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"module": "dist/index.es.js",
"sideEffects": false,
"scripts": {
"test": "npm run test:unit && npm run test:integration",
"test:unit": "jest src --coverage",
"test:integration": "npm run build && jest integration-tests",
"commit": "git-cz",
"prettier:check": "prettier --list-different \"{src,integration-tests}/**/*.{ts,tsx}\"",
"prettier:write": "prettier --write \"{src,integration-tests}/**/*.{ts,tsx}\"",
"build": "rimraf \"./tmp\" && rollup -c --bundleConfigAsCjs",
"build:watch": "npm run build -- --watch",
"build:prod": "rimraf \"./dist\" && rollup -c rollup.config.prod.js --bundleConfigAsCjs",
"release": "standard-version --dry-run && cli-confirm \"Do you really want to create a new release? (Y/N)\" && standard-version",
"prepublishOnly": "cli-confirm \"Do you really want to publish the current release? (Y/N)\" && npm run test && npm run build:prod"
},
"repository": {
"type": "git",
"url": "ssh://git@github.com/EricLambrecht/react-timing-hooks.git"
},
"keywords": [
"react",
"interval",
"timeout",
"effect",
"loop",
"throttle",
"animation",
"frame",
"requestAnimationFrame",
"idle",
"callback",
"hook",
"rendering",
"rate-limiting",
"clock",
"timer",
"debounce",
"time",
"timing",
"setInterval"
],
"author": "Eric Lambrecht",
"license": "MIT",
"bugs": {
"url": "https://github.com/EricLambrecht/react-timing-hooks/issues"
},
"homepage": "https://ericlambrecht.github.io/react-timing-hooks/",
"devDependencies": {
"@rollup/plugin-typescript": "^11.1.6",
"@shopify/jest-dom-mocks": "^5.2.0",
"@testing-library/jest-dom": "^6.5.0",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.5.12",
"@types/node": "^14.18.34",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"cli-confirm": "^1.0.1",
"commitizen": "^4.3.0",
"emoji-cz": "^0.3.1",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"node-fetch": "^2.6.7",
"polyfill-object.fromentries": "^1.0.1",
"prettier": "^3.3.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-test-renderer": "^18.3.1",
"replace": "^1.2.2",
"rimraf": "^6.0.1",
"rollup": "^4.19.2",
"standard-version": "^9.5.0",
"ts-jest": "^29.2.4",
"tslib": "^2.6.3",
"typescript": "^5.5.4"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"config": {
"commitizen": {
"path": "node_modules/emoji-cz"
}
},
"standard-version": {
"scripts": {
"prerelease": "npm run build:prod",
"postchangelog": "replace \"🐛 \" \"\" CHANGELOG.md&&replace \"✨ \" \"\" CHANGELOG.md"
}
}
}