forked from pagopa/io-functions-services
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
85 lines (85 loc) · 3.75 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
{
"name": "@pagopa/io-functions-services",
"version": "3.1.1",
"license": "MIT",
"scripts": {
"prebuild": "shx rm -rf dist && yarn generate",
"build": "tsc",
"build:production": "npm run prestart && yarn install --production",
"postbuild": "dependency-check package.json --no-dev --missing ./dist/**/*.js",
"watch": "tsc --w",
"prestart": "npm run build && func extensions install",
"start:host": "func start",
"start": "npm-run-all --parallel start:host watch",
"pretest": "npm-run-all generate:*",
"test": "jest",
"pretest:coverage": "npm-run-all generate:*",
"test:coverage": "jest --coverage",
"lint": "eslint . -c .eslintrc.js --ext .ts,.tsx",
"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:api-notifications": "rimraf ./generated/notifications && shx mkdir -p ./generated/notifications && gen-api-models --api-spec https://raw.githubusercontent.com/pagopa/io-backend/master/api_notifications.yaml --out-dir ./generated/notifications --response-decoders --request-types",
"generate:api-admin": "rimraf generated/api-admin && shx mkdir -p generated/api-admin && gen-api-models --api-spec https://raw.githubusercontent.com/pagopa/io-functions-admin/master/openapi/index.yaml --no-strict --out-dir generated/api-admin --request-types --response-decoders --client",
"openapi:bundle": "bundle-api-spec -i openapi/index.yaml.template -o openapi/index.yaml -V $npm_package_version",
"openapi:validate": "oval validate -p openapi/index.yaml",
"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": "bundle-api-spec -i openapi/index.yaml -o openapi/index.yaml -V $npm_package_version && git add openapi/index.yaml",
"bump:changelog": "auto-changelog -p --config .auto-changelog.json --unreleased && git add CHANGELOG.md"
},
"description": "",
"devDependencies": {
"@azure/functions": "^1.2.0",
"@pagopa/danger-custom-rules": "^2.0.3",
"@pagopa/eslint-config": "^1.3.1",
"@pagopa/openapi-codegen-ts": "^10.0.5",
"@types/cors": "^2.8.4",
"@types/documentdb": "^1.10.5",
"@types/express": "^4.16.0",
"@types/html-to-text": "^1.4.31",
"@types/jest": "^24.0.15",
"@types/nodemailer": "^4.6.2",
"auto-changelog": "^2.2.1",
"danger": "^10.6.6",
"dependency-check": "^4.1.0",
"eslint-plugin-prettier": "^3.3.1",
"fast-check": "^1.16.0",
"jest": "^24.8.0",
"modclean": "^3.0.0-beta.1",
"npm-run-all": "^4.1.5",
"oval": "^1.0.0",
"prettier": "^1.18.2",
"shx": "^0.3.2",
"ts-jest": "^24.0.2",
"typescript": "^4.3.5"
},
"dependencies": {
"@azure/cosmos": "^3.11.5",
"@pagopa/express-azure-functions": "^2.0.0",
"@pagopa/io-functions-commons": "^22.0.1",
"@pagopa/ts-commons": "^10.2.0",
"applicationinsights": "^1.7.4",
"azure-storage": "^2.10.4",
"cors": "^2.8.4",
"date-fns": "^2.16.1",
"documentdb": "^1.12.2",
"durable-functions": "^1.4.3",
"express": "^4.15.3",
"fp-ts": "^2.11.1",
"html-to-text": "^4.0.0",
"io-ts": "^2.2.16",
"io-ts-types": "^0.5.16",
"monocle-ts": "^2.3.11",
"newtype-ts": "^0.3.4",
"node-fetch": "^2.6.1",
"nodemailer": "^6.4.16",
"nodemailer-sendgrid": "^1.0.3"
},
"resolutions": {
"handlebars": "~4.5.3",
"@pagopa/ts-commons": "^10.2.0"
}
}