UNPKG

usimple-saleor-sdk

Version:

This package contains all queries and mutations that are used in our sample storefront. It can be used for semi-custom or fully-custom (with ability to extend existing queries) storefront solutions.

115 lines (114 loc) 3.49 kB
{ "name": "usimple-saleor-sdk", "version": "0.3.12", "description": "This package contains all queries and mutations that are used in our sample storefront. It can be used for semi-custom or fully-custom (with ability to extend existing queries) storefront solutions.", "homepage": "https://getsaleor.com/", "main": "./lib/index.js", "license": "BSD-3-Clause", "engines": { "node": ">=12.16.3" }, "scripts": { "build": "tsc", "build-types": "apollo codegen:generate --target=typescript gqlTypes && rm -rf src/gqlTypes && move-file gqlTypes src/gqlTypes && jscodeshift -t scripts/fixImportPaths.ts src/**/gqlTypes/* --parser=tsx", "clean": "rimraf lib", "lint": "eslint \"src/**/*.tsx\" --fix && eslint \"src/**/*.ts\" --fix", "prepare": "npm run clean && npm run build", "release": "np", "start": "tsc --watch", "test": "jest" }, "keywords": [ "saleor", "sdk", "storefront", "shop", "typescript", "apollo", "graphql" ], "author": "Mirumee", "dependencies": { "apollo-cache": "^1.3.5", "apollo-cache-inmemory": "^1.6.6", "apollo-cache-persist": "^0.1.1", "apollo-link-batch-http": "^1.2.14", "apollo-link-context": "^1.0.20", "apollo-link-error": "^1.1.13", "apollo-link-retry": "^2.2.16", "apollo-utilities": "^1.3.4", "lodash": "^4.17.21", "lodash-es": "^4.17.15" }, "devDependencies": { "@pollyjs/adapter-node-http": "^4.3.0", "@pollyjs/core": "^4.3.0", "@pollyjs/persister-fs": "^4.3.0", "@testing-library/react-hooks": "^3.4.1", "@types/jest": "^25.2.3", "@types/jscodeshift": "^0.7.1", "@types/lodash": "^4.14.155", "@types/pollyjs__adapter-node-http": "^2.0.0", "@types/pollyjs__persister-fs": "^2.0.0", "@types/react": "^16.9.35", "@types/react-dom": "^16.9.8", "@types/setup-polly-jest": "^0.5.0", "@types/webappsec-credential-management": "^0.5.1", "@typescript-eslint/eslint-plugin": "^2.34.0", "@typescript-eslint/parser": "^2.34.0", "apollo": "^2.27.4", "apollo-client": "^2.6.10", "apollo-link": "^1.2.14", "eslint": "^7.0.0", "eslint-config-airbnb": "^18.1.0", "eslint-config-airbnb-typescript": "^7.2.1", "eslint-config-prettier": "^6.11.0", "eslint-plugin-import": "^2.20.2", "eslint-plugin-jsx-a11y": "^6.2.3", "eslint-plugin-prettier": "^3.1.3", "eslint-plugin-react": "^7.20.0", "eslint-plugin-react-hooks": "^4.0.2", "graphql": "^14.5.8", "graphql-tag": "^2.10.3", "husky": "^4.2.5", "jest": "^26.0.1", "jscodeshift": "^0.9.0", "lint-staged": "^10.2.4", "move-file-cli": "^1.0.0", "node-fetch": "^2.6.0", "np": "^7.0.0", "prettier": "^2.0.5", "react": "^16.9.9", "react-apollo": "^3.1.5", "react-test-renderer": "^16.13.1", "react-dom": "^16.12.0", "rimraf": "^3.0.2", "setup-polly-jest": "^0.8.0", "ts-jest": "^26.0.0", "typescript": "^3.9.2" }, "husky": { "hooks": { "pre-commit": "lint-staged", "pre-push": "npm run build" } }, "lint-staged": { "*.{js,ts}": [ "eslint --fix", "prettier --write", "git add" ] }, "peerDependencies": { "apollo-client": "^2.6.10", "apollo-link": "^1.2.14", "graphql": "^14.5.8", "graphql-tag": "^2.10.3", "react": "^16.9.9", "react-dom": "^16.9.0", "react-apollo": "^3.1.5" }, "type": "commonjs", "typings": "./lib/index.d.ts" }