Make notice:js available from yarn only

This commit is contained in:
Eric Schultz 2020-10-24 23:55:31 -05:00 committed by Eric Schultz
parent e8d439d63c
commit 901ba0b896
2 changed files with 3 additions and 2 deletions

View file

@ -39,7 +39,7 @@ namespace :notice do
end
namespace :js do
notice_cmd = "npx @houdiniproject/noticeme@^1.1.0-pre1 -f NOTICE-js -i included.json -s 250"
notice_cmd = "yarn notice:js"
desc "generating NOTICE-js from ClearlyDefined.io"
task :update do

View file

@ -17,7 +17,8 @@
"build-html-storybook": "bin/build-html-storybook -c .storybook/html",
"markdownlint": "npx markdownlint-cli **/*.md --ignore node_modules",
"prepare-for-push": "yarn test && yarn eslint --fix && yarn markdownlint --fix && bin/rails notice:update",
"prepare-for-push-js": "yarn jest && yarn eslint --fix && yarn markdownlint --fix && bin/rails notice:js:update"
"prepare-for-push-js": "yarn jest && yarn eslint --fix && yarn markdownlint --fix && bin/rails notice:js:update",
"notice:js": "npx @houdiniproject/noticeme@^1.1.0-pre1 -f NOTICE-js -i included.json -s 250"
},
"devDependencies": {
"@babel/core": "^7.0.0",