forked from pagopa/io-functions-lollipop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
87 lines (87 loc) · 3.81 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
87
{
"name": "@pagopa/io-functions-lollipop",
"description": "",
"author": "IO team",
"repository": "https://github.com/pagopa/io-functions-lollipop",
"version": "1.12.0",
"license": "MIT",
"scripts": {
"prebuild": "shx rm -rf dist && npm run generate",
"postbuild": "dependency-check package.json --no-dev --missing ./dist/**/*.js",
"build": "tsc",
"watch": "tsc -w",
"extensions:install": "func extensions install",
"start": "dotenv -e .env func start --javascript",
"predev": "npm-run-all build",
"dev": "npm-run-all --parallel start watch",
"test": "jest",
"test:coverage": "jest --coverage",
"lint": "eslint . -c .eslintrc.js --ext .ts,.tsx --cache",
"lint-api": "find ./openapi -name '*.yaml' -exec swagger-cli validate {} \\;",
"openapi:bundle": "bundle-api-spec -i openapi/internal.yaml.template -o openapi/internal.yaml -V $npm_package_version",
"openapi:bundle-external": "bundle-api-spec -i openapi/external.yaml.template -o openapi/external.yaml -V $npm_package_version",
"pregenerate": "npm-run-all openapi:bundle*",
"generate": "npm-run-all generate:*",
"generate:definitions-internal": "rimraf ./generated/definitions/internal && shx mkdir -p ./generated/definitions/internal && gen-api-models --api-spec ./openapi/internal.yaml --no-strict --out-dir ./generated/definitions/internal ",
"generate:definitions-external": "rimraf ./generated/definitions/external && shx mkdir -p ./generated/definitions/external && gen-api-models --api-spec ./openapi/external.yaml --no-strict --out-dir ./generated/definitions/external --request-types --response-decoders --client",
"generate:definitions-lollipop-first-sign": "rimraf generated/definitions/lollipop-first-consumer && gen-api-models --api-spec openapi/lollipop_first_consumer.yaml --out-dir generated/definitions/lollipop-first-consumer",
"dist:modules": "modclean -r -n default:safe && yarn install --production",
"predeploy": "npm-run-all build dist:*",
"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 openapi:* && git add openapi/*.yaml",
"bump:changelog": "auto-changelog -p --config .auto-changelog.json --unreleased && git add CHANGELOG.md"
},
"devDependencies": {
"@azure/functions": "^3.2.0",
"@pagopa/eslint-config": "^1.3.1",
"@types/express": "^4.17.12",
"@types/jest": "^24.0.15",
"@types/jsonwebtoken": "^9.0.1",
"@types/jwk-to-pem": "^2.0.1",
"@types/node-fetch": "^2.5.7",
"@types/vfile-message": "^2.0.0",
"@types/xml-crypto": "^1.4.2",
"@types/xmldom": "^0.1.31",
"auto-changelog": "2.2.1",
"dependency-check": "^4.1.0",
"dotenv-cli": "^3.1.0",
"eslint-plugin-prettier": "^3.3.1",
"jest": "^24.8.0",
"jest-mock-express": "^0.1.1",
"modclean": "^3.0.0-beta.1",
"npm-run-all": "^4.1.5",
"prettier": "^1.18.2",
"shx": "^0.3.2",
"swagger-cli": "^4.0.4",
"timekeeper": "^2.2.0",
"ts-jest": "^24.0.2",
"typescript": "^4.3.5"
},
"dependencies": {
"@azure/cosmos": "^3.17.2",
"@mattrglobal/http-signatures": "^4.0.1",
"@pagopa/express-azure-functions": "^2.0.0",
"@pagopa/io-functions-commons": "^28.1.0",
"@pagopa/openapi-codegen-ts": "^12.2.0",
"@pagopa/ts-commons": "^10.3.0",
"@pagopa/winston-ts": "^2.2.0",
"applicationinsights": "^1.7.4",
"azure-storage": "^2.10.3",
"date-fns": "^2.29.3",
"express": "^4.15.3",
"fp-ts": "^2.10.5",
"io-ts": "^2.2.16",
"jose": "^4.13.0",
"jsonwebtoken": "^9.0.0",
"jwk-to-pem": "^2.0.5",
"node-fetch": "^2.6.0",
"ulid": "^2.3.0",
"winston": "^3.2.1",
"xml-crypto": "^2.1.5",
"xmldom": "^0.6.0"
},
"resolutions": {
"handlebars": "~4.5.3"
}
}