-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
52 lines (52 loc) · 2.25 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
{
"name": "graphql-mesh-shopware",
"version": "0.0.1",
"description": "Use GraphQL Mesh with Shopware 6 admin or store API",
"scripts": {
"env:clear": "> .env",
"env:storeapi:load": "dotenv-run-script .env.storeapi --",
"env:storeapi:write": "echo \"OPENAPI_JSON_URL=\\\"$OPENAPI_JSON_URL\\\"\nOPENAPI_ACCESS_KEY=\\\"$OPENAPI_ACCESS_KEY\\\"\" > .env",
"env:adminapi:load": "dotenv-run-script .env.adminapi --",
"env:adminapi:write": "echo \"OPENAPI_JSON_URL=\\\"$OPENAPI_JSON_URL\\\"\nSHOPWARE_ADMIN_USERNAME=\\\"$SHOPWARE_ADMIN_USERNAME\\\"\nSHOPWARE_ADMIN_PASSWORD=\\\"$SHOPWARE_ADMIN_PASSWORD\\\"\" > .env",
"load:storeapi:json": "pnpm exec api-gen loadSchema --apiType=store --filename=schema/storeApi.json",
"load:adminapi:json": "pnpm exec api-gen loadSchema --apiType=admin --filename=schema/adminApi.json",
"precreate:storeapi:json": "pnpm run env:storeapi:load env:storeapi:write",
"create:storeapi:json": "pnpm run load:storeapi:json",
"postcreate:storeapi:json": "pnpm run env:clear",
"precreate:adminapi:json": "pnpm run env:adminapi:load env:adminapi:write",
"create:adminapi:json": "pnpm run load:adminapi:json",
"postcreate:adminapi:json": "pnpm run env:clear",
"prestart:storeapi": "pnpm run env:storeapi:load env:storeapi:write",
"start:storeapi": "pnpm exec graphql-mesh serve-source Shopware6StoreApi",
"poststart:storeapi": "pnpm run env:clear",
"prestart:adminapi": "pnpm run env:adminapi:load env:adminapi:write",
"start:adminapi": "pnpm exec graphql-mesh serve-source Shopware6AdminApi",
"poststart:adminapi": "pnpm run env:clear",
"validate": "pnpm exec mesh validate",
"start": "pnpm exec mesh start",
"build": "pnpm exec mesh build"
},
"keywords": [
"shopware",
"graphql",
"mesh",
"api",
"openapi",
"store",
"admin"
],
"author": "BrocksiNet",
"license": "MIT",
"dependencies": {
"@graphql-mesh/cli": "^0.89.7",
"@graphql-mesh/graphql": "^0.97.5",
"@graphql-mesh/openapi": "^0.99.6",
"@graphql-mesh/runtime": "^0.98.7",
"@shopware/api-client": "0.0.0-canary-20240403101343",
"graphql": "^16.8.1"
},
"devDependencies": {
"@shopware/api-gen": "0.0.0-canary-20240327123216",
"dotenv-run-script": "^0.4.1"
}
}