-
Notifications
You must be signed in to change notification settings - Fork 87
/
package.json
59 lines (59 loc) · 1.6 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
{
"name": "rodal",
"version": "2.1.0",
"description": "A React modal with animations.",
"main": "lib/rodal.js",
"module": "lib/rodal.esm.js",
"types": "./index.d.ts",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"dev": "node_modules/.bin/webpack-dev-server",
"build": "webpack -p --hide-modules",
"lib": "babel src/rodal.js --out-file lib/rodal.js && BABEL_MODULE=es babel src/rodal.js --out-file lib/rodal.esm.js && cp src/rodal.css lib",
"test": "npm run lib",
"release": "npm run build && npm run lib && npm publish"
},
"repository": {
"type": "git",
"url": "git+https://github.com/chenjiahan/rodal.git"
},
"keywords": [
"react",
"modal",
"animation",
"react-modal",
"react-component"
],
"author": "neverland",
"license": "MIT",
"bugs": {
"url": "https://github.com/chenjiahan/rodal/issues"
},
"homepage": "https://github.com/chenjiahan/rodal#readme",
"dependencies": {
"prop-types": "^15.6.0",
"classnames": "^2.2.6"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.8.4",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/preset-env": "^7.8.4",
"@babel/preset-react": "^7.8.3",
"babel-loader": "^8.0.6",
"css-loader": "^3.4.2",
"postcss-loader": "^3.0.0",
"prop-types": "^15.7.2",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"style-loader": "^1.1.3",
"webpack": "^4.41.5",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.10.2"
},
"peerDependencies": {
"react": ">= ^17.0.0 || >= ^18.0.0"
}
}