Skip to content

Commit

Permalink
fix(*): update scripts & snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
reme3d2y committed Mar 25, 2020
1 parent aa0b9fc commit ce35a02
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 16 deletions.
12 changes: 2 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"lint": "yarn lint:css && yarn lint:js",
"lint:css": "stylelint ./src/**/*.css",
"lint:js": "eslint ./ --ext .ts,.tsx,.js,.jsx",
"test": "react-scripts test --watchAll=false",
"test": "react-scripts test --watchAll=false --testPathIgnorePatterns=./*/dist",
"format": "prettier --write \"./{src,bin}/**/*.{ts,tsx,js,jsx,css}\""
},
"browserslist": {
Expand Down Expand Up @@ -109,24 +109,16 @@
"lint-staged": {
"{src,bin}/**/*.{js,jsx,ts,tsx}": [
"prettier --write",
"git add",
"eslint"
],
"*.css": [
"prettier --write",
"git add",
"stylelint"
]
},
"husky": {
"hooks": {
"pre-commit": "yarn lint-staged && yarn test",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
"pre-commit": "yarn lint-staged && yarn test"
}
},
"commitlint": {
"extends": [
"./node_modules/arui-presets-lint/commitlint"
]
}
}
8 changes: 2 additions & 6 deletions src/button/src/__snapshots__/Component.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,13 @@ Object {
"baseElement": <body>
<div>
<button
class="component secondary m"
title=""
type="button"
class="component secondary m icon-only"
/>
</div>
</body>,
"container": <div>
<button
class="component secondary m"
title=""
type="button"
class="component secondary m icon-only"
/>
</div>,
"debug": [Function],
Expand Down

0 comments on commit ce35a02

Please sign in to comment.