-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
197 lines (197 loc) · 5.56 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
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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
{
"name": "@ipfs-shipyard/pinning-service-client",
"version": "3.0.0",
"description": "A lightweight client generated from the ipfs-pinning-service-spec defined at https://raw.githubusercontent.com/ipfs/pinning-services-api-spec/main/ipfs-pinning-service.yaml",
"author": "Russell Dempsey <1173416+SgtPooki@users.noreply.github.com>",
"license": "Apache-2.0 OR MIT",
"homepage": "https://github.com/ipfs-shipyard/js-pinning-service-http-client#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/ipfs-shipyard/js-pinning-service-http-client.git"
},
"bugs": {
"url": "https://github.com/ipfs-shipyard/js-pinning-service-http-client/issues"
},
"keywords": [
"dweb",
"ipfs",
"pinning service",
"protocol labs",
"web3"
],
"engines": {
"node": ">=16.0.0",
"npm": ">=7.0.0"
},
"type": "module",
"types": "./dist/src/index.d.ts",
"typesVersions": {
"*": {
"*": [
"*",
"dist/*",
"dist/src/*",
"dist/src/*/index"
],
"src/*": [
"*",
"dist/*",
"dist/src/*",
"dist/src/*/index"
]
}
},
"files": [
"src",
"dist/src",
"dist/dist.generated",
"!dist/test",
"!**/*.tsbuildinfo"
],
"exports": {
".": {
"import": "./dist/src/index.js",
"require": "./dist/src/index.js"
},
"./api/apis": {
"import": "./dist/dist.generated/apis",
"require": "./dist/dist.generated/apis"
}
},
"release": {
"branches": [
"main"
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits",
"releaseRules": [
{
"breaking": true,
"release": "major"
},
{
"revert": true,
"release": "patch"
},
{
"type": "feat",
"release": "minor"
},
{
"type": "fix",
"release": "patch"
},
{
"type": "chore",
"release": "patch"
},
{
"type": "docs",
"release": "patch"
},
{
"type": "test",
"release": "patch"
},
{
"scope": "no-release",
"release": false
}
]
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "chore",
"section": "Trivial Changes"
},
{
"type": "docs",
"section": "Trivial Changes"
},
{
"type": "test",
"section": "Tests"
}
]
}
}
],
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/github",
"@semantic-release/git"
]
},
"scripts": {
"ci:test": "run-s test:*",
"dep-check": "aegir dep-check dist/**/*.js",
"fix": "run-s fix:*",
"fix:lint": "aegir lint --fix",
"release": "aegir release",
"prepareAegir": "run-p pretest build:generated",
"prebuild": "run-p prepareAegir",
"build": "aegir build",
"build-todo:docs": "aegir docs -p false",
"build:generated": "tsc-silent -p tsconfig.generated.json --suppress 6133@generated 6192@generated --stats",
"postbuild:generated": "cp-cli dist/dist.generated dist.generated",
"pretest": "tsc -p tsconfig.MockServerController.json",
"test": "run-s test:*",
"test:node": "aegir test -t node --cov",
"test:chrome": "aegir test -t browser --cov",
"test:chrome-webworker": "aegir test -t webworker",
"test:firefox": "aegir test -t browser -- --browser firefox",
"test:firefox-webworker": "aegir test -t webworker -- --browser firefox",
"test:electron-main": "aegir test -t electron-main",
"posttest": "npx nyc report || echo 'coverage report temporarily broken'",
"pregen": "openapi-generator-cli validate -i https://raw.githubusercontent.com/ipfs/pinning-services-api-spec/v1.0.0/ipfs-pinning-service.yaml",
"gen": "run-p gen:fetch",
"postgen": "run-s build:generated",
"gen:fetch": "openapi-generator-cli generate --generator-key fetch",
"gen:node": "openapi-generator-cli generate --generator-key node",
"gen:ts": "openapi-generator-cli generate --generator-key ts",
"clean": "aegir clean",
"reset": "aegir clean node_modules dist dist.generated",
"lint": "aegir lint"
},
"devDependencies": {
"@openapitools/openapi-generator-cli": "^2.13.5",
"@swc/cli": "^0.4.0",
"@swc/core": "^1.7.18",
"@swc/helpers": "^0.5.12",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/mocha": "^10.0.7",
"@types/node": "^22.5.0",
"@types/portscanner": "^2.1.4",
"@types/winston": "^2.4.4",
"aegir": "^44.1.1",
"cors": "^2.8.5",
"cp-cli": "^2.0.0",
"dotenvrc": "^1.0.1",
"express": "^4.19.2",
"express-promise-router": "^4.1.1",
"mock-ipfs-pinning-service": "^0.4.2",
"npm-run-all": "^4.1.5",
"portscanner": "^2.2.0",
"regenerator-runtime": "^0.14.1",
"tsc-silent": "^1.2.2",
"winston": "^3.14.2"
}
}