Initial commit

This commit is contained in:
Tom Lerendu 2021-06-16 14:09:26 +01:00
commit 7878e653a0
253 changed files with 24552 additions and 0 deletions

17
scripts/chrome.js Normal file
View file

@ -0,0 +1,17 @@
const fs = require('fs');
const execSync = require('child_process').execSync;
const workingDir = process.cwd();
const buildDir = `${ workingDir }/build`;
const removeFiles = ['robots.txt', 'manifest.json'];
removeFiles.forEach(
file => fs.unlinkSync(`${ buildDir }/${ file }`)
);
execSync('cp -r public-chrome/. build');
execSync('rm chrome-build.zip || true');
execSync('zip -vr chrome-build.zip build/* -x "*.DS_Store"');