-
Notifications
You must be signed in to change notification settings - Fork 23
/
package.json
55 lines (55 loc) · 1.49 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
{
"name": "use-undo",
"version": "1.1.1",
"description": "undo/redo functionality with React Hooks",
"license": "MIT",
"author": "homerchen19",
"homepage": "https://github.com/homerchen19/use-undo#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/homerchen19/use-undo.git"
},
"bugs": {
"url": "https://github.com/homerchen19/use-undo/issues"
},
"source": "index.ts",
"main": "lib/use-undo.js",
"umd:main": "lib/use-undo.umd.js",
"module": "lib/use-undo.m.js",
"types": "lib/index.d.ts",
"scripts": {
"build": "rimraf lib && microbundle -o lib/ --name use-undo --sourcemap false --no-compress",
"prepublishOnly": "yarn build",
"preversion": "yarn test:cov",
"test": "jest",
"test:cov": "jest --coverage --runInBand --forceExit",
"test:watch": "jest --watch",
"pre-commit": "pretty-quick --staged",
"pretty-quick": "pretty-quick",
"prepare": "husky install"
},
"files": [
"lib"
],
"devDependencies": {
"@testing-library/react": "^11.2.7",
"@types/jest": "^27",
"@types/node": "^15.6.1",
"@types/react": "^17.0.8",
"@types/react-dom": "^17.0.5",
"husky": "^6.0.0",
"jest": "^27.0.3",
"microbundle": "^0.13.1",
"prettier": "^2.3.0",
"pretty-quick": "^3.1.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"rimraf": "^3.0.2",
"ts-jest": "^27.0.1",
"typescript": "^4.3.2"
},
"peerDependencies": {
"react": ">=16.8.6",
"react-dom": ">=16.8.6"
}
}