Skip to content

Commit

Permalink
Issue #1 - add build step for localization (npm run l10n) and npm run…
Browse files Browse the repository at this point in the history
… dev alias for npm start. Add --no-purge to makejson
  • Loading branch information
bobbingwide committed Jul 29, 2020
1 parent a4c1446 commit 23758d1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@
"lint:css": "wp-scripts lint-style",
"lint:js": "wp-scripts lint-js",
"start": "wp-scripts start",
"dev": "wp-scripts start",
"packages-update": "wp-scripts packages-update",
"makepot": "wp i18n make-pot . languages/sb-breadcrumbs-block.pot --exclude=node_modules,vendor,src",
"makejson": "wp i18n make-json languages"
"makejson": "wp i18n make-json languages --no-purge",
"l10n": "l10n sb-breadcrumbs-block"
},
"devDependencies": {
"@wordpress/scripts": "^12.1.1"
Expand Down

0 comments on commit 23758d1

Please sign in to comment.