Skip to content

Commit 057c3a2

Browse files
committed
Cleans package json.
1 parent 5951226 commit 057c3a2

File tree

2 files changed

+34
-12
lines changed

2 files changed

+34
-12
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 33 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,33 @@
11
{
22
"name": "react-tree-walker",
33
"version": "2.1.3",
4-
"description":
5-
"Walk a React element tree, executing a provided function against each node.",
4+
"description": "Walk a React element tree, executing a provided function against each node.",
65
"license": "MIT",
76
"main": "commonjs/index.js",
8-
"files": ["*.js", "*.md", "umd", "commonjs"],
7+
"files": [
8+
"*.js",
9+
"*.md",
10+
"umd",
11+
"commonjs"
12+
],
913
"repository": {
1014
"type": "git",
1115
"url": "https://github.com/ctrlplusb/react-tree-walker.git"
1216
},
1317
"homepage": "https://github.com/ctrlplusb/react-tree-walker#readme",
1418
"author": "Sean Matheson <sean@ctrlplusb.com>",
15-
"keywords": ["react", "react-element", "util", "tree", "visitor"],
19+
"keywords": [
20+
"react",
21+
"react-element",
22+
"util",
23+
"tree",
24+
"visitor"
25+
],
1626
"scripts": {
1727
"precommit": "lint-staged && npm run test",
1828
"build": "babel-node ./tools/scripts/build.js",
1929
"check": "npm run lint && npm run test",
20-
"clean":
21-
"rimraf ./commonjs && rimraf ./umd && rimraf ./coverage && rimraf ./umd",
30+
"clean": "rimraf ./commonjs && rimraf ./umd && rimraf ./coverage && rimraf ./umd",
2231
"lint": "eslint src",
2332
"prepublish": "npm run build",
2433
"test": "jest",
@@ -71,14 +80,21 @@
7180
"webpack-hot-middleware": "^2.19.1"
7281
},
7382
"jest": {
74-
"collectCoverageFrom": ["src/**/*.{js,jsx}"],
75-
"snapshotSerializers": ["<rootDir>/node_modules/enzyme-to-json/serializer"],
83+
"collectCoverageFrom": [
84+
"src/**/*.{js,jsx}"
85+
],
86+
"snapshotSerializers": [
87+
"<rootDir>/node_modules/enzyme-to-json/serializer"
88+
],
7689
"testPathIgnorePatterns": [
7790
"<rootDir>/(commonjs|coverage|flow-typed|node_modules|tools|umd)/"
7891
]
7992
},
8093
"lint-staged": {
81-
"src/**/*.js": ["prettier --write", "git add"]
94+
"src/**/*.js": [
95+
"prettier --write",
96+
"git add"
97+
]
8298
},
8399
"eslintConfig": {
84100
"root": true,
@@ -89,15 +105,21 @@
89105
"node": true,
90106
"jest": true
91107
},
92-
"extends": ["airbnb", "prettier"],
108+
"extends": [
109+
"airbnb",
110+
"prettier"
111+
],
93112
"rules": {
94113
"camelcase": 0,
95114
"import/prefer-default-export": 0,
96115
"import/no-extraneous-dependencies": 0,
97116
"no-underscore-dangle": 0,
98117
"react/no-array-index-key": 0,
99118
"react/react-in-jsx-scope": 0,
100-
"semi": [2, "never"],
119+
"semi": [
120+
2,
121+
"never"
122+
],
101123
"react/forbid-prop-types": 0,
102124
"react/jsx-filename-extension": 0,
103125
"react/sort-comp": 0

0 commit comments

Comments
 (0)