Skip to content
This repository was archived by the owner on Mar 17, 2021. It is now read-only.

Commit 03933c7

Browse files
authoredMar 18, 2019
chore(defaults): update (#70)
1 parent 3c7bf2c commit 03933c7

File tree

6 files changed

+1877
-1965
lines changed

6 files changed

+1877
-1965
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+
};

‎.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
package-lock.json -diff
22
* text=auto
33
bin/* eol=lf
4+
yarn.lock -diff

‎.prettierrc

-5
This file was deleted.

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Please take a moment to read our contributing guidelines if you haven't yet done
8181

8282
## License
8383

84-
#### [MIT](./LICENSE)
84+
[MIT](./LICENSE)
8585

8686
[npm]: https://img.shields.io/npm/v/raw-loader.svg
8787
[npm-url]: https://npmjs.com/package/raw-loader

‎package-lock.json

+1,855-1,943
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+18-11
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,21 @@
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",
18-
"commitlint": "commitlint",
19-
"commitmsg": "commitlint -e $GIT_PARAMS",
19+
"commitlint": "commitlint --from=master",
2020
"lint": "eslint --cache src test",
21-
"prebuild": "npm run clean",
2221
"prepublish": "npm run build",
2322
"release": "standard-version",
2423
"security": "npm audit",
25-
"test": "jest",
24+
"test:only": "jest",
2625
"test:watch": "jest --watch",
2726
"test:coverage": "jest --collectCoverageFrom='src/**/*.js' --coverage",
27+
"pretest": "npm run lint",
28+
"test": "npm run test:only",
2829
"ci:lint": "npm run lint && npm run security",
29-
"ci:test": "npm run test -- --runInBand",
30+
"ci:test": "npm run test:only -- --runInBand",
3031
"ci:coverage": "npm run test:coverage -- --runInBand",
3132
"ci:lint:commits": "commitlint --from=origin/master --to=${CIRCLE_SHA1}",
3233
"defaults": "webpack-defaults"
@@ -48,21 +49,21 @@
4849
"@babel/preset-env": "^7.1.6",
4950
"@commitlint/cli": "^7.1.6",
5051
"@commitlint/config-conventional": "^7.1.2",
51-
"@webpack-contrib/defaults": "^3.0.5",
52+
"@webpack-contrib/defaults": "^3.1.0",
5253
"@webpack-contrib/eslint-config-webpack": "^3.0.0",
53-
"babel-jest": "^24.1.0",
54+
"babel-jest": "^24.5.0",
5455
"cross-env": "^5.2.0",
55-
"del": "^3.0.0",
56+
"del": "^4.0.0",
5657
"del-cli": "^1.1.0",
5758
"eslint": "^5.10.0",
5859
"eslint-plugin-import": "^2.14.0",
5960
"eslint-plugin-prettier": "^3.0.0",
6061
"husky": "^1.2.0",
61-
"jest": "^24.1.0",
62+
"jest": "^24.5.0",
6263
"lint-staged": "^8.1.0",
6364
"memory-fs": "^0.4.1",
6465
"prettier": "^1.11.1",
65-
"standard-version": "^4.3.0",
66+
"standard-version": "^5.0.2",
6667
"webpack": "^4.3.0"
6768
},
6869
"keywords": [
@@ -83,7 +84,8 @@
8384
},
8485
"husky": {
8586
"hooks": {
86-
"pre-commit": "lint-staged"
87+
"pre-commit": "lint-staged",
88+
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
8789
}
8890
},
8991
"lint-staged": {
@@ -96,5 +98,10 @@
9698
"extends": [
9799
"@commitlint/config-conventional"
98100
]
101+
},
102+
"prettier": {
103+
"singleQuote": true,
104+
"trailingComma": "es5",
105+
"arrowParens": "always"
99106
}
100107
}

0 commit comments

Comments
 (0)
This repository has been archived.