mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-12-22 09:00:10 +00:00
site: update node deps
This commit is contained in:
parent
3e52beef14
commit
cc3871adf6
@ -6,7 +6,7 @@ all:
|
|||||||
-rm -r tempts
|
-rm -r tempts
|
||||||
cp -r ts tempts
|
cp -r ts tempts
|
||||||
../scripts/dark-variant.sh tempts
|
../scripts/dark-variant.sh tempts
|
||||||
npx esbuild --bundle tempts/main.ts --outfile=out/main.js --minify
|
npx esbuild --target=es6 --bundle tempts/main.ts --outfile=out/main.js --minify
|
||||||
npx esbuild --bundle base.css --outfile=out/bundle.css --external:remixicon.css --external:modal.css --minify
|
npx esbuild --bundle base.css --outfile=out/bundle.css --external:remixicon.css --external:modal.css --minify
|
||||||
npx tailwindcss -c tailwind.config.js -i out/bundle.css -o out/bundle.css
|
npx tailwindcss -c tailwind.config.js -i out/bundle.css -o out/bundle.css
|
||||||
cd out && npx uncss index.html --stylesheets remixicon.css > _remixicon.css; cd ..
|
cd out && npx uncss index.html --stylesheets remixicon.css > _remixicon.css; cd ..
|
||||||
@ -23,7 +23,7 @@ debug:
|
|||||||
cp -r ts tempts
|
cp -r ts tempts
|
||||||
../scripts/dark-variant.sh tempts
|
../scripts/dark-variant.sh tempts
|
||||||
npx esbuild --bundle base.css --outfile=out/bundle.css --external:remixicon.css --minify
|
npx esbuild --bundle base.css --outfile=out/bundle.css --external:remixicon.css --minify
|
||||||
npx esbuild --bundle ts/main.ts --sourcemap --outfile=out/main.js --minify
|
npx esbuild --target=es6 --bundle ts/main.ts --sourcemap --outfile=out/main.js --minify
|
||||||
npx tailwindcss -c tailwind.config.js -i out/bundle.css -o out/bundle.css
|
npx tailwindcss -c tailwind.config.js -i out/bundle.css -o out/bundle.css
|
||||||
cp ../static/* out/
|
cp ../static/* out/
|
||||||
|
|
||||||
|
3938
site/package-lock.json
generated
3938
site/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -10,12 +10,12 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"a17t": "^0.10.1",
|
"a17t": "^0.10.1",
|
||||||
"esbuild": "^0.12.12",
|
"esbuild": "^0.18.1 ",
|
||||||
"remixicon": "^2.5.0",
|
"remixicon": "^3.3.0",
|
||||||
"tailwindcss": "^3.0.10",
|
"tailwindcss": "^3.3.2",
|
||||||
"uncss": "^0.17.3"
|
"uncss": "^0.17.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"live-server": "^1.1.0"
|
"live-server": "^1.2.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user