Move inject to Lanyon prebuild

This commit is contained in:
Kevin van Zonneveld 2016-12-03 14:02:25 +01:00
parent b14eec4675
commit b38310e915

View File

@ -3,7 +3,7 @@
"description": "Copypastable templates to write better bash scripts",
"version": "2.1.0",
"scripts": {
"build:production": "npm run inject && LANYON_ENV=production lanyon build",
"build:production": "LANYON_ENV=production lanyon build",
"build": "lanyon build",
"deploy": "lanyon deploy",
"encrypt": "lanyon encrypt",
@ -25,7 +25,8 @@
"version:replace": "replace 'v\\d+\\.\\d+\\.\\d+' \"v$(npm run --silent version:current)\" main.sh src/*.sh"
},
"lanyon": {
"projectDir": "website"
"projectDir": "website",
"prebuild": "npm run inject"
},
"dependencies": {
"fakefile": "0.0.6"