forked from ctrlplusb/react-sizeme
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
129 lines (129 loc) · 3.74 KB
/
package.json
File metadata and controls
129 lines (129 loc) · 3.74 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
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
119
120
121
122
123
124
125
126
127
128
129
{
"name": "react-sizeme",
"version": "2.3.6",
"description":
"Make your React Components aware of their dimensions and position.",
"license": "MIT",
"main": "commonjs/index.js",
"files": ["*.js", "*.md", "umd", "commonjs"],
"repository": {
"type": "git",
"url": "https://github.com/ctrlplusb/react-sizeme.git"
},
"keywords": ["library"],
"homepage": "https://github.com/ctrlplusb/react-sizeme#readme",
"author": "Sean Matheson <sean@ctrlplusb.com>",
"scripts": {
"build": "babel-node ./tools/scripts/build.js",
"check": "npm run test",
"clean":
"rimraf ./commonjs && rimraf ./umd && rimraf ./coverage && rimraf ./umd",
"example:web":
"echo 'Make sure to `cd example/web && npm install`' && cd example/web && npm run start",
"lint": "eslint src",
"precommit": "lint-staged && npm run test",
"prepublish": "npm run build",
"test": "jest",
"test:coverage": "npm run test -- --coverage",
"test:coverage:deploy": "npm run test:coverage && codecov"
},
"dependencies": {
"element-resize-detector": "^1.1.12",
"invariant": "^2.2.2",
"lodash": "^4.17.4"
},
"peerDependencies": {
"prop-types": "^15.0.0-0",
"react": "^0.14.0 || ^15.0.0-0 || ^16.0.0",
"react-dom": "^0.14.0 || ^15.0.0-0 || ^16.0.0"
},
"devDependencies": {
"app-root-dir": "1.0.2",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-eslint": "7.2.3",
"babel-jest": "^21.0.2",
"babel-loader": "^7.1.2",
"babel-plugin-lodash": "3.2.11",
"babel-plugin-rewire": "1.1.0",
"babel-plugin-transform-class-properties": "6.24.1",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.6.0",
"babel-preset-latest": "6.24.1",
"babel-preset-react": "6.24.1",
"babel-preset-stage-3": "6.24.1",
"babel-register": "^6.26.0",
"codecov": "^2.3.0",
"cross-env": "^5.0.5",
"enzyme": "^2.9.1",
"enzyme-to-json": "^2.0.0",
"eslint": "^4.7.2",
"eslint-config-airbnb": "^15.1.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-jsx-a11y": "^5.1.1",
"eslint-plugin-react": "^7.3.0",
"gzip-size": "^4.0.0",
"husky": "^0.14.3",
"in-publish": "2.0.0",
"jest": "^21.1.0",
"lint-staged": "^4.2.2",
"lodash-webpack-plugin": "^0.11.4",
"prettier": "^1.7.0",
"pretty-bytes": "4.0.2",
"prop-types": "^15.5.10",
"ramda": "^0.24.1",
"react": "^15.6.1",
"react-addons-test-utils": "^15.6.0",
"react-dom": "^15.6.1",
"react-test-renderer": "^15.6.1",
"readline-sync": "1.4.7",
"rimraf": "^2.6.2",
"sinon": "^3.3.0",
"webpack": "^3.6.0",
"webpack-dev-middleware": "^1.12.0",
"webpack-hot-middleware": "^2.19.1"
},
"jest": {
"collectCoverageFrom": ["src/**/*.{js,jsx}"],
"testPathIgnorePatterns": [
"<rootDir>/(commonjs|coverage|node_modules|tools|umd)/"
]
},
"lint-staged": {
"src/**/*.js": ["prettier --write", "git add"]
},
"eslintConfig": {
"root": true,
"parser": "babel-eslint",
"env": {
"browser": true,
"es6": true,
"node": true,
"jest": true
},
"extends": "airbnb",
"rules": {
"array-callback-return": 0,
"arrow-parens": ["error", "as-needed"],
"camelcase": 0,
"import/prefer-default-export": 0,
"import/no-extraneous-dependencies": 0,
"indent": 0,
"no-mixed-operators": 0,
"no-underscore-dangle": 0,
"no-confusing-arrow": 0,
"no-nested-ternary": 0,
"react/no-array-index-key": 0,
"react/react-in-jsx-scope": 0,
"semi": [2, "never"],
"react/forbid-prop-types": 0,
"react/jsx-filename-extension": 0,
"react/sort-comp": 0
}
},
"prettier": {
"semi": false,
"singleQuote": true,
"trailingComma": "all"
}
}