UNPKG

mst-gql

Version:

Bindings for mobx-state-tree and GraphQL

146 lines 4.41 kB
{ "name": "mst-gql", "description": "Bindings for mobx-state-tree and GraphQL", "license": "MIT", "version": "0.17.3", "author": "Michel Weststrate", "maintainers": [ { "name": "Balazs E. Pataki", "url": "https://github.com/beepsoft", "email": "beepsoftdev@gmail.com" } ], "homepage": "https://github.com/mobxjs/mst-gql#readme", "bugs": "https://github.com/mobxjs/mst-gql/issues", "scripts": { "build": "microbundle --no-compress --external mobx,mobx-react,mobx-state-tree,graphql-tag,graphql,react,react-dom,graphql-request", "fix-mismatches": "syncpack fix-mismatches --prod --dev", "_postinstall": "husky install", "format": "pretty-quick", "list-mismatches": "syncpack list-mismatches", "test": "yarn test:mst-gql && yarn test:example-2 && yarn test:example-6 && yarn format", "test:vite": "tests/vite-app-test/test-vite-app.sh", "test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand", "test:example-2": "cd examples/2-scaffolding && yarn start", "test:example-6": "cd examples/6-scaffolding-ts-hasura && yarn start", "test:mst-gql": "jest test", "test:update-snapshot": "jest --updateSnapshot", "watch": "jest test --watch", "prepack": "pinst --disable", "postpack": "pinst --enable" }, "publishConfig": { "registry": "https://registry.yarnpkg.com" }, "workspaces": [ "examples/1-getting-started", "examples/2-scaffolding", "examples/3-twitter-clone", "examples/4-apollo-tutorial/client", "examples/4-apollo-tutorial/server", "examples/5-nextjs", "examples/6-scaffolding-ts-hasura" ], "dependencies": { "ansi-colors": "^4.1.3", "arg": "^5.0.2", "camelcase": "^6.2.0", "cosmiconfig": "^7.0.1", "fast-json-stable-stringify": "^2.1.0", "lodash": "^4.17.21", "node-fetch": "^2.2.1", "pluralize": "^8.0.0", "throttle-debounce": "^5.0.0" }, "devDependencies": { "@babel/core": "^7.14.3", "@babel/plugin-proposal-class-properties": "^7.17.12", "@babel/plugin-proposal-decorators": "^7.18.2", "@babel/plugin-transform-modules-commonjs": "^7.18.2", "@babel/preset-env": "^7.18.2", "@babel/preset-react": "^7.17.12", "@babel/preset-typescript": "^7.17.12", "@babel/register": "^7.17.7", "@types/jest": "^27.5.2", "@types/lodash": "^4.14.182", "@types/pluralize": "^0.0.29", "@types/react": "^18.2.15", "@types/react-dom": "^18.2.7", "@types/throttle-debounce": "^5.0.0", "@types/ws": "^8.5.3", "create-react-app": "5.0.1", "escape-string-regexp": "^4.0.0", "graphql": "^16.5.0", "graphql-request": "^4.3.0", "graphql-tag": "^2.12.6", "graphql-ws": "^5.9.1", "husky": "^8.0.1", "jest": "^27.0.6", "microbundle": "^0.15.0", "mobx": "^6.10.2", "mobx-react": "^7.5.0", "mobx-state-tree": "^5.3.0", "node-gyp": "^9.0.0", "pinst": "3.0.0", "prettier": "^2.6.2", "pretty-quick": "^3.1.3", "process": "0.11.10", "react": "^18.2.0", "react-dom": "^18.2.0", "subscriptions-transport-ws": "^0.11.0", "syncpack": "8.2.4", "typescript": "^5.2.2" }, "peerDependencies": { "graphql": "14 - 16", "mobx": "6", "mobx-state-tree": "5" }, "resolutions": { "react-scripts@5.0.1": "patch:react-scripts@npm:5.0.1#.yarn/patches/react-scripts-npm-5.0.1-d06bd2d5ad.patch", "react": "18.2.0", "react-dom": "18.2.0", "@types/react": "18.0.15", "@types/react-dom": "18.0.6" }, "bin": "./generator/mst-gql-scaffold.js", "files": [ "dist", "generator" ], "jsnext:main": "dist/mst-gql.module.js", "keywords": [ "graphql", "mobx-state-tree" ], "main": "dist/mst-gql.js", "module": "dist/mst-gql.module.js", "packageManager": "yarn@3.2.1", "react-native": "dist/mst-gql.module.js", "repository": "mobxjs/mst-gql.git", "source": "src/mst-gql.ts", "syncpack": { "filter": "^(?!(mst-gql)).*", "resolutions": true, "sortFirst": [ "name", "description", "license", "version", "author", "contributors", "homepage", "bugs", "scripts", "workspaces", "dependencies", "devDependencies", "peerDependencies", "resolutions" ], "peer": false }, "types": "./dist/mst-gql.d.ts", "umd:main": "dist/mst-gql.umd.js" }