Files
bedrock/package.json
strarsis 9857121ed0 Re-add i18n related scripts/tasks (#2958)
Scripts were accidentally removed in PR #2643.
2022-02-08 17:29:54 -06:00

37 lines
1016 B
JSON

{
"name": "sage",
"private": true,
"bud": {
"location": {
"src": "resources",
"dist": "public"
}
},
"browserslist": [
"extends @wordpress/browserslist-config"
],
"engines": {
"node": ">=16.0.0"
},
"scripts": {
"dev": "bud dev",
"build": "bud build",
"lint": "npm run lint:js && npm run lint:css",
"lint:js": "eslint resources/scripts",
"lint:css": "stylelint \"resources/**/*.{css,scss,vue}\"",
"test": "npm run lint",
"translate": "npm run translate:pot && npm run translate:js",
"translate:pot": "wp i18n make-pot . ./resources/lang/sage.pot --ignore-domain --include=\"app,resources\"",
"translate:js": "wp i18n make-json ./resources/lang --pretty-print"
},
"devDependencies": {
"@roots/bud": "^5.2.0",
"@roots/bud-eslint": "^5.2.0",
"@roots/bud-postcss": "^5.2.0",
"@roots/bud-prettier": "^5.2.0",
"@roots/bud-stylelint": "^5.2.0",
"@roots/bud-tailwindcss": "^5.2.0",
"@roots/sage": "^5.2.0"
}
}