add new npm commands for syncing help

This commit is contained in:
Chris Garrity 2020-05-12 14:43:35 -04:00
parent 30b1975e94
commit b06d84de8b

View file

@ -21,6 +21,11 @@
"pull:blocks": "babel-node scripts/tx-pull-blocks ./editor/blocks/",
"pull:editor": "npm run pull:blocks && npm run pull:extensions && npm run pull:paint && npm run pull:interface",
"pull:www": "babel-node scripts/tx-pull-www ./www",
"pull:help:names": "./scripts/tx-pull-help-names.js",
"pull:help:articles": "./scripts/tx-pull-help-articles.js",
"pull:help": "npm run pull:help:names && npm run pull:help:articles",
"push:help": "./scripts/tx-push-help.js",
"sync:help": "npm run push:help && npm run pull:help",
"test": "npm run lint:js && npm run validate:editor && npm run validate:www && npm run build && npm run lint:json",
"update": "scripts/update-translations.sh",
"validate:blocks": "babel-node scripts/validate-translations ./editor/blocks/",