1
0
mirror of https://github.com/privacyguides/privacyguides.org.git synced 2025-09-03 00:28:47 +00:00

Utilize node modules better

This commit is contained in:
2021-02-22 10:47:35 -06:00
parent 651fc16b66
commit 653bef7567
15 changed files with 16 additions and 16 deletions

View File

@@ -4,7 +4,11 @@
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"assets:copy:js": "cp node_modules/bootstrap/dist/js/bootstrap.bundle.min.js assets/js/vendor/ && cp node_modules/jquery/dist/jquery.min.js assets/js/vendor/",
"assets:copy:icons": "mkdir -p assets/fonts/vendor/fontawesome && cp -R \"node_modules/@fortawesome/fontawesome-pro/\" assets/fonts/vendor/fontawesome",
"assets:install": "npm run assets:copy:js && npm run assets:copy:icons",
"build": "npm run assets:install && bundle exec jekyll build",
"serve": "npm run assets:install && bundle exec jekyll serve --incremental --livereload"
},
"repository": {
"type": "git",