add 11ty watch scripts

This commit is contained in:
yuki 2025-03-27 04:41:36 -03:00
parent 69cdeeb2bf
commit cfbc244381
Signed by: yuki
GPG key ID: 0C98E6FF04EC3915
3 changed files with 2609 additions and 3 deletions

2598
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -4,10 +4,16 @@
"description": "my website!!",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"watch:eleventy": "npx @11ty/eleventy --watch",
"watch:sass": "npx sass sass:_site/css --watch",
"start": "npm run watch:eleventy & npm run watch:sass"
},
"keywords": [],
"author": "yuki",
"license": "WTFPL",
"type": "commonjs"
"type": "commonjs",
"dependencies": {
"@11ty/eleventy": "^3.0.0",
"sass": "^1.86.0"
}
}

View file

@ -4,5 +4,7 @@
"path": "."
}
],
"settings": {}
"settings": {
"liveServer.settings.root": "/_site/"
}
}