-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
92 lines (92 loc) · 2.57 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
85
86
87
88
89
90
91
92
{
"name": "use-react-modal",
"version": "0.0.8",
"homepage": "https://codesandbox.io/s/w6jp7z4pkk",
"main": "dist/index.js",
"repository": {
"type": "git",
"url": "https://github.com/alex-cory/use-react-modal.git"
},
"description": "🖼 React hook for Modals",
"author": "Alex Cory <[email protected]>",
"license": "MIT",
"private": false,
"scripts": {
"prepublishOnly": "yarn build # runs before publish",
"build": "rm -rf dist && ./node_modules/.bin/tsc --module CommonJS",
"build:watch": "rm -rf dist && ./node_modules/.bin/tsc -w --module CommonJS",
"test:browser": "yarn tsc && jest --env=jsdom",
"test:browser:watch": "yarn tsc && jest --watch --env=jsdom",
"test:server": "yarn tsc && jest --env=node",
"test:server:watch": "yarn tsc && jest --watch --env=node",
"test:watch": "yarn test:browser:watch && yarn test:server:watch",
"test": "yarn test:browser && yarn test:server",
"clean": "npm prune; yarn cache clean; rm -rf ./node_modules package-lock.json yarn.lock; yarn",
"lint": "eslint ./**/*.{ts,tsx}",
"lint:fix": "npm run lint -- --fix",
"lint:watch": "watch 'yarn lint'"
},
"peerDependencies": {
"react": "^16.8.6",
"react-dom": "^16.8.6"
},
"dependencies": {
"body-scroll-lock": "^2.6.4",
"react-useportal": "^1.0.13",
"use-ssr": "^1.0.19"
},
"devDependencies": {
"@testing-library/react-hooks": "^3.0.0",
"@types/body-scroll-lock": "^2.6.1",
"@types/jest": "^25.1.0",
"@types/react": "^16.9.2",
"@types/react-dom": "^16.8.4",
"@typescript-eslint/eslint-plugin": "^2.2.0",
"@typescript-eslint/parser": "^2.2.0",
"eslint": "^6.3.0",
"eslint-plugin-jest": "^23.0.3",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-react": "^7.14.3",
"jest": "^24.7.1",
"parcel-bundler": "^1.12.3",
"prettier": "^1.18.2",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-test-renderer": "^16.8.6",
"react-testing-library": "^8.0.0",
"ts-jest": "^24.0.0",
"typescript": "^3.4.5"
},
"files": [
"dist"
],
"keywords": [
"react",
"hook",
"use",
"portal",
"react-hook",
"react-component",
"modal",
"lightbox",
"tooltip",
"notification",
"react-portal",
"react-useportal",
"react-use-portal",
"transportation",
"react portal hook",
"use-modal",
"react-use-modal",
"modal",
"modal hook",
"react-modal-hook",
"dialog",
"lightbox",
"react-lightbox",
"lightbox hook",
"react-dialog-hook",
"use-dialog",
"use-lightbox"
]
}