Files
holobooth/functions/package.json

52 lines
1.5 KiB
JSON

{
"name": "io-photobooth-api",
"private": true,
"main": "lib/index.js",
"engines": {
"node": "14"
},
"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": {
"firebase-admin": "^9.6.0",
"firebase-functions": "^3.13.2",
"mustache": "^4.2.0"
},
"devDependencies": {
"@types/jest": "^26.0.22",
"@types/mustache": "^4.1.1",
"@typescript-eslint/eslint-plugin": "^4.21.0",
"@typescript-eslint/parser": "^4.21.0",
"eslint": "^7.23.0",
"eslint-config-google": "^0.14.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.1.3",
"jest": "^26.6.3",
"prettier": "~2.2.1",
"prettier-eslint": "~12.0.0",
"ts-jest": "^26.5.4",
"typescript": "^4.2.3"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"testPathIgnorePatterns": [
"lib"
]
}
}