Files
sage/package.json
2022-02-10 16:44:24 -06:00

37 lines
1009 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.3.2",
"@roots/bud-eslint": "5.3.2",
"@roots/bud-postcss": "5.3.2",
"@roots/bud-prettier": "5.3.2",
"@roots/bud-stylelint": "5.3.2",
"@roots/bud-tailwindcss": "5.3.2",
"@roots/sage": "5.3.2"
}
}