UNPKG

1.67 kBJSONView Raw
1{
2 "name": "use-deep-compare-effect",
3 "version": "1.8.1",
4 "description": "It's react's useEffect hook, except using deep comparison on the inputs, not reference equality",
5 "main": "dist/use-deep-compare-effect.cjs.js",
6 "module": "dist/use-deep-compare-effect.esm.js",
7 "types": "dist/index.d.ts",
8 "engines": {
9 "node": ">=10",
10 "npm": ">=6"
11 },
12 "scripts": {
13 "build": "kcd-scripts build --bundle",
14 "lint": "kcd-scripts lint",
15 "setup": "npm install && npm run validate -s",
16 "test": "kcd-scripts test",
17 "test:update": "npm test -- --updateSnapshot --coverage",
18 "typecheck": "kcd-scripts typecheck",
19 "validate": "kcd-scripts validate"
20 },
21 "files": [
22 "dist"
23 ],
24 "keywords": [],
25 "author": "Kent C. Dodds <me@kentcdodds.com> (https://kentcdodds.com)",
26 "license": "MIT",
27 "peerDependencies": {
28 "react": ">=16.13"
29 },
30 "dependencies": {
31 "@babel/runtime": "^7.12.5",
32 "dequal": "^2.0.2"
33 },
34 "devDependencies": {
35 "@testing-library/react-hooks": "^3.4.2",
36 "@types/react": "^17.0.0",
37 "jest-in-case": "^1.0.2",
38 "kcd-scripts": "^7.2.1",
39 "react": "^17.0.1",
40 "react-dom": "^17.0.1",
41 "react-test-renderer": "^17.0.1",
42 "typescript": "^4.1.2"
43 },
44 "eslintConfig": {
45 "extends": "./node_modules/kcd-scripts/eslint.js"
46 },
47 "eslintIgnore": [
48 "node_modules",
49 "coverage",
50 "dist"
51 ],
52 "repository": {
53 "type": "git",
54 "url": "https://github.com/kentcdodds/use-deep-compare-effect"
55 },
56 "bugs": {
57 "url": "https://github.com/kentcdodds/use-deep-compare-effect/issues"
58 },
59 "homepage": "https://github.com/kentcdodds/use-deep-compare-effect#readme"
60}