@salesforce/b2c-tooling-sdk 0.0.4 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +20 -20
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/b2c-tooling-sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"description": "Core tooling library for Salesforce Commerce Cloud B2C CLI",
|
|
5
5
|
"author": "Charles Lavery",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -198,24 +198,6 @@
|
|
|
198
198
|
"specs",
|
|
199
199
|
"data"
|
|
200
200
|
],
|
|
201
|
-
"scripts": {
|
|
202
|
-
"generate:types": "openapi-typescript specs/data-api.json -o src/clients/ocapi.generated.ts && openapi-typescript specs/slas-admin-v1.yaml -o src/clients/slas-admin.generated.ts && openapi-typescript specs/ods-api-v1.json -o src/clients/ods.generated.ts && openapi-typescript specs/mrt-api-v1.json -o src/clients/mrt.generated.ts && openapi-typescript specs/custom-apis-v1.yaml -o src/clients/custom-apis.generated.ts",
|
|
203
|
-
"build": "pnpm run generate:types && pnpm run build:esm && pnpm run build:cjs",
|
|
204
|
-
"build:esm": "tsc -p tsconfig.esm.json",
|
|
205
|
-
"build:cjs": "tsc -p tsconfig.cjs.json && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
|
|
206
|
-
"clean": "shx rm -rf dist",
|
|
207
|
-
"lint": "eslint",
|
|
208
|
-
"format": "prettier --write .",
|
|
209
|
-
"format:check": "prettier --check .",
|
|
210
|
-
"pretest": "tsc --noEmit -p test",
|
|
211
|
-
"test": "c8 mocha --forbid-only \"test/**/*.test.ts\"",
|
|
212
|
-
"test:ci": "c8 mocha --forbid-only --reporter json --reporter-option output=test-results.json \"test/**/*.test.ts\"",
|
|
213
|
-
"test:unit": "mocha --forbid-only \"test/**/*.test.ts\"",
|
|
214
|
-
"test:watch": "mocha --watch \"test/**/*.test.ts\"",
|
|
215
|
-
"coverage": "c8 report",
|
|
216
|
-
"posttest": "pnpm run lint",
|
|
217
|
-
"generate:docs-index": "tsx scripts/generate-docs-index.ts"
|
|
218
|
-
},
|
|
219
201
|
"devDependencies": {
|
|
220
202
|
"@eslint/compat": "^1",
|
|
221
203
|
"@oclif/core": "^4",
|
|
@@ -269,5 +251,23 @@
|
|
|
269
251
|
"pino": "^10.1.0",
|
|
270
252
|
"pino-pretty": "^13.1.2",
|
|
271
253
|
"xml2js": "^0.6.2"
|
|
254
|
+
},
|
|
255
|
+
"scripts": {
|
|
256
|
+
"generate:types": "openapi-typescript specs/data-api.json -o src/clients/ocapi.generated.ts && openapi-typescript specs/slas-admin-v1.yaml -o src/clients/slas-admin.generated.ts && openapi-typescript specs/ods-api-v1.json -o src/clients/ods.generated.ts && openapi-typescript specs/mrt-api-v1.json -o src/clients/mrt.generated.ts && openapi-typescript specs/custom-apis-v1.yaml -o src/clients/custom-apis.generated.ts",
|
|
257
|
+
"build": "pnpm run generate:types && pnpm run build:esm && pnpm run build:cjs",
|
|
258
|
+
"build:esm": "tsc -p tsconfig.esm.json",
|
|
259
|
+
"build:cjs": "tsc -p tsconfig.cjs.json && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
|
|
260
|
+
"clean": "shx rm -rf dist",
|
|
261
|
+
"lint": "eslint",
|
|
262
|
+
"format": "prettier --write .",
|
|
263
|
+
"format:check": "prettier --check .",
|
|
264
|
+
"pretest": "tsc --noEmit -p test",
|
|
265
|
+
"test": "c8 mocha --forbid-only \"test/**/*.test.ts\"",
|
|
266
|
+
"test:ci": "c8 mocha --forbid-only --reporter json --reporter-option output=test-results.json \"test/**/*.test.ts\"",
|
|
267
|
+
"test:unit": "mocha --forbid-only \"test/**/*.test.ts\"",
|
|
268
|
+
"test:watch": "mocha --watch \"test/**/*.test.ts\"",
|
|
269
|
+
"coverage": "c8 report",
|
|
270
|
+
"posttest": "pnpm run lint",
|
|
271
|
+
"generate:docs-index": "tsx scripts/generate-docs-index.ts"
|
|
272
272
|
}
|
|
273
|
-
}
|
|
273
|
+
}
|