Skip to content

Commit 9101e4c

Browse files
committed
Adds react 16 as being supported.
1 parent 4294cb3 commit 9101e4c

File tree

1 file changed

+12
-28
lines changed

1 file changed

+12
-28
lines changed

package.json

Lines changed: 12 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,22 @@
11
{
22
"name": "react-async-bootstrapper",
33
"version": "1.1.1",
4-
"description": "Provides the ability to execute async bootstrapper functions within your React element tree.",
4+
"description":
5+
"Provides the ability to execute async bootstrapper functions within your React element tree.",
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-async-bootstrapper.git"
1612
},
1713
"homepage": "https://github.com/ctrlplusb/react-async-bootstrapper#readme",
1814
"author": "Sean Matheson <sean@ctrlplusb.com>",
19-
"keywords": [
20-
"library"
21-
],
15+
"keywords": ["library"],
2216
"scripts": {
2317
"build": "babel-node ./tools/scripts/build.js",
24-
"clean": "rimraf ./commonjs && rimraf ./umd && rimraf ./coverage && rimraf ./umd",
18+
"clean":
19+
"rimraf ./commonjs && rimraf ./umd && rimraf ./coverage && rimraf ./umd",
2520
"lint": "eslint src",
2621
"precommit": "lint-staged && npm run test",
2722
"prepublish": "npm run build",
@@ -30,8 +25,8 @@
3025
"test:coverage:deploy": "npm run test:coverage && codecov"
3126
},
3227
"peerDependencies": {
33-
"react": "^0.14.0 || ^15.0.0",
34-
"react-dom": "^0.14.0 || ^15.0.0"
28+
"react": "^0.14.0 || ^15.0.0 || ^16.0.0",
29+
"react-dom": "^0.14.0 || ^15.0.0 || ^16.0.0"
3530
},
3631
"devDependencies": {
3732
"app-root-dir": "1.0.2",
@@ -77,18 +72,13 @@
7772
"react-tree-walker": "^2.1.3"
7873
},
7974
"jest": {
80-
"collectCoverageFrom": [
81-
"src/**/*.{js,jsx}"
82-
],
75+
"collectCoverageFrom": ["src/**/*.{js,jsx}"],
8376
"testPathIgnorePatterns": [
8477
"<rootDir>/(commonjs|coverage|flow-typed|node_modules|tools|umd)/"
8578
]
8679
},
8780
"lint-staged": {
88-
"src/**/*.js": [
89-
"prettier --write",
90-
"git add"
91-
]
81+
"src/**/*.js": ["prettier --write", "git add"]
9282
},
9383
"eslintConfig": {
9484
"root": true,
@@ -102,10 +92,7 @@
10292
"extends": "airbnb",
10393
"rules": {
10494
"array-callback-return": 0,
105-
"arrow-parens": [
106-
"error",
107-
"as-needed"
108-
],
95+
"arrow-parens": ["error", "as-needed"],
10996
"camelcase": 0,
11097
"import/prefer-default-export": 0,
11198
"import/no-extraneous-dependencies": 0,
@@ -116,10 +103,7 @@
116103
"no-nested-ternary": 0,
117104
"react/no-array-index-key": 0,
118105
"react/react-in-jsx-scope": 0,
119-
"semi": [
120-
2,
121-
"never"
122-
],
106+
"semi": [2, "never"],
123107
"react/forbid-prop-types": 0,
124108
"react/jsx-filename-extension": 0,
125109
"react/sort-comp": 0

0 commit comments

Comments
 (0)