mirror of
https://github.com/filamentphp/plugin-skeleton.git
synced 2025-12-06 21:48:53 +08:00
remove PluginServiceProvider and configure updates
This commit is contained in:
23
configure-stubs/package/package.json
Normal file
23
configure-stubs/package/package.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev:styles": "npx tailwindcss -i config-stubs/theme/plugin.css -o resources/dist/skeleton.css --postcss --watch",
|
||||
"dev:scripts": "esbuild resources/js/plugin.js --bundle --sourcemap=inline --outfile=resources/dist/skeleton.js --watch",
|
||||
"build:styles": "npx tailwindcss -i config-stubs/theme/plugin.css -o resources/dist/skeleton.css --postcss --minify && npm run purge",
|
||||
"build:scripts": "esbuild resources/js/plugin.js --bundle --minify --outfile=resources/dist/skeleton.js",
|
||||
"purge": "filament-purge -i resources/dist/skeleton.css -o resources/dist/skeleton.css",
|
||||
"dev": "npm-run-all --parallel dev:*",
|
||||
"build": "npm-run-all build:*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@awcodes/filament-plugin-purge": "^1.0.2",
|
||||
"autoprefixer": "^10.4.7",
|
||||
"esbuild": "^0.8.57",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"postcss": "^8.4.14",
|
||||
"postcss-import": "^15.0.0",
|
||||
"prettier": "^2.7.1",
|
||||
"prettier-plugin-tailwindcss": "^0.1.13",
|
||||
"tailwindcss": "^3.2"
|
||||
}
|
||||
}
|
||||
1
configure-stubs/package/plugin.css
Normal file
1
configure-stubs/package/plugin.css
Normal file
@@ -0,0 +1 @@
|
||||
@tailwind utilities;
|
||||
15
configure-stubs/theme/package.json
Normal file
15
configure-stubs/theme/package.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "npx tailwindcss -i config-stubs/theme/plugin.css -o resources/dist/skeleton.css --postcss --watch",
|
||||
"build": "npx tailwindcss -i config-stubs/theme/plugin.css -o resources/dist/skeleton.css --postcss --minify"
|
||||
},
|
||||
"devDependencies": {
|
||||
"autoprefixer": "^10.4.7",
|
||||
"postcss": "^8.4.14",
|
||||
"postcss-import": "^15.0.0",
|
||||
"prettier": "^2.7.1",
|
||||
"prettier-plugin-tailwindcss": "^0.1.13",
|
||||
"tailwindcss": "^3.2"
|
||||
}
|
||||
}
|
||||
1
configure-stubs/theme/plugin.css
Normal file
1
configure-stubs/theme/plugin.css
Normal file
@@ -0,0 +1 @@
|
||||
@import "../../vendor/filament/filament/resources/css/index.css";
|
||||
Reference in New Issue
Block a user