-
Notifications
You must be signed in to change notification settings - Fork 171
/
package.json
79 lines (79 loc) · 2.06 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
{
"name": "react-portal",
"version": "4.2.2",
"description": "To make your life with React Portals easier.",
"main": "lib/index.js",
"module": "es/index.js",
"sideEffects": false,
"jsnext:main": "es/index.js",
"browserslist": "last 2 versions, ie 11",
"files": [
"*.md",
"LICENSE",
"lib",
"es"
],
"repository": {
"type": "git",
"url": "https://github.com/tajo/react-portal"
},
"author": "Vojtech Miksu <vojtech@miksu.cz>",
"license": "MIT",
"scripts": {
"build": "npm run clean && npm run build-es && npm run build-cjs",
"build-es": "babel ./src --out-dir ./es",
"build-cjs": "cross-env BABEL_ENV=commonjs babel ./src --out-dir ./lib",
"build:examples": "cross-env webpack",
"clean": "rimraf es lib build",
"prepublish": "cross-env NODE_ENV=production npm run build",
"lint": "eslint webpack.config.js src/**/*.js",
"format": "prettier --write \"**/*.js\"",
"test": "cross-env BABEL_ENV=commonjs jest --no-cache",
"react": "enzyme-adapter-react-install 16"
},
"tags": [
"react"
],
"jest": {
"setupFiles": [
"raf/polyfill"
]
},
"keywords": [
"react",
"react-component",
"modal",
"lightbox",
"react-portal",
"portal",
"transportation"
],
"dependencies": {
"prop-types": "^15.5.8"
},
"devDependencies": {
"babel-cli": "^6.8.0",
"babel-core": "^6.8.0",
"babel-eslint": "^8.0.1",
"babel-jest": "^21.2.0",
"babel-loader": "^7.1.1",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.3.13",
"cross-env": "^5.0.1",
"enzyme": "^3.1.0",
"enzyme-adapter-react-helper": "^1.2.2",
"eslint": "^4.3.0",
"eslint-plugin-prettier": "^2.1.2",
"jest": "^21.2.1",
"prettier": "^1.5.3",
"raf": "^3.4.0",
"react": "^15.0.0-0 || ^16.0.0-0 || ^17.0.0-0",
"react-dom": "^15.0.0-0 || ^16.0.0-0 || ^17.0.0-0",
"rimraf": "^2.5.0",
"webpack": "^3.4.1"
},
"peerDependencies": {
"react": "^16.0.0-0 || ^17.0.0-0 || ^18.0.0-0",
"react-dom": "^16.0.0-0 || ^17.0.0-0 || ^18.0.0-0"
}
}