generated from pagopa/io-functions-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
86 lines (86 loc) · 3.87 KB
/
package.json
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
{
"name": "@pagopa/io-functions-service-messages",
"version": "1.10.11",
"license": "MIT",
"scripts": {
"prebuild": "yarn generate",
"postbuild": "dependency-check package.json --no-dev --missing ./dist/**/*.js",
"build": "tsc",
"watch": "tsc --w",
"prestart": "npm run build && func extensions install --javascript",
"start:host": "func start --javascript",
"start": "npm-run-all --parallel start:host watch",
"test": "jest",
"test:coverage": "jest --coverage",
"lint": "eslint . -c .eslintrc.js --ext .ts,.tsx",
"openapi:bundle": "npm-run-all openapi:bundle:*",
"openapi:bundle:internal": "bundle-api-spec -i openapi/index_internal.yaml.template -o openapi/index.yaml -V $npm_package_version",
"openapi:bundle:external": "bundle-api-spec -i openapi/index_external.yaml.template -o openapi/index_external.yaml -V $npm_package_version",
"pregenerate": "npm run openapi:bundle",
"generate": "npm-run-all generate:*",
"generate:definitions": "rimraf ./generated/definitions && shx mkdir -p ./generated/definitions && gen-api-models --api-spec ./openapi/index.yaml --no-strict --out-dir ./generated/definitions",
"generate:backend-notification-hub": "shx rm -rf generated/notifications && shx mkdir -p generated/notifications && gen-api-models --strict 0 --api-spec https://raw.githubusercontent.com/pagopa/io-backend/v8.10.1/notification_queue_messages.yaml --out-dir generated/notifications",
"deploy": "npm run build && func azure functionapp publish io-functions-service-messages",
"dist:modules": "modclean -r -n default:safe && yarn install --production",
"predeploy": "npm-run-all build dist:modules",
"preversion": "auto-changelog --config .auto-changelog.json --unreleased --commit-limit false --stdout --template preview.hbs",
"version": "npm-run-all bump:*",
"bump:openapi": "npm-run-all bump:openapi:*",
"bump:openapi:internal": "bundle-api-spec -i openapi/index.yaml -o openapi/index.yaml -V $npm_package_version && git add openapi/index.yaml",
"bump:openapi:external": "bundle-api-spec -i openapi/index_external.yaml -o openapi/index_external.yaml -V $npm_package_version && git add openapi/index_external.yaml",
"bump:changelog": "auto-changelog -p --config .auto-changelog.json --unreleased && git add CHANGELOG.md"
},
"description": "",
"devDependencies": {
"@azure/functions": "^3.2.0",
"@pagopa/eslint-config": "^1.3.1",
"@pagopa/openapi-codegen-ts": "^11.3.0",
"@types/documentdb": "^1.10.5",
"@types/express": "^4.17.11",
"@types/html-to-text": "^1.4.31",
"@types/jest": "^24.0.15",
"@types/lolex": "^3.1.1",
"@types/nodemailer": "^4.6.8",
"auto-changelog": "^2.2.1",
"danger": "^4.0.2",
"danger-plugin-digitalcitizenship": "^0.3.1",
"dotenv": "^8.2.0",
"eslint-plugin-prettier": "^4.0.0",
"fast-check": "^1.16.0",
"jest": "^24.8.0",
"jest-mock-express": "^0.1.1",
"lolex": "^5.1.1",
"modclean": "^3.0.0-beta.1",
"nock": "^13.0.5",
"npm-run-all": "^4.1.5",
"prettier": "^1.18.2",
"shx": "^0.3.2",
"ts-jest": "^24.0.2",
"typescript": "^4.3.5"
},
"dependencies": {
"@azure/cosmos": "^4.0.0",
"@azure/storage-queue": "^12.4.0",
"@pagopa/express-azure-functions": "^2.1.1",
"@pagopa/io-backend-session-sdk": "^9.7.0",
"@pagopa/io-functions-commons": "^29.0.4",
"@pagopa/ts-commons": "^12.5.0",
"abort-controller": "^3.0.0",
"applicationinsights": "^1.8.10",
"azure-storage": "^2.10.3",
"date-fns": "^2.16.1",
"dependency-check": "^4.1.0",
"documentdb": "^1.12.2",
"durable-functions": "^1.4.3",
"express": "^4.15.3",
"fp-ts": "^2.10.5",
"html-to-text": "^5.1.1",
"io-ts": "^2.2.16",
"node-fetch": "^2.6.7",
"nodemailer": "^6.4.16",
"nodemailer-sendgrid": "^1.0.3",
"redis": "^4.6.13",
"ts-pattern": "^4.0.5",
"winston": "^3.2.1"
}
}