Lanyon should be a devDep

This commit is contained in:
Kevin van Zonneveld 2016-11-30 19:59:21 +01:00
parent 049002a1cc
commit e61028f679
4 changed files with 16 additions and 15 deletions

1
.gitignore vendored
View File

@ -19,3 +19,4 @@ website/main.sh
website/assets/build website/assets/build
website/.lanyon website/.lanyon
website/.lanyon/vendor/bin website/.lanyon/vendor/bin
website/.lanyon/bin

View File

@ -6,9 +6,9 @@ matrix:
- os: osx - os: osx
env: env:
global: global:
- secure: HlbJvT0tBn/SM4uWh05ZNaajN6WBeBwmoe97O3lGeIPrZYYqzjD2OqyIZiH/Qxvj/GvqbT8mxeVPW+8kOWeCA/Mud944v5N3IwMS0tl7J0Xs0X68jveDi2D5062n47b3j2zPCgY0bmsGTaEwelQ4ZHaR4xc2OCTkIpkcOStUAYs= - secure: BeM6mpPEATdeFcAr/222QBZ9vRkZtU2WOi9QQy3mxsuDbWfM8RxYESIEJLipyhW9kXGoe6HGMqm4Kz9B/c4jrzeSXPpKnW7mIfnyqN+hhq1ctW9qPSqodu+fYNhdDxXh5wylml7hnIJzU70vFGrFknZRE2FYk5XvyHg2ImIKDJw=
- secure: Z+i9DAetBkHpus+NnQllDpZ3Za7V4wpM2KKmnXy8n/1Ghcm6DdwgKqMQQdOiOaCtlEpZ28HcjVE9zariEbwzQ1kaI2vUVzNqCuFxczK87e0Zc9hs8KDRzrbsCkkXUj6G3YJBVhIsh8u1YOXLE5Yhr/ov2XlnfPMcXOfaugpAyAw= - secure: RJ5UpdXms9QkraylZ11OBfmcRrmKnb254Yj0yCDAvZmg+n+3jSTwMgGvPY8Ih8X/R1JeW3VTtFDkJXXPnjjfpNg1M91u4CAEUOMPciCudYcoF6GKb8psnOzneTTX5M7zuJSzknGdpv/foldxiPYxiY5Hn5bfjmikhAEl+QX/R0Y=
- secure: CN9Lsqo2UHxvqr883F0yVuFsn99COawF3+5me9cFBxrKmE2fm933NucRh7jnVDI98xa4SEcw4126S0lvmxB4O33JDXsZ5wYpeLgTqkaytS/R5mPKXkuwHDnqjuqtqAn+bIZmBmlkcW6zhuGG2yN/VecVBG8t++seQg6iN8sUrYI= - secure: BXf2buPt/DA09M5ZUdp/LpOWtUuz1mfCBopLyxvHv3Sl3ln+Az57wWsM2+Re+77lUOgihR2f6lXYfNUmQuSUo157rZPunQCqM/DJhK69KhREEB6SJDaJF3FVlnGla+Cwwb1IQUtMopqX9pBYD7w/zyWQFJCi20O57JEVIdfZZS8=
install: install:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update; fi - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then which gsed || brew install gnu-sed; fi - if [ "$TRAVIS_OS_NAME" = "osx" ]; then which gsed || brew install gnu-sed; fi

2
FAQ.md
View File

@ -97,7 +97,7 @@ Somewhat inconsistent but true to Unix ancestry the abbreviation for our
You should have a working Node.js >=10 and Ruby >=2 install on your workstation. When that is the case, you can run: You should have a working Node.js >=10 and Ruby >=2 install on your workstation. When that is the case, you can run:
```bash ```bash
npm run web:preview npm run start
``` ```
This will install and start all required services and automatically open a webbrowser that reloads as soon as you make any changes to the source. This will install and start all required services and automatically open a webbrowser that reloads as soon as you make any changes to the source.

View File

@ -12,16 +12,16 @@
"test": "test/acceptance.sh", "test": "test/acceptance.sh",
"version:current": "node -e 'console.log(require(\"./package.json\").version)'", "version:current": "node -e 'console.log(require(\"./package.json\").version)'",
"version:replace": "replace 'v\\d+\\.\\d+\\.\\d+' \"v$(npm run --silent version:current)\" main.sh src/*.sh", "version:replace": "replace 'v\\d+\\.\\d+\\.\\d+' \"v$(npm run --silent version:current)\" main.sh src/*.sh",
"web:build:production": "LANYON_ENV=production lanyon build", "build:production": "LANYON_ENV=production lanyon build",
"web:serve:production": "LANYON_ENV=production lanyon serve", "serve:production": "LANYON_ENV=production lanyon serve",
"web:build": "lanyon build", "build": "lanyon build",
"web:encrypt": "lanyon encrypt", "encrypt": "lanyon encrypt",
"web:deploy": "lanyon deploy", "deploy": "lanyon deploy",
"web:inject": "./website/_scripts/inject.sh", "inject": "./website/_scripts/inject.sh",
"web:injecter": "nodemon --verbose --watch ./ --ignore 'website/*.md' --ignore website/_site --ignore website/.lanyon --ext html,json,md,js,css,png,jpg --exec 'npm run web:inject'", "injecter": "nodemon --verbose --watch ./ --ignore 'website/*.md' --ignore website/_site --ignore website/.lanyon --ext html,json,md,js,css,png,jpg --exec 'npm run inject'",
"web:start:production": "npm-run-all web:inject web:build:production web:serve:production", "start:production": "npm-run-all inject build:production serve:production",
"web:starter": "lanyon start", "starter": "lanyon start",
"web:start": "npm-run-all --parallel web:injecter web:starter" "start": "npm-run-all --parallel injecter starter"
}, },
"lanyon": { "lanyon": {
"projectDir": "website", "projectDir": "website",
@ -31,9 +31,9 @@
}, },
"dependencies": { "dependencies": {
"fakefile": "0.0.6", "fakefile": "0.0.6",
"lanyon": "0.0.13"
}, },
"devDependencies": { "devDependencies": {
"lanyon": "0.0.13",
"browser-sync": "2.11.0", "browser-sync": "2.11.0",
"cross-env": "1.0.7", "cross-env": "1.0.7",
"nodemon": "1.8.1", "nodemon": "1.8.1",