Files
holobooth/functions/package.json
Erick aa492084bc fix: making the correct image adjustments on the cloud functions (#299)
* fix: making the correct image adjustments on the cloud functions

* fixing lint and timeout issue
2023-01-05 15:29:16 +00:00

62 lines
1.8 KiB
JSON

{
"name": "io-photobooth-api",
"private": true,
"main": "lib/index.js",
"engines": {
"node": "19"
},
"scripts": {
"build": "tsc",
"deploy": "firebase deploy --only functions",
"dev": "tsc -w & firebase emulators:start --only functions",
"lint": "eslint --ext .js,.ts .",
"lint:fix": "eslint --fix --ext .js,.ts .",
"logs": "firebase functions:log",
"serve": "npm run build && firebase emulators:start --only functions",
"shell": "npm run build && firebase functions:shell",
"start": "npm run shell",
"test:coverage": "jest --collect-coverage",
"test:ts": "mocha -r ts-node/register --reporter spec tests/**/*.js",
"test:upload": "gsutil cp testdata/upload.jpeg gs://io-photobooth-dev.appspot.com/uploads",
"test": "jest",
"watch": "tsc --watch"
},
"dependencies": {
"busboy": "^1.6.0",
"firebase-admin": "^10.3.0",
"firebase-functions": "^4.1.0",
"fluent-ffmpeg": "^2.1.2",
"fs": "^0.0.1-security",
"jimp": "^0.16.2",
"mustache": "^4.2.0",
"uuid": "^9.0.0"
},
"devDependencies": {
"@types/jest": "^26.0.24",
"@types/mustache": "^4.2.2",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"eslint": "^7.32.0",
"eslint-config-google": "^0.14.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^24.7.0",
"firebase-functions-test": "^3.0.0",
"firebase-mock": "^2.3.2",
"jest": "^29.3.1",
"jest-mock-extended": "^3.0.1",
"jest-when": "^3.5.2",
"mocha": "^10.2.0",
"prettier": "^2.8.1",
"prettier-eslint": "^12.0.0",
"ts-jest": "^29.0.3",
"typescript": "^4.9.4"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"testPathIgnorePatterns": [
"lib"
]
}
}