Skip to content

Commit af990d5

Browse files
committed
Updates version.
1 parent 9d09beb commit af990d5

File tree

1 file changed

+14
-37
lines changed

1 file changed

+14
-37
lines changed

package.json

Lines changed: 14 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,23 @@
11
{
22
"name": "react-sizeme",
3-
"version": "2.4.3",
4-
"description": "Make your React Components aware of their dimensions and position.",
3+
"version": "2.4.4",
4+
"description":
5+
"Make your React Components aware of their dimensions and position.",
56
"license": "MIT",
67
"main": "dist/react-sizeme.js",
7-
"files": [
8-
"*.js",
9-
"*.md",
10-
"dist"
11-
],
8+
"files": ["*.js", "*.md", "dist"],
129
"repository": {
1310
"type": "git",
1411
"url": "https://github.com/ctrlplusb/react-sizeme.git"
1512
},
16-
"keywords": [
17-
"library"
18-
],
13+
"keywords": ["library"],
1914
"homepage": "https://github.com/ctrlplusb/react-sizeme#readme",
2015
"author": "Sean Matheson <[email protected]>",
2116
"scripts": {
2217
"build": "node ./tools/scripts/build.js",
2318
"clean": "rimraf ./dist && rimraf ./coverage",
24-
"example:web": "echo 'Make sure to `cd example/web && yarn install`' && cd example/web && yarn run start",
19+
"example:web":
20+
"echo 'Make sure to `cd example/web && yarn install`' && cd example/web && yarn run start",
2521
"lint": "eslint src",
2622
"precommit": "lint-staged && npm run test",
2723
"prepublish": "npm run build",
@@ -84,15 +80,9 @@
8480
"rollup-plugin-uglify": "^4.0.0"
8581
},
8682
"jest": {
87-
"collectCoverageFrom": [
88-
"src/**/*.{js,jsx}"
89-
],
90-
"snapshotSerializers": [
91-
"<rootDir>/node_modules/enzyme-to-json/serializer"
92-
],
93-
"testPathIgnorePatterns": [
94-
"<rootDir>/(coverage|dist|node_modules|tools)/"
95-
]
83+
"collectCoverageFrom": ["src/**/*.{js,jsx}"],
84+
"snapshotSerializers": ["<rootDir>/node_modules/enzyme-to-json/serializer"],
85+
"testPathIgnorePatterns": ["<rootDir>/(coverage|dist|node_modules|tools)/"]
9686
},
9787
"eslintConfig": {
9888
"root": true,
@@ -103,10 +93,7 @@
10393
"node": true,
10494
"jest": true
10595
},
106-
"extends": [
107-
"airbnb",
108-
"prettier"
109-
],
96+
"extends": ["airbnb", "prettier"],
11097
"rules": {
11198
"camelcase": 0,
11299
"import/prefer-default-export": 0,
@@ -115,29 +102,19 @@
115102
"no-underscore-dangle": 0,
116103
"react/no-array-index-key": 0,
117104
"react/react-in-jsx-scope": 0,
118-
"semi": [
119-
2,
120-
"never"
121-
],
105+
"semi": [2, "never"],
122106
"react/forbid-prop-types": 0,
123107
"react/jsx-filename-extension": 0,
124108
"react/sort-comp": 0
125109
}
126110
},
127-
"eslintIgnore": [
128-
"node_modules/",
129-
"dist/",
130-
"coverage/"
131-
],
111+
"eslintIgnore": ["node_modules/", "dist/", "coverage/"],
132112
"prettier": {
133113
"semi": false,
134114
"singleQuote": true,
135115
"trailingComma": "all"
136116
},
137117
"lint-staged": {
138-
"*.js": [
139-
"prettier --write \"src/**/*.js\"",
140-
"git add"
141-
]
118+
"*.js": ["prettier --write \"src/**/*.js\"", "git add"]
142119
}
143120
}

0 commit comments

Comments
 (0)