Skip to content

Commit 98cb534

Browse files
committed
Preps v2.2.0
1 parent ae9257f commit 98cb534

File tree

1 file changed

+12
-34
lines changed

1 file changed

+12
-34
lines changed

package.json

Lines changed: 12 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,24 @@
11
{
22
"name": "react-tree-walker",
3-
"version": "2.1.3",
4-
"description": "Walk a React element tree, executing a provided function against each node.",
3+
"version": "2.2.0",
4+
"description":
5+
"Walk a React element tree, executing a provided function against each node.",
56
"license": "MIT",
67
"main": "commonjs/index.js",
7-
"files": [
8-
"*.js",
9-
"*.md",
10-
"umd",
11-
"commonjs"
12-
],
8+
"files": ["*.js", "*.md", "umd", "commonjs"],
139
"repository": {
1410
"type": "git",
1511
"url": "https://github.com/ctrlplusb/react-tree-walker.git"
1612
},
1713
"homepage": "https://github.com/ctrlplusb/react-tree-walker#readme",
1814
"author": "Sean Matheson <[email protected]>",
19-
"keywords": [
20-
"react",
21-
"react-element",
22-
"util",
23-
"tree",
24-
"visitor"
25-
],
15+
"keywords": ["react", "react-element", "util", "tree", "visitor"],
2616
"scripts": {
2717
"precommit": "lint-staged && npm run test",
2818
"build": "babel-node ./tools/scripts/build.js",
2919
"check": "npm run lint && npm run test",
30-
"clean": "rimraf ./commonjs && rimraf ./umd && rimraf ./coverage && rimraf ./umd",
20+
"clean":
21+
"rimraf ./commonjs && rimraf ./umd && rimraf ./coverage && rimraf ./umd",
3122
"lint": "eslint src",
3223
"prepublish": "npm run build",
3324
"test": "jest",
@@ -80,21 +71,14 @@
8071
"webpack-hot-middleware": "^2.19.1"
8172
},
8273
"jest": {
83-
"collectCoverageFrom": [
84-
"src/**/*.{js,jsx}"
85-
],
86-
"snapshotSerializers": [
87-
"<rootDir>/node_modules/enzyme-to-json/serializer"
88-
],
74+
"collectCoverageFrom": ["src/**/*.{js,jsx}"],
75+
"snapshotSerializers": ["<rootDir>/node_modules/enzyme-to-json/serializer"],
8976
"testPathIgnorePatterns": [
9077
"<rootDir>/(commonjs|coverage|flow-typed|node_modules|tools|umd)/"
9178
]
9279
},
9380
"lint-staged": {
94-
"src/**/*.js": [
95-
"prettier --write",
96-
"git add"
97-
]
81+
"src/**/*.js": ["prettier --write", "git add"]
9882
},
9983
"eslintConfig": {
10084
"root": true,
@@ -105,21 +89,15 @@
10589
"node": true,
10690
"jest": true
10791
},
108-
"extends": [
109-
"airbnb",
110-
"prettier"
111-
],
92+
"extends": ["airbnb", "prettier"],
11293
"rules": {
11394
"camelcase": 0,
11495
"import/prefer-default-export": 0,
11596
"import/no-extraneous-dependencies": 0,
11697
"no-underscore-dangle": 0,
11798
"react/no-array-index-key": 0,
11899
"react/react-in-jsx-scope": 0,
119-
"semi": [
120-
2,
121-
"never"
122-
],
100+
"semi": [2, "never"],
123101
"react/forbid-prop-types": 0,
124102
"react/jsx-filename-extension": 0,
125103
"react/sort-comp": 0

0 commit comments

Comments
 (0)