-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
76 lines (76 loc) · 1.9 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
{
"name": "use-latest-version",
"version": "1.2.4",
"description": "The React setState hook for out-of-order updates — now in your control.",
"main": "dist/use-latest-version.js",
"umd:main": "dist/use-latest-version.umd.js",
"module": "dist/use-latest-version.module.js",
"jsnext:main": "dist/use-latest-version.module.js",
"react-native": "dist/use-latest-version.module.js",
"types": "./dist",
"typings": "dist/index.d.ts",
"source": "src/index.ts",
"scripts": {
"clean": "npx rimraf dist",
"test": "jest",
"test:watch": "jest --watch",
"prepare": "npm run build",
"build": "microbundle",
"release": "pnpx standard-version"
},
"repository": {
"type": "git",
"url": "git+https://github.com/evanrs/use-latest-version.git"
},
"files": [
"dist/"
],
"keywords": [
"react",
"hooks",
"react hook",
"setState",
"set state",
"out of order",
"latest version",
"out of order update",
"version control",
"versioned",
"versioning"
],
"author": "Evan Schneider <me@evanrs.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/evanrs/use-latest-version/issues"
},
"homepage": "https://github.com/evanrs/use-latest-version#readme",
"peerDependencies": {
"react": ">=16.6.0"
},
"devDependencies": {
"@testing-library/react-hooks": "3.2.1",
"@types/jest": "25.1.2",
"@types/react": "16.9.19",
"@types/react-test-renderer": "16.9.2",
"@types/testing-library__react-hooks": "3.2.0",
"jest": "25.1.0",
"microbundle": "0.12.0-next.8",
"react": "16.12.0",
"react-test-renderer": "16.12.0",
"ts-jest": "25.2.0",
"typescript": "3.7.5"
},
"jest": {
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.{ts,tsx}",
"!**/node_modules/**"
],
"testMatch": [
"**/*.spec.ts",
"**/*.test.ts"
]
}
}