Skip to content

Commit

Permalink
Preps v2.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrlplusb committed Mar 26, 2018
1 parent 6498a24 commit de89865
Showing 1 changed file with 14 additions and 37 deletions.
51 changes: 14 additions & 37 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,23 @@
{
"name": "react-sizeme",
"version": "2.3.6",
"description": "Make your React Components aware of their dimensions and position.",
"version": "2.4.0",
"description":
"Make your React Components aware of their dimensions and position.",
"license": "MIT",
"main": "dist/react-sizeme.js",
"files": [
"*.js",
"*.md",
"dist"
],
"files": ["*.js", "*.md", "dist"],
"repository": {
"type": "git",
"url": "https://github.com/ctrlplusb/react-sizeme.git"
},
"keywords": [
"library"
],
"keywords": ["library"],
"homepage": "https://github.com/ctrlplusb/react-sizeme#readme",
"author": "Sean Matheson <[email protected]>",
"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",
"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",
Expand Down Expand Up @@ -84,15 +80,9 @@
"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)/"
]
"collectCoverageFrom": ["src/**/*.{js,jsx}"],
"snapshotSerializers": ["<rootDir>/node_modules/enzyme-to-json/serializer"],
"testPathIgnorePatterns": ["<rootDir>/(coverage|dist|node_modules|tools)/"]
},
"eslintConfig": {
"root": true,
Expand All @@ -103,10 +93,7 @@
"node": true,
"jest": true
},
"extends": [
"airbnb",
"prettier"
],
"extends": ["airbnb", "prettier"],
"rules": {
"camelcase": 0,
"import/prefer-default-export": 0,
Expand All @@ -115,29 +102,19 @@
"no-underscore-dangle": 0,
"react/no-array-index-key": 0,
"react/react-in-jsx-scope": 0,
"semi": [
2,
"never"
],
"semi": [2, "never"],
"react/forbid-prop-types": 0,
"react/jsx-filename-extension": 0,
"react/sort-comp": 0
}
},
"eslintIgnore": [
"node_modules/",
"dist/",
"coverage/"
],
"eslintIgnore": ["node_modules/", "dist/", "coverage/"],
"prettier": {
"semi": false,
"singleQuote": true,
"trailingComma": "all"
},
"lint-staged": {
"*.js": [
"prettier --write \"src/**/*.js\"",
"git add"
]
"*.js": ["prettier --write \"src/**/*.js\"", "git add"]
}
}

0 comments on commit de89865

Please sign in to comment.