-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
53 lines (53 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
{
"name": "react-dialog-hook",
"version": "0.0.9",
"description": "React hook for manage dialogs state",
"main": "lib/index.js",
"author": "Hubert Stemplewski",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/hstemplewski/react-dialog-hook"
},
"homepage": "https://github.com/hstemplewski/react-dialog-hook",
"bugs": {
"url": "https://github.com/hstemplewski/react-dialog-hook/issues"
},
"keywords": [
"react",
"dialog",
"hook",
"react-dialog",
"react-dialog-hook",
"modal"
],
"scripts": {
"test": "jest --config jestconfig.json",
"build": "rm -rf ./lib && tsc --module CommonJS --outDir ./lib",
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"",
"lint": "eslint --ext js,ts src",
"prepare": "npm run build",
"prepublishOnly": "npm test && npm run lint && npm run build",
"preversion": "npm run lint",
"version": "npm run format && git add -A src",
"postversion": "git push && git push --tags"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.15.0",
"@testing-library/react": "^12.1.2",
"@testing-library/react-hooks": "^7.0.2",
"@types/jest": "^27.0.2",
"@typescript-eslint/eslint-plugin": "^5.3.0",
"@typescript-eslint/parser": "^5.3.0",
"eslint": "^7.26.0",
"eslint-plugin-react": "^7.26.1",
"jest": "^27.3.1",
"prettier": "^2.4.1",
"ts-jest": "^27.0.7",
"typescript": "^4.4.4"
},
"peerDependencies": {
"react": ">= 17.0.2",
"react-dom": ">= 17.0.2"
}
}