Add linting to yarn prepare-for-push and add 'yarn prepare-for-push-js' which only does frontend related tests, linting and NOTICEing

This commit is contained in:
Eric Schultz 2020-10-20 17:05:10 -05:00 committed by Eric Schultz
parent cba2acfe55
commit 0437352faa

View file

@ -16,7 +16,8 @@
"html-storybook": "bin/start-html-storybook -p 6007 -c .storybook/html",
"build-html-storybook": "bin/build-html-storybook -c .storybook/html",
"markdownlint": "npx markdownlint-cli **/*.md --ignore node_modules",
"prepare-for-push": "yarn test && yarn markdownlint --fix && bin/rails notice:update"
"prepare-for-push": "yarn test && yarn eslint && yarn markdownlint --fix && bin/rails notice:update",
"prepare-for-push-js": "yarn jest && yarn eslint && yarn markdownlint --fix && bin/rails notice:js:update"
},
"devDependencies": {
"@babel/core": "^7.0.0",