-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathpackage.json
48 lines (48 loc) · 1.91 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
{
"private": false,
"publishConfig": {
"access": "public"
},
"name": "@commercetools/platform-sdk",
"version": "8.0.0",
"engines": {
"node": ">=18"
},
"description": "TypeScript definitions and SDK for commercetools Composable Commerce",
"keywords": ["commercetools", "composable commerce", "typescript", "sdk"],
"homepage": "https://github.com/commercetools/commercetools-typescript-sdks",
"bugs": "https://github.com/commercetools/commercetools-typescript-sdks/issues",
"repository": {
"type": "git",
"url": "https://github.com/commercetools/commercetools-typescript-sdks.git"
},
"files": ["dist", "CHANGELOG.md"],
"author": "Achraf Beniasaad",
"license": "MIT",
"main": "dist/commercetools-platform-sdk.cjs.js",
"module": "dist/commercetools-platform-sdk.esm.js",
"browser": {
"./dist/commercetools-platform-sdk.cjs.js": "./dist/commercetools-platform-sdk.browser.cjs.js",
"./dist/commercetools-platform-sdk.esm.js": "./dist/commercetools-platform-sdk.browser.esm.js"
},
"dependencies": {
"@commercetools/sdk-client-v2": "^3.0.0",
"@commercetools/sdk-middleware-auth": "^7.0.0",
"@commercetools/sdk-middleware-http": "^7.0.0",
"@commercetools/sdk-middleware-logger": "^3.0.0",
"@commercetools/ts-client": "^3.0.0"
},
"devDependencies": {
"@types/uuid": "10.0.0",
"organize-imports-cli": "0.10.0",
"tsconfig-replace-paths": "0.0.14",
"uuid": "11.0.4"
},
"scripts": {
"remove_path_alias": "tsconfig-replace-paths --project tsconfig-declarations.json -s ./src/generated -o ./src/generated",
"organize_imports": "find src/generated -type f -name '*.ts' | xargs organize-imports-cli",
"post_process_generate": "yarn remove_path_alias && yarn organize_imports",
"generate-ts-sdk": "rmf-codegen generate ${API_RAML_FILE} -o src/generated -t typescript_client",
"generate": "yarn generate-ts-sdk && yarn post_process_generate"
}
}