-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
144 lines (144 loc) · 5.72 KB
/
package.json
File metadata and controls
144 lines (144 loc) · 5.72 KB
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
{
"name": "nufacturing-api",
"version": "1.0.0",
"_moduleAliases": {
"@app": "src/app",
"@event-handlers": "src/app/event-handlers",
"@domain": "src/domain",
"@infrastructure": "src/infrastructure",
"@interfaces": "src/interfaces",
"@scheduling": "src/infrastructure/scheduling",
"@controllers": "src/interfaces/http/controllers",
"@middleware": "src/interfaces/http/middleware",
"@repositories": "src/infrastructure/persistence/repositories"
},
"type": "module",
"scripts": {
"tsc": "nodemon --inspect",
"prepare": "npx husky install",
"pact": "npx jest --config jest.config.cjs --testPathPattern='src/.*\\.pact\\.test\\.ts'",
"clean": "npx rimraf dist dist-tests",
"build": "npm run clean && npx tsc -p tsconfig.json",
"start": "npx tsx src/main.ts",
"start:env": "npx cross-env NODE_ENV=${NODE_ENV:-local} npx ts-node -r tsconfig-paths/register -P tsconfig.json src/main.ts",
"watch": "cross-env NODE_ENV=development nodemon --watch \"src/**/*.ts\" --exec \"npx tsx watch src/main.ts\"",
"test:build": "npx tsc --noEmit -p tsconfig.json",
"test": "npx jest --config jest.config.cjs --coverage --testPathIgnorePatterns='src/.*\\.pact\\.test\\.ts'",
"test:inventory": "npx jest --config jest.config.cjs src/infrastructure/persistence/models/inventory/inventory-model.unit.test.ts --no-coverage",
"test:watch": "npx jest --watch --config jest.config.cjs",
"test:coverage": "npx nyc npm test",
"cypress:run": "npx cypress run",
"cypress:open": "npx cypress open",
"cypress:run:record": "npx cypress run --record",
"cypress:open:component": "npx cypress open-ct",
"cypress:run:component": "npx cypress run-ct",
"lint": "eslint --ext .ts,.tsx --config .eslintrc.cjs src",
"lint:fix": "eslint --ext .ts,.tsx --config .eslintrc.cjs src --fix",
"prettier": "npx prettier --check 'src/**/*.{ts,tsx,js,json,css,scss,md}'",
"prettier:fix": "npx prettier --write 'src/**/*.{ts,tsx,js,json,css,scss,md}'",
"precommit": "npm run lint && npm run prettier",
"cert": "openssl req -new -x509 -key key.pem -out cert.pem -days 365 -config \"C:/Program Files/Git/usr/ssl/openssl.cnf\"",
"docs": "node --loader ts-node/esm --experimental-specifier-resolution=node -r tsconfig-paths/register scripts/generate-docs.ts",
"ci:install": "npm ci",
"ci:lint": "npm run lint",
"ci:prettier": "npm run prettier",
"ci:test": "npm test --coverage",
"ci:cypress": "npm run cypress:run -- --reporter junit --reporter-options 'mochaFile=reports/junit/results-[hash].xml'",
"ci:pact": "npm run pact",
"ci:build": "npm run build",
"ci:deploy": "npm run deploy",
"ci": "npm run ci:install && npm run ci:lint && npm run ci:prettier && npm run ci:test && npm run ci:cypress && npm run ci:pact && npm run ci:build",
"data": "node --loader ts-node/esm --experimental-specifier-resolution=node -r tsconfig-paths/register src/infrastructure/persistence/utils/generate-inventory-item-data.ts",
"genfiles": "node --loader ts-node/esm --experimental-specifier-resolution=node -r tsconfig-paths/register scripts/generate-files.ts",
"graphviz": "set NODE_OPTIONS=--loader ts-node/esm && ts-node -r tsconfig-paths/register src/infrastructure/persistence/utils/graphviz-helper.ts"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint"
}
},
"dependencies": {
"@azure/msal-angular": "^3.0.25",
"@azure/msal-browser": "^3.26.1",
"@typegoose/typegoose": "^12.8.0",
"bcrypt": "^5.1.1",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"esm": "^3.2.25",
"express": "^4.21.0",
"express-async-errors": "^2.0.0",
"express-validator": "^7.2.0",
"formidable": "^3.5.1",
"graphviz": "^0.0.9",
"helmet": "^7.1.0",
"http": "^0.0.1-security",
"inversify": "^6.0.2",
"joi": "^17.13.3",
"jsonwebtoken": "^9.0.2",
"module-alias": "^2.2.3",
"mongodb": "^6.9.0",
"mongoose": "^8.6.1",
"node-cron": "^3.0.3",
"nodemailer": "^6.9.15",
"nufacturing-api": "file:",
"reflect-metadata": "^0.2.2",
"swagger-ui-express": "^4.1.2",
"ts-morph": "^23.0.0",
"winston": "^3.15.0",
"winston-mongodb": "^5.1.1"
},
"jest": {
"testEnvironment": "node",
"testTimeout": 30000,
"verbose": true
},
"devDependencies": {
"@openapitools/openapi-generator-cli": "^2.13.12",
"@pact-foundation/pact": "^13.1.4",
"@pact-foundation/pact-cli": "^16.0.1",
"@pact-foundation/pact-node": "^10.18.0",
"@types/bcrypt": "^5.0.2",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/graphviz": "^0.0.39",
"@types/jest": "^29.5.13",
"@types/jsonwebtoken": "^9.0.7",
"@types/mongodb-memory-server": "^2.3.0",
"@types/mongoose": "^5.11.97",
"@types/node": "^22.7.9",
"@types/node-cron": "^3.0.11",
"@types/nodemailer": "^6.4.16",
"@types/supertest": "^6.0.2",
"@types/swagger-jsdoc": "^6.0.4",
"@types/swagger-ui-express": "^4.1.6",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^8.8.0",
"@typescript-eslint/parser": "^8.8.0",
"cross-env": "^7.0.3",
"cypress": "^13.15.1",
"eslint": "^8.57.1",
"eslint-plugin-import": "^2.31.0",
"fs-extra": "^11.2.0",
"husky": "^8.0.0",
"jest": "^29.7.0",
"lnk": "^1.1.0",
"mongodb-memory-server": "^10.0.1",
"nock": "^13.5.5",
"nodemon": "^3.1.7",
"nyc": "^15.1.0",
"plop": "^4.0.1",
"prettier": "^3.3.3",
"rimraf": "^4.1.2",
"supertest": "^7.0.0",
"swagger-autogen": "^2.23.7",
"swagger-jsdoc": "^6.2.8",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.6.3",
"webpack-bundle-analyzer": "^4.10.2"
},
"resolutions": {
"cookie": "0.7.0"
}
}