generated from pagopa/io-functions-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
68 lines (68 loc) · 2.47 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
{
"name": "@pagopa/your-package-name",
"description": "",
"author": "IO team",
"repository": "https://github.com/pagopa/<YOUR PROJECT NAME>",
"version": "1.0.0",
"license": "MIT",
"scripts": {
"prebuild": "shx rm -rf dist && yarn 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 generate 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": "oval validate -p openapi/index.yaml",
"dist:modules": "modclean -r -n default:safe && yarn install --production",
"predeploy": "npm-run-all generate build dist:*",
"generate:definitions": "shx rm -rf ./generated/definitions && shx mkdir -p ./generated/definitions && gen-api-models --api-spec ./openapi/index.yaml --out-dir ./generated/definitions",
"generate": "npm-run-all generate:*",
"preversion": "auto-changelog --config .auto-changelog.json --unreleased --commit-limit false --stdout --template preview.hbs",
"version": "auto-changelog -p --config .auto-changelog.json --unreleased && git add CHANGELOG.md"
},
"devDependencies": {
"@azure/functions": "^1.2.2",
"@pagopa/danger-custom-rules": "^2.0.3",
"@pagopa/eslint-config": "^1.3.1",
"@pagopa/openapi-codegen-ts": "^10.0.5",
"@types/express": "^4.17.12",
"@types/jest": "^24.0.15",
"@types/node-fetch": "^2.5.7",
"@types/vfile-message": "^2.0.0",
"auto-changelog": "2.2.1",
"danger": "^10.3.0",
"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",
"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": "^21",
"@pagopa/ts-commons": "^10.3.0",
"azure-storage": "^2.10.3",
"durable-functions": "^1.4.4",
"express": "^4.15.3",
"fp-ts": "^2.10.5",
"io-ts": "^2.2.16",
"node-fetch": "^2.6.0",
"winston": "^3.2.1"
},
"resolutions": {
"handlebars": "~4.5.3"
}
}