Skip to content

Commit 6abc66c

Browse files
authoredFeb 25, 2019
chore(defaults): update (#72)
1 parent ea99cce commit 6abc66c

File tree

4 files changed

+1009
-2025
lines changed

4 files changed

+1009
-2025
lines changed
 

‎.eslintrc.js

+2-5
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ module.exports = {
33
plugins: ['prettier'],
44
extends: ['@webpack-contrib/eslint-config-webpack'],
55
rules: {
6-
'prettier/prettier': [
7-
'error',
8-
{ singleQuote: true, trailingComma: 'es5', arrowParens: 'always' },
9-
],
6+
'prettier/prettier': ['error'],
107
},
11-
};
8+
};

‎.prettierrc

-5
This file was deleted.

‎package-lock.json

+996-2,010
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+11-5
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,22 @@
1313
},
1414
"scripts": {
1515
"start": "npm run build -- -w",
16+
"prebuild": "npm run clean",
1617
"build": "cross-env NODE_ENV=production babel src -d dist --ignore 'src/**/*.test.js' --copy-files",
1718
"clean": "del-cli dist",
1819
"commitlint": "commitlint",
1920
"commitmsg": "commitlint -e $GIT_PARAMS",
2021
"lint": "eslint --cache src test",
21-
"prebuild": "npm run clean",
2222
"prepublish": "npm run build",
2323
"release": "standard-version",
2424
"security": "npm audit",
25-
"test": "jest",
25+
"test:only": "jest",
2626
"test:watch": "jest --watch",
2727
"test:coverage": "jest --collectCoverageFrom='src/**/*.js' --coverage",
28+
"pretest": "npm run lint",
29+
"test": "npm run test:only",
2830
"ci:lint": "npm run lint && npm run security",
29-
"ci:test": "npm run test -- --runInBand",
31+
"ci:test": "npm run test:only -- --runInBand",
3032
"ci:coverage": "npm run test:coverage -- --runInBand",
3133
"ci:lint:commits": "commitlint --from=origin/master --to=${CIRCLE_SHA1}",
3234
"defaults": "webpack-defaults"
@@ -57,7 +59,6 @@
5759
"@webpack-contrib/defaults": "^3.0.0",
5860
"@webpack-contrib/eslint-config-webpack": "^3.0.0",
5961
"babel-jest": "^24.0.0",
60-
"conventional-github-releaser": "^3.1.2",
6162
"cross-env": "^5.1.3",
6263
"del": "^3.0.0",
6364
"del-cli": "^1.1.0",
@@ -70,7 +71,7 @@
7071
"lint-staged": "^8.1.0",
7172
"memory-fs": "^0.4.1",
7273
"prettier": "^1.14.0",
73-
"standard-version": "^4.3.0",
74+
"standard-version": "^5.0.0",
7475
"uglify-js": "^3.4.3",
7576
"webpack": "^4.16.3"
7677
},
@@ -119,5 +120,10 @@
119120
"extends": [
120121
"@commitlint/config-conventional"
121122
]
123+
},
124+
"prettier": {
125+
"singleQuote": true,
126+
"trailingComma": "es5",
127+
"arrowParens": "always"
122128
}
123129
}

0 commit comments

Comments
 (0)
Please sign in to comment.