hippie-bus/driver/package.json
sthag d4eb2f743b feat: Change workspace and scripts
- Add 11ty script and replace direct usage of npx @11ty/eleventy
- Rename workspace to driver
2026-04-11 17:09:24 +02:00

22 lines
No EOL
1.1 KiB
JSON

{
"name": "hippie-bus-driver",
"private": true,
"scripts": {
"hello": "echo -n \"This is \" && node -p \"process.env.npm_package_name\" | tr '[:lower:]' '[:upper:]'",
"test": "echo \"Error: no test specified\" && exit 1",
"11ty": "cd ../ && NODE_OPTIONS='--preserve-symlinks' eleventy",
"clean": "npm run clean:build & npm run clean:deploy & npm run clean:report & npm run clean:test",
"clean:build": "rm -rf ../build/*",
"clean:deploy": "rm -rf ../deploy/*",
"clean:report": "rm -rf ../report/*",
"clean:test": "rm -rf ../test/*",
"style:compile": "sass ../source/style:../build/css --load-path=vendor",
"style:deploy": "sass ../source/style:../deploy/css --load-path=vendor",
"style:watch": "sass --watch ../source/style:../build/css --load-path=vendor",
"build:new": "npm run clean:build && npm run 11ty -- && npm run style:compile",
"build": "npm run 11ty -- && npm run style:compile",
"deploy": "npm run clean:deploy && npm run 11ty -- --output=deploy --pathprefix=hippie && npm run style:deploy",
"serve": "npm run style:watch & npm run 11ty -- --serve --incremental",
"debug": "DEBUG=* npm run 11ty --"
}
}