🔨 Added 'example' script to run exampleSite

pull/2/head
James Panther 2021-08-14 10:46:57 +10:00
parent 179941a6bf
commit 93bb7e5f00
No known key found for this signature in database
GPG Key ID: D36F789E45745D17
1 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,8 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "NODE_ENV=development ./node_modules/tailwindcss/lib/cli.js -i ./assets/css/main.css -o ./static/css/main.css --jit -w", "dev": "NODE_ENV=development ./node_modules/tailwindcss/lib/cli.js -i ./assets/css/main.css -o ./static/css/main.css --jit -w",
"build": "NODE_ENV=production ./node_modules/tailwindcss/lib/cli.js -i ./assets/css/main.css -o ./static/css/main.css --jit --minify" "build": "NODE_ENV=production ./node_modules/tailwindcss/lib/cli.js -i ./assets/css/main.css -o ./static/css/main.css --jit --minify",
"example": "hugo server --source exampleSite --themesDir ../.."
}, },
"repository": { "repository": {
"type": "git", "type": "git",