-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
118 lines (118 loc) · 3.54 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-component-queries",
"description":
"Provide props to your Components based on their Width and/or Height.",
"version": "2.3.0",
"license": "MIT",
"main": "dist/react-component-queries.js",
"files": ["*.js", "*.md", "dist"],
"repository": {
"type": "git",
"url": "https://github.com/ctrlplusb/react-component-queries.git"
},
"homepage": "https://github.com/ctrlplusb/react-component-queries#readme",
"author": "Sean Matheson <[email protected]>",
"keywords": ["library"],
"scripts": {
"build": "node ./tools/scripts/build.js",
"clean": "rimraf ./dist && rimraf ./coverage",
"example:web":
"echo 'Make sure to `cd example/web && yarn install`' && cd example/web && yarn 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": {
"invariant": "^2.2.2"
},
"peerDependencies": {
"prop-types": "^15.0.0",
"react": "^0.14.0 || ^15.0.0 || ^16.0.0",
"react-dom": "^0.14.0 || ^15.0.0 || ^16.0.0",
"react-sizeme": "^2.0.0"
},
"devDependencies": {
"app-root-dir": "^1.0.2",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-eslint": "^8.0.0",
"babel-jest": "^22.4.3",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.6.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-3": "^6.24.1",
"babel-register": "^6.26.0",
"change-case": "^3.0.2",
"codecov": "^3.0.0",
"cross-env": "^5.0.5",
"enzyme": "^3.1.0",
"enzyme-adapter-react-16": "^1.0.2",
"enzyme-to-json": "^3.1.4",
"eslint": "^4.7.2",
"eslint-config-airbnb": "^16.1.0",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.3.0",
"gzip-size": "^4.0.0",
"husky": "^0.14.3",
"in-publish": "^2.0.0",
"jest": "^22.4.3",
"lint-staged": "^7.0.0",
"prettier": "^1.7.0",
"pretty-bytes": "^4.0.2",
"raf": "^3.4.0",
"ramda": "^0.25.0",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"react-sizeme": "^2.3.6",
"readline-sync": "^1.4.7",
"rimraf": "^2.6.2",
"rollup": "^0.57.1",
"rollup-plugin-babel": "^3.0.3",
"rollup-plugin-uglify": "^3.0.0"
},
"jest": {
"collectCoverageFrom": ["src/**/*.{js,jsx}"],
"snapshotSerializers": ["<rootDir>/node_modules/enzyme-to-json/serializer"],
"testPathIgnorePatterns": ["<rootDir>/(coverage|dist|node_modules|tools)/"]
},
"eslintConfig": {
"root": true,
"parser": "babel-eslint",
"env": {
"browser": true,
"es6": true,
"node": true,
"jest": true
},
"extends": ["airbnb", "prettier"],
"rules": {
"camelcase": 0,
"import/prefer-default-export": 0,
"import/no-extraneous-dependencies": 0,
"no-nested-ternary": 0,
"no-underscore-dangle": 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
}
},
"eslintIgnore": ["node_modules/", "dist/", "coverage/"],
"prettier": {
"semi": false,
"singleQuote": true,
"trailingComma": "all"
},
"lint-staged": {
"*.js": ["prettier --write \"src/**/*.js\"", "git add"]
}
}