forked from renatorib/react-sizes
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 2.54 KB
/
package.json
File metadata and controls
84 lines (84 loc) · 2.54 KB
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-sizes",
"version": "1.0.4",
"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://git@github.com/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": {
"@kadira/storybook": "^2.21.0",
"babel-cli": "^6.24.1",
"babel-eslint": "^8.0.0",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-transform-export-extensions": "^6.22.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-1": "^6.24.1",
"chokidar-cli": "^1.2.0",
"cross-env": "^5.0.5",
"del-cli": "^0.2.1",
"eslint": "^4.6.1",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-react": "^7.3.0",
"jest": "^21.2.1",
"np": "^2.13.1",
"react": "^15.6.1",
"react-dom": "^15.5.3",
"react-syntax-highlighter": "^5.3.0",
"rollup": "^0.52.0",
"rollup-plugin-babel": "^3.0.2",
"rollup-plugin-commonjs": "^8.2.6",
"rollup-plugin-node-resolve": "^3.0.0",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-uglify": "^2.0.1"
},
"peerDependencies": {
"react": "^0.14.0 || ^15.0.0-0 || ^16.0.0-0 || ^ 17.0.0-0"
}
}