Experimental port to Firebase hosting

This commit is contained in:
Michael Jackson
2019-01-05 16:50:05 -08:00
parent e4d6df255e
commit 31e7d3865a
300 changed files with 129300 additions and 5817 deletions

14
scripts/postinstall.js Normal file
View File

@ -0,0 +1,14 @@
const path = require('path');
const execSync = require('child_process').execSync;
function exec(cmd) {
execSync(cmd, { stdio: 'inherit', env: process.env });
}
process.chdir(path.resolve(__dirname, '../functions'));
if (process.env.CI) {
exec('npm ci');
} else {
exec('npm install');
}