Skip to content

Commit adc3088

Browse files
committed
Preps v2.0.0-alpha
1 parent 39d04ad commit adc3088

File tree

1 file changed

+14
-39
lines changed

1 file changed

+14
-39
lines changed

package.json

Lines changed: 14 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
{
22
"name": "react-async-component",
3-
"version": "1.0.2",
4-
"description": "Create Components that resolve asynchronously, with support for server side rendering and code splitting.",
3+
"version": "2.0.0-alpha",
4+
"description":
5+
"Create Components that resolve asynchronously, with support for server side rendering and code splitting.",
56
"license": "MIT",
67
"main": "commonjs/index.js",
7-
"files": [
8-
"index.d.ts",
9-
"*.js",
10-
"*.md",
11-
"dist"
12-
],
8+
"files": ["index.d.ts", "*.js", "*.md", "dist"],
139
"typings": "./index.d.ts",
1410
"repository": {
1511
"type": "git",
@@ -26,7 +22,8 @@
2622
],
2723
"scripts": {
2824
"build": "node ./tools/scripts/build.js",
29-
"clean": "rimraf ./commonjs && rimraf ./umd && rimraf ./coverage && rimraf ./umd",
25+
"clean":
26+
"rimraf ./commonjs && rimraf ./umd && rimraf ./coverage && rimraf ./umd",
3027
"lint": "eslint src",
3128
"precommit": "lint-staged && npm run test",
3229
"prepublish": "npm run build",
@@ -87,19 +84,10 @@
8784
"rollup-plugin-uglify": "^3.0.0"
8885
},
8986
"jest": {
90-
"collectCoverageFrom": [
91-
"src/**/*.{js,jsx}"
92-
],
93-
"setupFiles": [
94-
"raf/polyfill",
95-
"<rootDir>/tools/tests/setup.js"
96-
],
97-
"snapshotSerializers": [
98-
"<rootDir>/node_modules/enzyme-to-json/serializer"
99-
],
100-
"testPathIgnorePatterns": [
101-
"<rootDir>/(coverage|dist|node_modules|tools)/"
102-
]
87+
"collectCoverageFrom": ["src/**/*.{js,jsx}"],
88+
"setupFiles": ["raf/polyfill", "<rootDir>/tools/tests/setup.js"],
89+
"snapshotSerializers": ["<rootDir>/node_modules/enzyme-to-json/serializer"],
90+
"testPathIgnorePatterns": ["<rootDir>/(coverage|dist|node_modules|tools)/"]
10391
},
10492
"eslintConfig": {
10593
"root": true,
@@ -110,10 +98,7 @@
11098
"node": true,
11199
"jest": true
112100
},
113-
"extends": [
114-
"airbnb",
115-
"prettier"
116-
],
101+
"extends": ["airbnb", "prettier"],
117102
"rules": {
118103
"camelcase": 0,
119104
"import/prefer-default-export": 0,
@@ -122,29 +107,19 @@
122107
"no-underscore-dangle": 0,
123108
"react/no-array-index-key": 0,
124109
"react/react-in-jsx-scope": 0,
125-
"semi": [
126-
2,
127-
"never"
128-
],
110+
"semi": [2, "never"],
129111
"react/forbid-prop-types": 0,
130112
"react/jsx-filename-extension": 0,
131113
"react/sort-comp": 0
132114
}
133115
},
134-
"eslintIgnore": [
135-
"node_modules/",
136-
"coverage/",
137-
"dist/"
138-
],
116+
"eslintIgnore": ["node_modules/", "coverage/", "dist/"],
139117
"prettier": {
140118
"semi": false,
141119
"singleQuote": true,
142120
"trailingComma": "all"
143121
},
144122
"lint-staged": {
145-
"*.js": [
146-
"prettier --write \"src/**/*.js\"",
147-
"git add"
148-
]
123+
"*.js": ["prettier --write \"src/**/*.js\"", "git add"]
149124
}
150125
}

0 commit comments

Comments
 (0)