-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpackage.json
71 lines (71 loc) · 1.53 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
{
"name": "use-memo-value",
"version": "1.0.1",
"description": "Reuse the previous version of a value unless it has changed",
"author": "Jamie Kyle <jamie.kyle@discordapp.com>",
"license": "MIT",
"repository": "discord/use-memo-value",
"keywords": [
"react",
"hook",
"use",
"memo",
"memoized",
"value",
"object",
"array",
"shallow",
"equal",
"shallowequal",
"compare",
"comparator",
"comparison"
],
"source": "src/useMemoValue.ts",
"main": "dist/useMemoValue.js",
"module": "dist/useMemoValue.module.js",
"unpkg": "dist/useMemoValue.umd.js",
"files": [
"dist"
],
"scripts": {
"format": "prettier --write '**'",
"test": "TS_NODE_PROJECT=./tsconfig.test.json ava",
"build": "rm -rf dist && microbundle --inline none --name useMemoValue",
"prepublishOnly": "npm run -s build"
},
"dependencies": {
"shallowequal": "^0.1.0 || ^0.2.0 || ^1.0.0"
},
"peerDependencies": {
"react": "^16.8.0"
},
"devDependencies": {
"@testing-library/react-hooks": "^3.2.1",
"@types/shallowequal": "^1.1.1",
"ava": "^3.7.1",
"husky": "^4.2.5",
"lint-staged": "^10.1.6",
"microbundle": "^0.11.0",
"prettier": "^2.0.4",
"react": "^16.13.1",
"react-test-renderer": "^16.13.1",
"ts-node": "^8.9.0",
"typescript": "^3.8.3"
},
"lint-staged": {
"*": [
"prettier --write",
"git add"
]
},
"ava": {
"extensions": [
"ts",
"tsx"
],
"require": [
"ts-node/register"
]
}
}