|
1 | 1 | {
|
2 | 2 | "name": "react-async-bootstrapper",
|
3 | 3 | "version": "2.1.0",
|
4 |
| - "description": |
5 |
| - "Execute a bootstrap method on your React/Preact components. Useful for data prefetching and other activities.", |
| 4 | + "description": "Execute a bootstrap method on your React/Preact components. Useful for data prefetching and other activities.", |
6 | 5 | "license": "MIT",
|
7 | 6 | "main": "dist/react-async-bootstrapper.js",
|
8 |
| - "files": ["*.js", "*.md", "dist"], |
| 7 | + "files": [ |
| 8 | + "*.js", |
| 9 | + "*.md", |
| 10 | + "dist" |
| 11 | + ], |
9 | 12 | "repository": {
|
10 | 13 | "type": "git",
|
11 | 14 | "url": "https://github.com/ctrlplusb/react-async-bootstrapper.git"
|
12 | 15 | },
|
13 | 16 | "homepage": "https://github.com/ctrlplusb/react-async-bootstrapper#readme",
|
14 | 17 | "author": "Sean Matheson <sean@ctrlplusb.com>",
|
15 |
| - "keywords": ["library"], |
| 18 | + "keywords": [ |
| 19 | + "library" |
| 20 | + ], |
16 | 21 | "scripts": {
|
17 | 22 | "build": "node ./tools/scripts/build.js",
|
18 | 23 | "clean": "rimraf ./dist && rimraf ./coverage",
|
|
32 | 37 | "babel-cli": "^6.26.0",
|
33 | 38 | "babel-core": "^6.26.0",
|
34 | 39 | "babel-eslint": "^8.0.1",
|
35 |
| - "babel-jest": "^21.2.0", |
| 40 | + "babel-jest": "^22.4.3", |
36 | 41 | "babel-loader": "^7.1.2",
|
37 | 42 | "babel-plugin-external-helpers": "^6.22.0",
|
38 | 43 | "babel-polyfill": "^6.26.0",
|
|
42 | 47 | "babel-preset-stage-3": "^6.24.1",
|
43 | 48 | "babel-register": "^6.26.0",
|
44 | 49 | "change-case": "^3.0.2",
|
45 |
| - "codecov": "^2.3.0", |
| 50 | + "codecov": "^3.0.0", |
46 | 51 | "cross-env": "^5.0.5",
|
47 | 52 | "enzyme": "^3.1.0",
|
48 | 53 | "enzyme-to-json": "^3.1.2",
|
49 |
| - "eslint": "^4.8.0", |
| 54 | + "eslint": "^4.19.1", |
50 | 55 | "eslint-config-airbnb": "^16.0.0",
|
51 | 56 | "eslint-config-prettier": "^2.6.0",
|
52 | 57 | "eslint-plugin-import": "^2.7.0",
|
|
55 | 60 | "gzip-size": "^4.0.0",
|
56 | 61 | "husky": "^0.14.3",
|
57 | 62 | "in-publish": "2.0.0",
|
58 |
| - "jest": "^22.4.2", |
| 63 | + "jest": "^22.4.3", |
59 | 64 | "lint-staged": "^7.0.0",
|
60 | 65 | "prettier": "^1.7.4",
|
61 | 66 | "pretty-bytes": "4.0.2",
|
|
73 | 78 | "react-tree-walker": "^4.0.2"
|
74 | 79 | },
|
75 | 80 | "jest": {
|
76 |
| - "collectCoverageFrom": ["src/**/*.{js,jsx}"], |
77 |
| - "snapshotSerializers": ["<rootDir>/node_modules/enzyme-to-json/serializer"], |
78 |
| - "testPathIgnorePatterns": ["<rootDir>/(coverage|dist|node_modules|tools)/"] |
| 81 | + "collectCoverageFrom": [ |
| 82 | + "src/**/*.{js,jsx}" |
| 83 | + ], |
| 84 | + "snapshotSerializers": [ |
| 85 | + "<rootDir>/node_modules/enzyme-to-json/serializer" |
| 86 | + ], |
| 87 | + "testPathIgnorePatterns": [ |
| 88 | + "<rootDir>/(coverage|dist|node_modules|tools)/" |
| 89 | + ] |
79 | 90 | },
|
80 | 91 | "eslintConfig": {
|
81 | 92 | "root": true,
|
|
86 | 97 | "node": true,
|
87 | 98 | "jest": true
|
88 | 99 | },
|
89 |
| - "extends": ["airbnb", "prettier"], |
| 100 | + "extends": [ |
| 101 | + "airbnb", |
| 102 | + "prettier" |
| 103 | + ], |
90 | 104 | "rules": {
|
91 | 105 | "camelcase": 0,
|
92 | 106 | "import/prefer-default-export": 0,
|
|
95 | 109 | "no-underscore-dangle": 0,
|
96 | 110 | "react/no-array-index-key": 0,
|
97 | 111 | "react/react-in-jsx-scope": 0,
|
98 |
| - "semi": [2, "never"], |
| 112 | + "semi": [ |
| 113 | + 2, |
| 114 | + "never" |
| 115 | + ], |
99 | 116 | "react/forbid-prop-types": 0,
|
100 | 117 | "react/jsx-filename-extension": 0,
|
101 | 118 | "react/sort-comp": 0
|
102 | 119 | }
|
103 | 120 | },
|
104 |
| - "eslintIgnore": ["node_modules/", "dist/", "coverage/"], |
| 121 | + "eslintIgnore": [ |
| 122 | + "node_modules/", |
| 123 | + "dist/", |
| 124 | + "coverage/" |
| 125 | + ], |
105 | 126 | "prettier": {
|
106 | 127 | "semi": false,
|
107 | 128 | "singleQuote": true,
|
108 | 129 | "trailingComma": "all"
|
109 | 130 | },
|
110 | 131 | "lint-staged": {
|
111 |
| - "*.js": ["prettier --write \"src/**/*.js\"", "git add"] |
| 132 | + "*.js": [ |
| 133 | + "prettier --write \"src/**/*.js\"", |
| 134 | + "git add" |
| 135 | + ] |
112 | 136 | }
|
113 | 137 | }
|
0 commit comments