Replace Laravel Mix with Bud (#2643)
Co-authored-by: QWp6t <hi@qwp6t.me> Co-authored-by: Ben Word <ben@benword.com>
This commit is contained in:
51
package.json
51
package.json
@@ -1,46 +1,39 @@
|
||||
{
|
||||
"name": "sage",
|
||||
"private": true,
|
||||
"bud": {
|
||||
"location": {
|
||||
"src": "resources",
|
||||
"dist": "public"
|
||||
}
|
||||
},
|
||||
"browserslist": [
|
||||
"extends @wordpress/browserslist-config"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=12.14.0"
|
||||
"node": ">=16.0.0"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "mix",
|
||||
"build:production": "mix --production",
|
||||
"start": "mix watch",
|
||||
"hot": "mix watch --hot",
|
||||
"clear": "wp acorn optimize:clear",
|
||||
"test": "npm run lint",
|
||||
"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}\"",
|
||||
"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"
|
||||
"test": "npm run lint"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@roots/bud": "5.0.0-next.14",
|
||||
"@roots/sage": "5.0.0-next.14",
|
||||
"@tailwindcss/typography": "^0.4.1",
|
||||
"@tinypixelco/laravel-mix-wp-blocks": "^1.1.0",
|
||||
"@wordpress/babel-preset-default": "^6.1.0",
|
||||
"@wordpress/browserslist-config": "^4.0.0",
|
||||
"@wordpress/dependency-extraction-webpack-plugin": "^3.1.3",
|
||||
"babel-eslint": "^10.1.0",
|
||||
"browser-sync": "^2.26.14",
|
||||
"browser-sync-webpack-plugin": "^2.3.0",
|
||||
"eslint": "^7.27.0",
|
||||
"eslint-plugin-import": "^2.23.3",
|
||||
"laravel-mix": "^6.0.19",
|
||||
"postcss": "^8.3.0",
|
||||
"sass": "^1.34.0",
|
||||
"sass-loader": "11.1.1",
|
||||
"stylelint": "^13.13.1",
|
||||
"stylelint-config-standard": "^22.0.0",
|
||||
"tailwindcss": "^2.1.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"jquery": "^3.5.1"
|
||||
"@wordpress/browserslist-config": "4.1.0",
|
||||
"eslint": "7.32.0",
|
||||
"postcss": "8.3.11",
|
||||
"postcss-import": "14.0.2",
|
||||
"postcss-nested": "5.0.6",
|
||||
"postcss-preset-env": "7.0.0",
|
||||
"prettier": "2.4.1",
|
||||
"react": "17.0.2",
|
||||
"react-dom": "17.0.2",
|
||||
"tailwindcss": "2.2.19"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user