Skip to content

Commit eb53fe6

Browse files
committed
add boostrap files using composer
1 parent d55249b commit eb53fe6

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

lizmap/composer.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
"violet/streaming-json-encoder": "^1.1.5",
1616
"guzzlehttp/guzzle": "^7.7.0",
1717
"halaxa/json-machine": "^1.1",
18-
"kevinrob/guzzle-cache-middleware": "^6.0"
18+
"kevinrob/guzzle-cache-middleware": "^6.0",
19+
"twbs/bootstrap": "^5.3.3"
1920
},
2021
"minimum-stability": "stable",
2122
"config": {
@@ -34,5 +35,11 @@
3435
"app-dir" : "./",
3536
"var-config-dir" : "var/config/"
3637
}
38+
},
39+
"scripts": {
40+
"post-update-cmd": [
41+
"php -r \"copy('vendor/twbs/bootstrap/dist/css/bootstrap.min.css', 'www/assets/css/bootstrap.min.css');\"",
42+
"php -r \"copy('vendor/twbs/bootstrap/dist/js/bootstrap.min.js', 'www/assets/js/bootstrap.min.js');\""
43+
]
3744
}
3845
}

0 commit comments

Comments
 (0)