UNPKG

@shopify/api-codegen-preset

Version:
84 lines 2.21 kB
{ "name": "@shopify/api-codegen-preset", "version": "1.1.9", "description": "Preset for graphql-codegen to parse and type queries to Shopify APIs", "author": "Shopify", "license": "MIT", "homepage": "https://github.com/Shopify/shopify-app-js/tree/main/packages/api-clients/api-codegen-preset#readme", "repository": { "type": "git", "url": "git+https://github.com/Shopify/shopify-app-js.git", "directory": "packages/api-clients/api-codegen-preset" }, "bugs": { "url": "https://github.com/Shopify/shopify-app-js/issues" }, "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/ts/index.d.ts", "exports": { ".": { "module": { "types": "./dist/ts/index.d.ts", "default": "./dist/index.mjs" }, "import": { "types": "./dist/ts/index.d.ts", "default": "./dist/index.mjs" }, "require": { "types": "./dist/ts/index.d.ts", "default": "./dist/index.js" }, "default": "./dist/index.mjs" } }, "jest": { "setupFilesAfterEnv": [ "./src/tests/setupTests.ts" ], "transform": { ".*": "babel-jest" } }, "publishConfig": { "access": "public" }, "keywords": [ "shopify", "codegen", "graphql", "Admin API", "Storefront API" ], "files": [ "dist", "!dist/tsconfig.build.tsbuildinfo", "!node_modules" ], "dependencies": { "@graphql-codegen/cli": "^5.0.7", "@graphql-codegen/introspection": "^4.0.3", "@graphql-codegen/typescript": "^4.1.6", "@parcel/watcher": "^2.5.1", "@shopify/graphql-codegen": "^0.1.0", "graphql": "^16.10.0" }, "devDependencies": { "@graphql-codegen/plugin-helpers": "^5.1.1", "graphql-config": "5.1.4", "regenerator-runtime": "^0.14.1" }, "scripts": { "lint": "eslint . --ext .js,.ts", "build": "pnpm tsc -p ./tsconfig.build.json && pnpm rollup", "tsc": "tsc", "test": "jest", "test:ci": "pnpm test", "rollup": "rollup -c --bundleConfigAsCjs", "clean": "rimraf dist/*", "changeset": "changeset", "version": "changeset version", "release": "pnpm build && changeset publish" } }