Files
2024-06-18 11:59:42 +01:00

64 lines
2.4 KiB
JSON

{
"name": "functions",
"version": "1.0.0",
"__NOTE__:": "avoid hoisting for webpack and other conflicts",
"installConfig": {
"hoistingLimits": "workspaces"
},
"scripts": {
"watch": "./node_modules/.bin/webpack --watch",
"lint": "tslint --project tsconfig.json",
"build": "./node_modules/.bin/webpack",
"shell": "yarn build && firebase functions:shell",
"test": "firebase emulators:exec --only functions,firestore,hosting,auth,database,pubsub,storage --project demo-community-platform-emulated 'jest . --forceExit --detectOpenHandles --coverage --reporters=default --reporters=jest-junit'",
"test-ci": "./node_modules/.bin/firebase emulators:exec --only functions,firestore,hosting,auth,database,pubsub,storage --project demo-community-platform-emulated 'yarn jest . --forceExit --detectOpenHandles --coverage --reporters=default --reporters=jest-junit'",
"test:watch": "firebase emulators:exec --only functions,firestore,hosting,auth,database,pubsub,storage --ui --project demo-community-platform-emulated 'jest . --watch --forceExit --detectOpenHandles'",
"serve:email-templates": "node ./src/emailNotifications/development/server.mjs"
},
"main": "index.js",
"dependencies": {
"@google-cloud/logging": "^11.0.0",
"@rollup/plugin-replace": "^5.0.5",
"axios": "^1.7.2",
"body-parser": "^1.20.2",
"cors": "^2.8.5",
"dateformat": "^3.0.3",
"express": "^4.17.1",
"firebase-admin": "11.4.1",
"firebase-functions": "4.1.1",
"firebase-tools": "12.7.0",
"fs-extra": "^11.2.0",
"google-auth-library": "^9.10.0",
"handlebars": "^4.7.8",
"oa-shared": "workspace:*",
"sitemap": "^7.1.1",
"uuid": "^9.0.1"
},
"devDependencies": {
"@faker-js/faker": "7.6.0",
"@types/cors": "^2.8.8",
"@types/dateformat": "^3.0.1",
"@types/fs-extra": "^11.0.4",
"@types/jest": "^29.5.12",
"@types/node": "^20.8.0",
"@types/uuid": "^9.0.0",
"@types/webpack": "^5.28.5",
"@types/webpack-node-externals": "^3.0.4",
"concurrently": "^8.2.2",
"copy-webpack-plugin": "^12.0.2",
"cross-env": "^7.0.3",
"firebase-functions-test": "^3.2.0",
"jest": "29.7.0",
"jest-junit": "^16.0.0",
"supertest": "^6.3.3",
"ts-jest": "29.1.4",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"typescript": "^5.1.6",
"webpack": "^5.91.0",
"webpack-cli": "^5.1.4",
"webpack-node-externals": "^3.0.0"
},
"private": true
}