-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathpackage.json
86 lines (86 loc) · 2.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
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
{
"name": "react-sizes",
"version": "2.0.0",
"description": "Hoc to easily map window sizes to props.",
"main": "lib/index.js",
"module": "es/index.js",
"jsnext:main": "es/index.js",
"browser": "dist/react-sizes.min.js",
"scripts": {
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib",
"build:es": "cross-env BABEL_ENV=es babel src --out-dir es",
"build:umd": "cross-env BABEL_ENV=rollup NODE_ENV=development rollup -c -o dist/react-sizes.js",
"build:umd:min": "cross-env BABEL_ENV=rollup NODE_ENV=production rollup -c -o dist/react-sizes.min.js",
"build:all": "npm run build:commonjs && npm run build:es && npm run build:umd && npm run build:umd:min",
"build": "npm run clean && npm run build:all",
"clean": "rimraf lib dist es",
"lint": "eslint src",
"prepublishOnly": "npm run lint && npm run build",
"storybook": "cross-env NODE_ENV=debug start-storybook -p 6006",
"build-storybook": "build-storybook"
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/renatorib/react-sizes.git"
},
"files": [
"dist",
"lib",
"es",
"src"
],
"keywords": [
"react",
"hoc",
"media",
"query",
"react-sizes",
"react",
"hoc",
"sizes",
"media",
"query"
],
"author": "Renato Ribeiro <http://github.com/renatorib>",
"license": "MIT",
"bugs": {
"url": "https://github.com/renatorib/react-sizes/issues"
},
"homepage": "https://github.com/renatorib/react-sizes#readme",
"dependencies": {
"lodash.throttle": "^4.1.1",
"prop-types": "^15.6.0"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.2.2",
"@babel/plugin-proposal-class-properties": "^7.3.0",
"@babel/preset-env": "^7.3.1",
"@babel/preset-react": "^7.0.0",
"@storybook/react": "^4.1.11",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.5",
"chokidar-cli": "^1.2.0",
"cross-env": "^5.2.0",
"del-cli": "^1.1.0",
"eslint": "^4.0.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-react": "^7.3.0",
"jest": "^24.0.0",
"np": "^4.0.2",
"react": "^16.7.0",
"react-dom": "^16.7.0",
"react-syntax-highlighter": "^10.1.2",
"rollup": "^1.1.2",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-commonjs": "^9.2.0",
"rollup-plugin-node-resolve": "^4.0.0",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-terser": "^4.0.3",
"rollup-plugin-uglify": "^6.0.2",
"webpack": "^4.29.0"
},
"peerDependencies": {
"react": "^16.3.0"
}
}