mirror of
https://github.com/intergalacticalvariable/reader.git
synced 2024-11-16 11:42:32 +08:00
fix
This commit is contained in:
parent
94e65381bd
commit
77174f1511
9
backend/functions/.puppeteerrc.cjs
Normal file
9
backend/functions/.puppeteerrc.cjs
Normal file
|
@ -0,0 +1,9 @@
|
|||
const {join} = require('path');
|
||||
|
||||
/**
|
||||
* @type {import("puppeteer").Configuration}
|
||||
*/
|
||||
module.exports = {
|
||||
// Changes the cache location for Puppeteer.
|
||||
cacheDirectory: join(__dirname, '.cache', 'puppeteer'),
|
||||
};
|
|
@ -18,7 +18,8 @@
|
|||
"from-preset": "npm run build && npm run emu:reset && npm run emu:start",
|
||||
"start": "npm run shell",
|
||||
"deploy": "firebase deploy --only functions",
|
||||
"logs": "firebase functions:log"
|
||||
"logs": "firebase functions:log",
|
||||
"gcp-build": "node node_modules/puppeteer/install.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": "20"
|
||||
|
|
Loading…
Reference in New Issue
Block a user