Skip to content

Commit

Permalink
Preps v2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrlplusb committed Mar 14, 2018
1 parent ae9257f commit 98cb534
Showing 1 changed file with 12 additions and 34 deletions.
46 changes: 12 additions & 34 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,33 +1,24 @@
{
"name": "react-tree-walker",
"version": "2.1.3",
"description": "Walk a React element tree, executing a provided function against each node.",
"version": "2.2.0",
"description":
"Walk a React element tree, executing a provided function against each node.",
"license": "MIT",
"main": "commonjs/index.js",
"files": [
"*.js",
"*.md",
"umd",
"commonjs"
],
"files": ["*.js", "*.md", "umd", "commonjs"],
"repository": {
"type": "git",
"url": "https://github.com/ctrlplusb/react-tree-walker.git"
},
"homepage": "https://github.com/ctrlplusb/react-tree-walker#readme",
"author": "Sean Matheson <[email protected]>",
"keywords": [
"react",
"react-element",
"util",
"tree",
"visitor"
],
"keywords": ["react", "react-element", "util", "tree", "visitor"],
"scripts": {
"precommit": "lint-staged && npm run test",
"build": "babel-node ./tools/scripts/build.js",
"check": "npm run lint && npm run test",
"clean": "rimraf ./commonjs && rimraf ./umd && rimraf ./coverage && rimraf ./umd",
"clean":
"rimraf ./commonjs && rimraf ./umd && rimraf ./coverage && rimraf ./umd",
"lint": "eslint src",
"prepublish": "npm run build",
"test": "jest",
Expand Down Expand Up @@ -80,21 +71,14 @@
"webpack-hot-middleware": "^2.19.1"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx}"
],
"snapshotSerializers": [
"<rootDir>/node_modules/enzyme-to-json/serializer"
],
"collectCoverageFrom": ["src/**/*.{js,jsx}"],
"snapshotSerializers": ["<rootDir>/node_modules/enzyme-to-json/serializer"],
"testPathIgnorePatterns": [
"<rootDir>/(commonjs|coverage|flow-typed|node_modules|tools|umd)/"
]
},
"lint-staged": {
"src/**/*.js": [
"prettier --write",
"git add"
]
"src/**/*.js": ["prettier --write", "git add"]
},
"eslintConfig": {
"root": true,
Expand All @@ -105,21 +89,15 @@
"node": true,
"jest": true
},
"extends": [
"airbnb",
"prettier"
],
"extends": ["airbnb", "prettier"],
"rules": {
"camelcase": 0,
"import/prefer-default-export": 0,
"import/no-extraneous-dependencies": 0,
"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
Expand Down

0 comments on commit 98cb534

Please sign in to comment.