-
Notifications
You must be signed in to change notification settings - Fork 17
/
package.json
84 lines (84 loc) · 2.29 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
77
78
79
80
81
82
83
84
{
"name": "react-modal-promise",
"version": "1.0.2",
"description": "Promise wrapper for React components",
"keywords": [
"react",
"modal",
"dialog",
"promise"
],
"main": "lib/index.js",
"types": "lib/index.d.ts",
"module": "lib/index.es.js",
"scripts": {
"build": "yarn build:types && yarn build:js",
"build:types": "tsc --emitDeclarationOnly",
"build:js": "NODE_ENV=production rollup -c -m inline",
"watch": "yarn build:js -w",
"format": "prettier --write",
"prepublishOnly": "yarn build",
"test": "jest",
"test:watch": "jest --watch",
"type-check": "tsc --noEmit",
"prepare": "husky install",
"release": "yarn build && yarn version && yarn publish"
},
"files": [
"lib"
],
"repository": {
"type": "git",
"url": "git+https://github.com/cudr/react-modal-promise.git"
},
"author": "cudr",
"license": "MIT",
"bugs": {
"url": "https://github.com/cudr/react-modal-promise/issues"
},
"homepage": "https://github.com/cudr/react-modal-promise#readme",
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.3.4",
"@babel/plugin-proposal-class-properties": "^7.3.4",
"@babel/plugin-proposal-optional-chaining": "^7.13.12",
"@babel/preset-env": "^7.3.4",
"@babel/preset-react": "^7.0.0",
"@commitlint/cli": "^13.1.0",
"@commitlint/config-conventional": "^13.1.0",
"@types/enzyme": "^3.10.3",
"@types/enzyme-adapter-react-16": "^1.0.5",
"@types/jest": "^26.0.19",
"@types/node": "^16.4.9",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.3",
"babel-jest": "^27.0.6",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.14.0",
"enzyme-to-json": "^3.4.0",
"husky": "^7.0.1",
"jest": "^27.1.1",
"lint-staged": "^11.1.1",
"prettier": "^2.2.1",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"rollup": "^2.35.1",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-typescript": "^1.0.1",
"ts-jest": "^27.0.0-next.12",
"tslib": "^2.2.0",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"typescript": "^4.1.3"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"lint-staged": {
"*.{js,ts,tsx,json}": [
"yarn run format",
"git add"
]
}
}