-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathcomposer.json
More file actions
30 lines (30 loc) · 875 Bytes
/
composer.json
File metadata and controls
30 lines (30 loc) · 875 Bytes
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
{
"require": {
"samwilson/basildon": "^8"
},
"config": {
"process-timeout": 0
},
"scripts": {
"build-tree": [
"inkscape --export-type=png --export-filename=assets/tree.png assets/tree.svg",
"inkscape --export-type=pdf --export-filename=assets/tree.pdf assets/tree.svg"
],
"build-site": "basildon build .",
"build": [
"@build-tree",
"@build-site"
],
"deploy": [
"@build",
"./node_modules/.bin/netlify deploy --prod -d output"
],
"newitem": [
"cp _item_template.md content/items/$(( $(ls -1q content/items | wc -l) + 1 )).md"
]
},
"scripts-descriptions": {
"deploy": "Build and then deploy the site to Netlify.",
"newitem": "Create a new archive item."
}
}