File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"scripts" : {
3
3
"package" : " npm run package-prepare && cp chrome/headless_shell.tar.gz dist && cd dist && zip -rq ../package.zip ." ,
4
- "package-nochrome" : " npm run package-prepare && zip -rq ../package.zip ." ,
4
+ "package-nochrome" : " npm run package-prepare && cd dist && zip -rq ../package.zip ." ,
5
5
"package-prepare" : " npm run lint && npm run babel && cp -r package.json dist && cd dist && PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1 npm install --production" ,
6
6
"babel" : " rm -rf dist && mkdir dist && ./node_modules/.bin/babel src --out-dir dist" ,
7
7
"local" : " npm run babel && cp -r node_modules dist && node dist/starter-kit/local.js" ,
Original file line number Diff line number Diff line change 1
- const CHROME_BUCKET = process . env . CHORME_BUCKET ;
1
+ const CHROME_BUCKET = process . env . CHROME_BUCKET ;
2
2
const CHROME_KEY = process . env . CHROME_KEY || 'headless_shell.tar.gz' ;
3
3
const aws = require ( 'aws-sdk' ) ;
4
4
const s3 = new aws . S3 ( { apiVersion : '2006-03-01' } ) ;
@@ -48,7 +48,6 @@ const existsExecutableChrome = () => {
48
48
49
49
const setupLocalChrome = ( ) => {
50
50
return new Promise ( ( resolve , reject ) => {
51
- console . log ( localChromePath ) ;
52
51
fs . createReadStream ( localChromePath )
53
52
. on ( 'error' , ( err ) => reject ( err ) )
54
53
. pipe ( tar . x ( {
You can’t perform that action at this time.
0 commit comments