forked from yocontra/react-responsive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
118 lines (118 loc) · 2.98 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"name": "react-responsive",
"description": "Media queries in react for responsive design",
"version": "6.1.1",
"homepage": "http://github.com/contra/react-responsive",
"repository": {
"type": "git",
"url": "git://github.com/contra/react-responsive.git"
},
"author": "Contra <[email protected]> (http://contra.io)",
"license": "MIT",
"main": "./dist/react-responsive.js",
"files": [
"dist"
],
"keywords": [
"css",
"react-component",
"viewport",
"react",
"mobile",
"media queries",
"respond",
"media query",
"matchMedia",
"responsive",
"component"
],
"dependencies": {
"hyphenate-style-name": "^1.0.0",
"matchmediaquery": "^0.3.0",
"prop-types": "^15.6.1"
},
"peerDependencies": {
"react": "^16.3.0"
},
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.0.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.0",
"babel-loader": "^8.0.0",
"babel-plugin-add-module-exports": "^1.0.0",
"chai": "^4.1.2",
"cross-env": "^5.1.3",
"eslint": "^5.0.0",
"eslint-plugin-import": "^2.9.0",
"eslint-plugin-react": "^7.7.0",
"jsdom": "^12.2.0",
"mocha": "^5.0.0",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"should": "^13.2.1",
"sinon": "^6.3.5",
"webpack": "^3.0.0",
"webpack-dev-server": "^2.0.0"
},
"scripts": {
"preversion": "npm run clean && npm run build",
"start": "webpack-dev-server --config webpack.config.samples.js --content-base samples/sandbox/src --host 0.0.0.0 --hot --inline --port 3333",
"build:umd": "cross-env BUILD_MODE=umd webpack",
"build:umd-min": "cross-env BUILD_MODE=umd-min webpack",
"build": "npm run build:umd && npm run build:umd-min",
"build:watch": "npm run build -- --watch",
"clean": "rimraf dist",
"lint": "eslint src test",
"test": "cross-env NODE_PATH=$NODE_PATH:$PWD/src mocha -R spec --compilers js:@babel/register --require ./test/setup.js test/*_test.js"
},
"babel": {
"presets": [
"@babel/preset-env",
"@babel/preset-react"
],
"plugins": [
"add-module-exports",
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-object-rest-spread"
]
},
"eslintConfig": {
"parser": "babel-eslint",
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"plugins": [
"import",
"react"
],
"env": {
"browser": true,
"node": true,
"mocha": true
},
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 8,
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"semi": [
2,
"never"
],
"react/prop-types": 0
}
},
"engines": {
"node": ">= 0.10"
}
}