-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpostinstall.cmd
16 lines (16 loc) · 1.09 KB
/
postinstall.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
@echo off
:: Bootstrap 4.0.0 is a compiled in part of fundament.min.js from
:: https://github.com/acdh-oeaw/fundament
:: for %%f in (node_modules\bootstrap\dist\js\bootstrap.js node_modules\bootstrap\dist\js\bootstrap.min.js) do copy %%f js
for %%f in (node_modules\jquery\dist\jquery.js node_modules\jquery\dist\jquery.min.js node_modules\jquery\dist\jquery.min.map) do copy %%f js
cd node_modules\jquery-ui
del /s /q dist
cmd /c "npm install"
curl -lO https://raw.githubusercontent.com/jquery/jquery-ui/refs/heads/1-13-stable/Gruntfile.js
cmd /c "node_modules\.bin\grunt concat:css requirejs uglify"
cd ..\..
for %%f in (node_modules\jquery-ui\dist\jquery-ui.js node_modules\jquery-ui\dist\jquery-ui.min.js) do copy %%f js
copy node_modules\leaflet\dist\leaflet.css vendor
for %%f in (node_modules\leaflet\dist\leaflet.js node_modules\leaflet\dist\leaflet.js.map) do copy %%f js
for %%f in (node_modules\popper.js\dist\umd\popper.js node_modules\popper.js\dist\umd\popper.js.map) do copy %%f js
for %%f in (node_modules\popper.js\dist\umd\popper.min.js node_modules\popper.js\dist\umd\popper.min.js.map) do copy %%f js