Last active
October 9, 2017 13:30
-
-
Save jthegedus/b83fde88382da9964f86589992f74ab7 to your computer and use it in GitHub Desktop.
Cloud Functions for Firebase - ES6 pkg json
This file contains hidden or 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
{ | |
"name": "firebase-functions-es6-example", | |
"version": "1.0.0", | |
"description": "Use ES6 to develop Cloud Functions for Firebase today!", | |
"repository": "https://github.com/jthegedus/firebase-functions-es6-example.git", | |
"license": "MIT", | |
"devDependencies": { | |
"babel-cli": "^6.26.0", | |
"babel-preset-es2015": "^6.24.1", | |
"rimraf": "^2.6.2", | |
}, | |
"scripts": { | |
"deploy": "yarn run package-functions && firebase deploy", | |
"prepackage-functions": "rimraf functions", | |
"package-functions": | |
"babel 'functionsES6' --out-dir 'functions' --presets=es2015 --copy-files --ignore 'node_modules'", | |
"postpackage-functions": "cd functions && yarn", | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment