Skip to content

Instantly share code, notes, and snippets.

@evdama
Created July 13, 2019 05:38
Show Gist options
  • Select an option

  • Save evdama/11bd02e02fdc08a3e8369705977c2240 to your computer and use it in GitHub Desktop.

Select an option

Save evdama/11bd02e02fdc08a3e8369705977c2240 to your computer and use it in GitHub Desktop.
script section, invoke with npm run-s edm:*
{
"name": "",
"description": "This is the source code repository for Foo",
"version": "0.0.1",
"license": "UNLICENSED",
"scripts": {
"edm:purge": "rm -rf __sapper__/ node_modules/ package-lock.json static/global.css yarn.lock src/node_modules/@sapper functions/__sapper__ functions/node_modules/ functions/package-lock.json functions/src/node_modules functions/yarn.lock ",
"edm:backup": "cp -a ../edm ../edm_$(date +%s)",
"edm:install": "npm install; cd functions; npm install",
"edm:build": "sapper build; cd functions; tsc; cd ..; node predeploy.js",
"edm:test": "echo WRITEME",
"edm:test:loadtest": "artillery quick -d 120 -r 60 https://foo",
"edm:deploy": "firebase deploy",
"edm:dev": "sapper dev",
"export": "sapper export",
"start": "node __sapper__/build"
},
"overrideBrowserslist": "last 1 version",
"dependencies": {
"compression": "^1.7.4",
"express": "^4.17.1",
"firebase-admin": "^8.2.0",
"helmet": "^3.18.0",
"uuid": "^3.3.2"
},
"devDependencies": {
"@babel/core": "^7.5.4",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.5.0",
"@babel/preset-env": "^7.5.4",
"@babel/runtime": "^7.5.4",
"@firebase/app": "^0.4.10",
"@firebase/auth": "^0.11.4",
"@fullhuman/postcss-purgecss": "^1.2.0",
"autoprefixer": "^9.6.1",
"cssnano": "^4.1.10",
"eslint-plugin-svelte3": "^2.7.2",
"firebase": "^6.3.0",
"fs-extra": "^8.1.0",
"node-sass": "^4.12.0",
"npm-run-all": "^4.1.5",
"pkg": "^4.4.0",
"postcss": "^7.0.17",
"postcss-fail-on-warn": "^0.1.0",
"postcss-import": "^12.0.1",
"postcss-url": "^8.0.0",
"rollup": "^1.16.7",
"rollup-plugin-auto-external": "^2.0.0",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.0.1",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-globals": "^1.4.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-postcss": "^2.0.3",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-svelte": "^5.1.0",
"rollup-plugin-terser": "^5.1.1",
"sapper": "^0.27.4",
"sirv": "^0.4.2",
"svelte": "^3.6.7",
"svelte-preprocess": "^2.14.4",
"tailwindcss": "^1.0.5"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment