42 lines
1.3 KiB
JSON
42 lines
1.3 KiB
JSON
{
|
|
"name": "e2e-toolkit",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "pnpm generate && tsup src/cli.ts --watch",
|
|
"build": "pnpm generate && tsup src/cli.ts",
|
|
"start": "node dist/cli.ts",
|
|
"lint": "next lint",
|
|
"fetch-schema": "curl https://raw.githubusercontent.com/saleor/saleor/${npm_package_saleor_schemaVersion}/saleor/graphql/schema.graphql > graphql/schema.graphql",
|
|
"generate": "graphql-codegen",
|
|
"test": "vitest"
|
|
},
|
|
"saleor": {
|
|
"schemaVersion": "3.10"
|
|
},
|
|
"dependencies": {
|
|
"@urql/exchange-auth": "^1.0.0",
|
|
"@vitejs/plugin-react": "^3.0.1",
|
|
"commander": "^10.0.0",
|
|
"graphql": "^16.6.0",
|
|
"graphql-tag": "^2.12.6",
|
|
"jsdom": "^20.0.3",
|
|
"tsup": "^6.7.0",
|
|
"vite": "^4.0.4",
|
|
"vitest": "^0.27.1",
|
|
"graphql-request": "^6.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@graphql-codegen/cli": "2.13.3",
|
|
"@graphql-codegen/introspection": "2.2.1",
|
|
"@graphql-codegen/typed-document-node": "^2.3.3",
|
|
"@graphql-codegen/typescript": "2.7.3",
|
|
"@graphql-codegen/typescript-operations": "2.5.3",
|
|
"@graphql-typed-document-node/core": "^3.1.1",
|
|
"@types/node": "^18.11.18",
|
|
"eslint": "8.31.0",
|
|
"eslint-config-saleor": "workspace:*",
|
|
"typescript": "4.9.4"
|
|
}
|
|
}
|