-
Notifications
You must be signed in to change notification settings - Fork 79
Expand file tree
/
Copy pathpackage.json
More file actions
161 lines (161 loc) · 4.41 KB
/
package.json
File metadata and controls
161 lines (161 loc) · 4.41 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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
{
"name": "@sourceloop/payment-service",
"version": "19.1.0",
"description": "payment microservice",
"keywords": [
"loopback-extension",
"loopback"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": ">=20"
},
"exports": {
".": "./dist/index.js",
"./sequelize": {
"types": "./dist/repositories/sequelize/index.d.ts"
}
},
"typesVersions": {
"*": {
"sequelize": [
"./dist/repositories/sequelize/index.d.ts"
]
}
},
"scripts": {
"apidocs": "npx widdershins --language_tabs 'javascript:JavaScript:request' 'javascript--nodejs:Node.JS' --summary openapi.json -o openapi.md",
"prebuild": "npm run clean",
"build": "lb-tsc",
"postbuild": "npm run openapi-spec",
"build:watch": "lb-tsc --watch",
"lint": "npm run eslint && npm run prettier:check",
"lint:fix": "npm run eslint:fix && npm run prettier:fix",
"prettier:cli": "prettier \"**/*.ts\" \"**/*.js\"",
"prettier:check": "npm run prettier:cli -- -l",
"prettier:fix": "npm run prettier:cli -- --write",
"eslint": "eslint --report-unused-disable-directives .",
"eslint:fix": "npm run eslint -- --fix",
"pretest": "npm run clean && lb-tsc",
"test": "lb-mocha --allow-console-logs \"dist/__tests__\" --timeout 5000",
"test:dev": "lb-mocha --allow-console-logs dist/__tests__/**/*.js",
"docker:build": "docker build -t payment-service .",
"docker:run": "docker run -p 3000:3000 -d payment-service",
"premigrate": "npm run build",
"migrate": "node ./dist/migrate",
"preopenapi-spec": "rm -rf dist/__tests__",
"openapi-spec": "node ./dist/openapi-spec && npm run apidocs",
"prestart": "npm run rebuild",
"start": "node -r source-map-support/register .",
"clean": "lb-clean dist *.tsbuildinfo .eslintcache",
"rebuild": "npm run clean && npm run build",
"postinstall": "node migration.js"
},
"repository": {
"type": "git",
"url": "https://github.com/sourcefuse/loopback4-microservice-catalog.git",
"directory": "services/payment-service"
},
"author": "Sourcefuse",
"license": "MIT",
"files": [
"README.md",
"dist",
"src",
"migration.js",
"migrations",
"database.json",
"!*/__tests__"
],
"peerDependencies": {
"db-migrate": "^1.0.0-beta.21",
"db-migrate-pg": "^1.3.0"
},
"dependencies": {
"@loopback/boot": "^8.0.4",
"@loopback/context": "^8.0.3",
"@loopback/core": "^7.0.3",
"@loopback/openapi-v3": "^11.0.4",
"@loopback/repository": "^8.0.3",
"@loopback/rest": "^15.0.4",
"@loopback/rest-explorer": "^8.0.4",
"@loopback/service-proxy": "^8.0.3",
"@paypal/checkout-server-sdk": "^1.0.3",
"@sourceloop/core": "^20.0.6",
"dotenv": "^16.4.5",
"dotenv-extended": "^2.9.0",
"handlebars": "^4.7.7",
"loopback4-authentication": "^13.0.0",
"loopback4-authorization": "^8.0.0",
"loopback4-soft-delete": "^11.0.0",
"razorpay": "^2.8.1",
"stripe": "^8.218.0",
"tslib": "^2.6.2",
"uuid": "^8.3.2"
},
"devDependencies": {
"@loopback/build": "^12.0.3",
"@loopback/eslint-config": "^16.0.1",
"@loopback/testlab": "^8.0.3",
"@types/lodash": "^4.14.182",
"@types/node": "^20.12.7",
"@types/paypal__checkout-server-sdk": "^1.0.5",
"@types/uuid": "^8.3.4",
"db-migrate": "^1.0.0-beta.21",
"db-migrate-pg": "^1.3.0",
"eslint": "^8.57.0",
"source-map-support": "^0.5.21",
"typescript": "^5.4.5",
"widdershins": "^4.0.1"
},
"optionalDependencies": {
"@loopback/sequelize": "^0.8.0"
},
"overrides": {
"widdershins": {
"swagger2openapi": "^7.0.8",
"markdown-it": "^12.3.2",
"yargs": "^17.4.1"
},
"body-parser": {
"debug": "^4.3.4"
},
"httpsnippet": {
"debug": "^4.3.4"
},
"send": {
"debug": "^4.3.4"
},
"tunnel-ssh": {
"debug": "^4.3.4"
},
"finalhandler": {
"debug": "^4.3.4"
},
"express": {
"debug": "^4.3.4",
"finalhandler": "^1.2.0",
"send": "^0.18.0",
"serve-static": "^1.15.0"
}
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"typedoc": {
"config": {
"entryPoints": [
"src/index.ts"
],
"out": "services/payment-service",
"plugin": [
"typedoc-plugin-markdown"
]
},
"settings": {
"includeOpenAPIDoc": true
}
}
}