diff --git a/bus/package.json b/driver/package.json similarity index 59% rename from bus/package.json rename to driver/package.json index e3b62c1..4982148 100644 --- a/bus/package.json +++ b/driver/package.json @@ -1,9 +1,10 @@ { - "name": "hippie-bus-bus", + "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/*", @@ -12,10 +13,10 @@ "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 && npx @11ty/eleventy && npm run style:compile", - "build": "npx @11ty/eleventy && npm run style:compile", - "deploy": "npm run clean:deploy && npx @11ty/eleventy --output=deploy --pathprefix=hippie && npm run style:deploy", - "serve": "npm run style:watch & npx @11ty/eleventy --serve", - "debug": "DEBUG=* npx @11ty/eleventy --" + "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 --" } } \ No newline at end of file