“detoxify”

This commit is contained in:
Simon Bruder 2018-06-01 18:45:54 +00:00
parent e694fc9561
commit a1c564eb7c
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F
8 changed files with 7 additions and 2724 deletions

View file

@ -19,8 +19,9 @@ pipeline:
revealjs: revealjs:
image: node image: node
commands: environment:
- NODE_ENV=production - NODE_ENV=production
commands:
- ./compile.sh revealjs - ./compile.sh revealjs
publish: publish:

View file

@ -87,7 +87,7 @@ fonts: latex/fonts
https://cdn.jsdelivr.net/npm/mozilla-fira-pack/Fira/ttf/FiraSans-UltraLight.ttf https://cdn.jsdelivr.net/npm/mozilla-fira-pack/Fira/ttf/FiraSans-UltraLight.ttf
revealjs/node_modules: revealjs/node_modules:
(cd $(@D) && npm install) (cd $(@D) && NODE_ENV=development npm install)
revealjs/%/index.pdf: revealjs/%/index.html revealjs/%/index.pdf: revealjs/%/index.html
revealjs/node_modules/phantomjs-prebuilt/bin/phantomjs revealjs/node_modules/reveal.js/plugin/print-pdf/print-pdf.js file://$(PWD)/$<?print-pdf $@ revealjs/node_modules/phantomjs-prebuilt/bin/phantomjs revealjs/node_modules/reveal.js/plugin/print-pdf/print-pdf.js file://$(PWD)/$<?print-pdf $@

View file

@ -1,14 +1,10 @@
version: '3.5' version: '3.5'
services: services:
browser-sync: http:
image: node:alpine image: nginx:alpine
volumes: volumes:
- ./:/data:ro - ./:/usr/share/nginx/html/:ro
working_dir: /data
expose: expose:
- "3000" - "80"
- "3001"
labels: labels:
- "traefik.frontend.rule=Host:presis.pita.home.sbruder.de" - "traefik.frontend.rule=Host:presis.pita.home.sbruder.de"
- "traefik.port=3000"
command: ["./revealjs/node_modules/.bin/browser-sync", "start", "--no-open", "-s", "/data/", "--files", "**", "--ignore", "**/*.less"]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 897 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 MiB

After

Width:  |  Height:  |  Size: 1.1 MiB

File diff suppressed because it is too large Load diff

View file

@ -14,7 +14,6 @@
"author": "Simon Bruder", "author": "Simon Bruder",
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
"browser-sync": "^2.24.4",
"phantomjs-prebuilt": "^2.1.16" "phantomjs-prebuilt": "^2.1.16"
} }
} }