mirror of
https://github.com/kvz/bash3boilerplate.git
synced 2025-01-21 03:24:57 +00:00
Lanyon should be a devDep
This commit is contained in:
parent
049002a1cc
commit
e61028f679
1
.gitignore
vendored
1
.gitignore
vendored
@ -19,3 +19,4 @@ website/main.sh
|
||||
website/assets/build
|
||||
website/.lanyon
|
||||
website/.lanyon/vendor/bin
|
||||
website/.lanyon/bin
|
||||
|
@ -6,9 +6,9 @@ matrix:
|
||||
- os: osx
|
||||
env:
|
||||
global:
|
||||
- secure: HlbJvT0tBn/SM4uWh05ZNaajN6WBeBwmoe97O3lGeIPrZYYqzjD2OqyIZiH/Qxvj/GvqbT8mxeVPW+8kOWeCA/Mud944v5N3IwMS0tl7J0Xs0X68jveDi2D5062n47b3j2zPCgY0bmsGTaEwelQ4ZHaR4xc2OCTkIpkcOStUAYs=
|
||||
- secure: Z+i9DAetBkHpus+NnQllDpZ3Za7V4wpM2KKmnXy8n/1Ghcm6DdwgKqMQQdOiOaCtlEpZ28HcjVE9zariEbwzQ1kaI2vUVzNqCuFxczK87e0Zc9hs8KDRzrbsCkkXUj6G3YJBVhIsh8u1YOXLE5Yhr/ov2XlnfPMcXOfaugpAyAw=
|
||||
- secure: CN9Lsqo2UHxvqr883F0yVuFsn99COawF3+5me9cFBxrKmE2fm933NucRh7jnVDI98xa4SEcw4126S0lvmxB4O33JDXsZ5wYpeLgTqkaytS/R5mPKXkuwHDnqjuqtqAn+bIZmBmlkcW6zhuGG2yN/VecVBG8t++seQg6iN8sUrYI=
|
||||
- secure: BeM6mpPEATdeFcAr/222QBZ9vRkZtU2WOi9QQy3mxsuDbWfM8RxYESIEJLipyhW9kXGoe6HGMqm4Kz9B/c4jrzeSXPpKnW7mIfnyqN+hhq1ctW9qPSqodu+fYNhdDxXh5wylml7hnIJzU70vFGrFknZRE2FYk5XvyHg2ImIKDJw=
|
||||
- secure: RJ5UpdXms9QkraylZ11OBfmcRrmKnb254Yj0yCDAvZmg+n+3jSTwMgGvPY8Ih8X/R1JeW3VTtFDkJXXPnjjfpNg1M91u4CAEUOMPciCudYcoF6GKb8psnOzneTTX5M7zuJSzknGdpv/foldxiPYxiY5Hn5bfjmikhAEl+QX/R0Y=
|
||||
- secure: BXf2buPt/DA09M5ZUdp/LpOWtUuz1mfCBopLyxvHv3Sl3ln+Az57wWsM2+Re+77lUOgihR2f6lXYfNUmQuSUo157rZPunQCqM/DJhK69KhREEB6SJDaJF3FVlnGla+Cwwb1IQUtMopqX9pBYD7w/zyWQFJCi20O57JEVIdfZZS8=
|
||||
install:
|
||||
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update; fi
|
||||
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then which gsed || brew install gnu-sed; fi
|
||||
|
2
FAQ.md
2
FAQ.md
@ -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:
|
||||
|
||||
```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.
|
||||
|
22
package.json
22
package.json
@ -12,16 +12,16 @@
|
||||
"test": "test/acceptance.sh",
|
||||
"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",
|
||||
"web:build:production": "LANYON_ENV=production lanyon build",
|
||||
"web:serve:production": "LANYON_ENV=production lanyon serve",
|
||||
"web:build": "lanyon build",
|
||||
"web:encrypt": "lanyon encrypt",
|
||||
"web:deploy": "lanyon deploy",
|
||||
"web: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'",
|
||||
"web:start:production": "npm-run-all web:inject web:build:production web:serve:production",
|
||||
"web:starter": "lanyon start",
|
||||
"web:start": "npm-run-all --parallel web:injecter web:starter"
|
||||
"build:production": "LANYON_ENV=production lanyon build",
|
||||
"serve:production": "LANYON_ENV=production lanyon serve",
|
||||
"build": "lanyon build",
|
||||
"encrypt": "lanyon encrypt",
|
||||
"deploy": "lanyon deploy",
|
||||
"inject": "./website/_scripts/inject.sh",
|
||||
"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'",
|
||||
"start:production": "npm-run-all inject build:production serve:production",
|
||||
"starter": "lanyon start",
|
||||
"start": "npm-run-all --parallel injecter starter"
|
||||
},
|
||||
"lanyon": {
|
||||
"projectDir": "website",
|
||||
@ -31,9 +31,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"fakefile": "0.0.6",
|
||||
"lanyon": "0.0.13"
|
||||
},
|
||||
"devDependencies": {
|
||||
"lanyon": "0.0.13",
|
||||
"browser-sync": "2.11.0",
|
||||
"cross-env": "1.0.7",
|
||||
"nodemon": "1.8.1",
|
||||
|
Loading…
Reference in New Issue
Block a user