This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// @ts-nocheck //TODO: enable remove once there are typings in place | |
// TODO: uncomment all three eslint() occurrences once eslint warnings and errors are fixed | |
// for info on emitCSS etc. https://github.com/rollup/rollup-plugin-svelte#extracting-css and https://svelte.dev/docs#svelte_preprocess | |
import { eslint } from 'rollup-plugin-eslint' | |
import { terser } from 'rollup-plugin-terser' | |
import babel from 'rollup-plugin-babel' | |
import commonjs from 'rollup-plugin-commonjs' | |
import config from 'sapper/config/rollup.js' | |
import environmentVariables from './config/env' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const colors = { | |
'transparent': 'transparent', | |
'black': '#000000', | |
'white': '#FFFFFF', | |
'red-50': '#FFEBEE', | |
'red-100': '#FFCDD2', | |
'red-200': '#EF9A9A', | |
'red-300': '#E57373', | |
'red-400': '#EF5350', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// @ts-nocheck //TODO: enable remove once there are typings in place | |
// TODO: uncomment all three eslint() occurrences once eslint warnings and errors are fixed | |
// for info on emitCSS etc. https://github.com/rollup/rollup-plugin-svelte#extracting-css and https://svelte.dev/docs#svelte_preprocess | |
import { eslint } from 'rollup-plugin-eslint' | |
import { terser } from 'rollup-plugin-terser' | |
import babel from 'rollup-plugin-babel' | |
import commonjs from 'rollup-plugin-commonjs' | |
import config from 'sapper/config/rollup.js' | |
import environmentVariables from './config/env' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"dependencies": { | |
"axios": "^0.19.0", | |
"compression": "^1.7.4", | |
"express": "^4.17.1", | |
"express-useragent": "^1.0.13", | |
"sirv": "^0.4.2" | |
}, | |
"description": "This is the source code repository for Everyday Market.", | |
"devDependencies": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// @ts-nocheck //TODO: enable remove once there are typings in place | |
// TODO: uncomment all three eslint() occurrences once eslint warnings and errors are fixed | |
// for info on emitCSS etc. https://github.com/rollup/rollup-plugin-svelte#extracting-css and https://svelte.dev/docs#svelte_preprocess | |
import { eslint } from 'rollup-plugin-eslint' | |
import { terser } from 'rollup-plugin-terser' | |
import babel from 'rollup-plugin-babel' | |
import commonjs from 'rollup-plugin-commonjs' | |
import config from 'sapper/config/rollup.js' | |
import environmentVariables from './config/env' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// @ts-nocheck | |
import { timestamp, files, shell, routes } from '@sapper/service-worker'; | |
const ASSETS = `cache${timestamp}`; | |
// `shell` is an array of all the files generated by the bundler, | |
// `files` is an array of everything in the `static` directory | |
const to_cache = shell.concat(files); | |
const cached = new Set(to_cache); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// @ts-nocheck //TODO: enable remove once there are typings in place | |
// TODO: uncomment all three eslint() occurrences once eslint warnings and errors are fixed | |
// for info on emitCSS etc. https://github.com/rollup/rollup-plugin-svelte#extracting-css and https://svelte.dev/docs#svelte_preprocess | |
import { eslint } from 'rollup-plugin-eslint' | |
import { terser } from 'rollup-plugin-terser' | |
import babel from 'rollup-plugin-babel' | |
import commonjs from 'rollup-plugin-commonjs' | |
import config from 'sapper/config/rollup.js' | |
import environmentVariables from './config/env' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
$: ({ communicationChannels, processes, description, responsibles, ...rest } = infusionPoints) | |
export let imageUrl | |
export let infusionPoints | |
export let imageTitle | |
let css; | |
let first = true | |
let flipped = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"title": "Hypersonic Pizza Delivery", | |
"intro": "Velit culpa velit do eiusmod nisi elit. Anim sit excepteur cupidatat non esse esse excepteur veniam. Anim sit excepteur cupidatat non esse esse.", | |
"imageUrl": "./temp-images/pizza.jpg", | |
"infusionPoints": { | |
"communicationChannels": "some urls to communication channels", | |
"processes": "another url", | |
"description": "url to main story page", | |
"responsibles": "list of names and roles for Hypersonic Pizza Delivery" |