Spaces:
Build error
Build error
File size: 3,236 Bytes
89d6d49 2dc0850 89d6d49 2e3c217 89d6d49 78c8444 fdd8a8a 89d6d49 fdd8a8a 89d6d49 c1743db 89d6d49 dc1dd7e 89d6d49 86d69ee 89d6d49 f6c89e8 033a53a 33e14e5 89d6d49 e36d3b0 f6c89e8 89d6d49 94170db 2e3c217 89d6d49 6c23342 89d6d49 33e14e5 94170db dbeb695 abc817e ebc0900 7ee2c32 e27bcac 7ee2c32 b6846ab 89d6d49 f0c3a9b d2bebec 89d6d49 5cfb78b 86d69ee 89d6d49 f6c89e8 89d6d49 94170db 7ee2c32 cf32ab4 89d6d49 94170db 89d6d49 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 | {
"name": "reader",
"scripts": {
"lint": "eslint --ext .js,.ts .",
"build": "node ./integrity-check.cjs && tsc -p .",
"build:watch": "tsc --watch",
"build:clean": "rm -rf ./build",
"shell": "npm run build && firebase functions:shell",
"emu:stage": "cd .. && tar -czvf firebase-emu-preset.tgz .firebase-emu",
"emu:reset": "rm -rf ../.firebase-emu && tar -xzf ../firebase-emu-preset.tgz --directory ../",
"emu:start": "firebase emulators:start --import ../.firebase-emu --export-on-exit",
"emu:debug": "firebase emulators:start --import ../.firebase-emu --export-on-exit --inspect-functions",
"emu:debug2": "firebase emulators:start --import ../.firebase-emu --export-on-exit --inspect-functions",
"emu:kill": "killall java",
"serve": "npm run build && npm run emu:start",
"debug": "npm run build && npm run emu:start -- --inspect-functions",
"from-scratch": "npm run build && rm -rf ../.firebase-emu && firebase emulators:start --export-on-exit",
"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",
"gcp-build": "node node_modules/puppeteer/install.mjs"
},
"engines": {
"node": "20"
},
"main": "build/index.js",
"dependencies": {
"@esm2cjs/normalize-url": "^8.0.0",
"@google-cloud/translate": "^8.2.0",
"@mozilla/readability": "^0.5.0",
"@napi-rs/canvas": "^0.1.67",
"@types/turndown": "^5.0.4",
"@xmldom/xmldom": "^0.9.3",
"archiver": "^6.0.1",
"axios": "^1.3.3",
"bcrypt": "^5.1.0",
"busboy": "^1.6.0",
"civkit": "^0.8.3-3e69606",
"core-js": "^3.37.1",
"cors": "^2.8.5",
"dayjs": "^1.11.9",
"express": "^4.19.2",
"firebase-admin": "^12.1.0",
"firebase-functions": "^6.1.1",
"htmlparser2": "^9.0.0",
"jose": "^5.1.0",
"langdetect": "^0.2.1",
"linkedom": "^0.18.4",
"maxmind": "^4.3.18",
"minio": "^7.1.3",
"node-libcurl": "^4.1.0",
"openai": "^4.20.0",
"pdfjs-dist": "^4.2.67",
"puppeteer": "^23.3.0",
"puppeteer-extra": "^3.3.6",
"puppeteer-extra-plugin-block-resources": "^2.4.3",
"puppeteer-extra-plugin-page-proxy": "^1.3.1",
"puppeteer-page-proxy": "^1.3.0",
"robots-parser": "^3.0.1",
"set-cookie-parser": "^2.6.0",
"simple-zstd": "^1.4.2",
"stripe": "^11.11.0",
"tiktoken": "^1.0.16",
"tld-extract": "^2.1.0",
"turndown": "^7.1.3",
"turndown-plugin-gfm": "^1.0.2",
"undici": "^5.24.0"
},
"devDependencies": {
"@types/archiver": "^5.3.4",
"@types/bcrypt": "^5.0.0",
"@types/busboy": "^1.5.4",
"@types/cors": "^2.8.17",
"@types/generic-pool": "^3.8.1",
"@types/node": "^20.14.13",
"@types/set-cookie-parser": "^2.4.7",
"@types/xmldom": "^0.1.34",
"@typescript-eslint/eslint-plugin": "^5.12.0",
"@typescript-eslint/parser": "^5.12.0",
"eslint": "^8.9.0",
"eslint-config-google": "^0.14.0",
"eslint-plugin-import": "^2.25.4",
"firebase-functions-test": "^3.0.0",
"replicate": "^0.16.1",
"typescript": "^5.5.4"
},
"private": true,
"exports": {
".": "./build/index.js"
}
}
|