-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
55 lines (55 loc) · 2.17 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
{
"name": "pn-local-validator",
"version": "2.3",
"description": "A system that emulates some features of Piattaforma Notifiche platform.",
"main": "dist/main.js",
"scripts": {
"generate": "npm run generate:api && npm run generate:pnapi",
"generate:pnapi": "shx rm -rf ./src/generated/pnapi && shx mkdir -p ./src/generated/pnapi && gen-api-models --api-spec ./openapi/bundled-api-external-b2b-pa-v2-3.yaml --no-strict --out-dir ./src/generated/pnapi --request-types --response-decoders",
"generate:api": "shx rm -rf ./src/generated/api && shx mkdir -p ./src/generated/api && gen-api-models --api-spec ./openapi/internal.yaml --no-strict --out-dir ./src/generated/api",
"clean": "tsc --build --clean",
"postcompile": "shx cp -R ./src/adapters/http/download/exampledocuments ./dist/adapters/http/download/exampledocuments",
"compile": "tsc",
"lint": "eslint src",
"lint:fix": "eslint --fix src",
"prettify": "prettier --write \"./**/*.ts\"",
"start": "npm run compile && node -r dotenv/config dist/main.js dotenv_config_path=.env.default",
"test": "DOTENV_CONFIG_PATH=./.env.default jest --setupFiles dotenv/config -i",
"testWindows": "cross-env DOTENV_CONFIG_PATH=./.env.default jest --setupFiles dotenv/config -i --coverage",
"prepare": "husky install"
},
"keywords": [],
"author": "",
"license": "SEE LICENSE IN LICENSE",
"devDependencies": {
"@pagopa/eslint-config": "^3.0.0",
"@pagopa/openapi-codegen-ts": "^13.0.1",
"@types/express": "^4.17.21",
"@types/jest": "^29.2.6",
"@types/node": "^18.11.18",
"@types/supertest": "^2.0.12",
"dotenv": "^16.0.3",
"eslint": "^8.32.0",
"husky": "^8.0.3",
"jest": "^29.3.1",
"prettier": "^2.8.3",
"shx": "^0.3.4",
"ts-jest": "^29.0.5",
"typescript": "^4.9.4"
},
"dependencies": {
"@jest-mock/express": "^2.0.2",
"@pagopa/ts-commons": "^10.13.0",
"cross-env": "^7.0.3",
"express": "^4.18.2",
"fp-ts": "^2.13.1",
"fp-ts-std": "^0.17.1",
"io-ts": "^2.2.20",
"io-ts-types": "^0.5.19",
"monocle-ts": "^2.3.13",
"newtype-ts": "^0.3.5",
"randexp": "^0.5.3",
"supertest": "^6.3.3",
"tslog": "^3.3.4"
}
}