|
1 | 1 | {
|
2 | 2 | "name": "react-async-bootstrapper",
|
3 | 3 | "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.", |
5 | 6 | "license": "MIT",
|
6 | 7 | "main": "commonjs/index.js",
|
7 |
| - "files": [ |
8 |
| - "*.js", |
9 |
| - "*.md", |
10 |
| - "umd", |
11 |
| - "commonjs" |
12 |
| - ], |
| 8 | + "files": ["*.js", "*.md", "umd", "commonjs"], |
13 | 9 | "repository": {
|
14 | 10 | "type": "git",
|
15 | 11 | "url": "https://github.com/ctrlplusb/react-async-bootstrapper.git"
|
16 | 12 | },
|
17 | 13 | "homepage": "https://github.com/ctrlplusb/react-async-bootstrapper#readme",
|
18 | 14 | "author": "Sean Matheson <sean@ctrlplusb.com>",
|
19 |
| - "keywords": [ |
20 |
| - "library" |
21 |
| - ], |
| 15 | + "keywords": ["library"], |
22 | 16 | "scripts": {
|
23 | 17 | "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", |
25 | 20 | "lint": "eslint src",
|
26 | 21 | "precommit": "lint-staged && npm run test",
|
27 | 22 | "prepublish": "npm run build",
|
|
30 | 25 | "test:coverage:deploy": "npm run test:coverage && codecov"
|
31 | 26 | },
|
32 | 27 | "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" |
35 | 30 | },
|
36 | 31 | "devDependencies": {
|
37 | 32 | "app-root-dir": "1.0.2",
|
|
77 | 72 | "react-tree-walker": "^2.1.3"
|
78 | 73 | },
|
79 | 74 | "jest": {
|
80 |
| - "collectCoverageFrom": [ |
81 |
| - "src/**/*.{js,jsx}" |
82 |
| - ], |
| 75 | + "collectCoverageFrom": ["src/**/*.{js,jsx}"], |
83 | 76 | "testPathIgnorePatterns": [
|
84 | 77 | "<rootDir>/(commonjs|coverage|flow-typed|node_modules|tools|umd)/"
|
85 | 78 | ]
|
86 | 79 | },
|
87 | 80 | "lint-staged": {
|
88 |
| - "src/**/*.js": [ |
89 |
| - "prettier --write", |
90 |
| - "git add" |
91 |
| - ] |
| 81 | + "src/**/*.js": ["prettier --write", "git add"] |
92 | 82 | },
|
93 | 83 | "eslintConfig": {
|
94 | 84 | "root": true,
|
|
102 | 92 | "extends": "airbnb",
|
103 | 93 | "rules": {
|
104 | 94 | "array-callback-return": 0,
|
105 |
| - "arrow-parens": [ |
106 |
| - "error", |
107 |
| - "as-needed" |
108 |
| - ], |
| 95 | + "arrow-parens": ["error", "as-needed"], |
109 | 96 | "camelcase": 0,
|
110 | 97 | "import/prefer-default-export": 0,
|
111 | 98 | "import/no-extraneous-dependencies": 0,
|
|
116 | 103 | "no-nested-ternary": 0,
|
117 | 104 | "react/no-array-index-key": 0,
|
118 | 105 | "react/react-in-jsx-scope": 0,
|
119 |
| - "semi": [ |
120 |
| - 2, |
121 |
| - "never" |
122 |
| - ], |
| 106 | + "semi": [2, "never"], |
123 | 107 | "react/forbid-prop-types": 0,
|
124 | 108 | "react/jsx-filename-extension": 0,
|
125 | 109 | "react/sort-comp": 0
|
|
0 commit comments