-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
30 lines (30 loc) · 1.37 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
"name": "kungbib-styleguide",
"version": "2.0.0",
"description": "Guidelines for quickly setting up UI in apps and services at the National Library of Sweden.",
"main": "index.js",
"repository": "[email protected]:Kungbib/styleguide.git",
"author": "Ola Blissing <[email protected]>",
"contributors": [
"Mattias Bolin <[email protected]>"
],
"license": "Apache-2.0",
"scripts": {
"serve": "mkdocs serve",
"postinstall": "yarn run clear_vendor && yarn run copy_vendor",
"clear_vendor": "rm -rf ./theme/vendor",
"create_vendor": "mkdir -p ./theme/vendor/",
"copy_vendor": "yarn run create_vendor && yarn run copy_styles && yarn run copy_assets && yarn run copy_bootstrap",
"copy_bootstrap": "mkdir -p ./theme/vendor/js/ && cp -r ./node_modules/bootstrap/dist/js/bootstrap.min.js ./theme/vendor/js/",
"copy_styles": "#cp -r ./node_modules/kungbib-styles/lib/. ./theme/vendor/",
"copy_assets": "mkdir -p ./theme/vendor/assets && cp -r ./node_modules/kungbib-styles/lib/assets/ ./theme/vendor/",
"sass:build": "sass ./theme/styles/main.scss:./theme/css/main.css",
"sass:watch": "sass --watch --poll theme/styles/main.scss:theme/css/main.css",
"build": "yarn run sass:build && mkdocs build",
"deploy": "yarn run build && ./deploy.sh"
},
"dependencies": {
"bootstrap": "^5.1.3",
"kungbib-styles": "^2.0.0"
}
}