UNPKG

apollo-link-persisted-queries

Version:
91 lines (90 loc) 2.8 kB
{ "name": "apollo-link-persisted-queries", "version": "0.2.5", "description": "Use persisted queries with Apollo Link", "author": "James Baxley <james@meteor.com>", "license": "MIT", "main": "./lib/bundle.umd.js", "module": "./lib/index.js", "jsnext:main": "./lib/index.js", "typings": "./lib/index.d.ts", "repository": { "type": "git", "url": "git+https://github.com/apollographql/apollo-link-persisted-queries.git" }, "bugs": { "url": "https://github.com/apollographql/apollo-link-persisted-queries/issues" }, "homepage": "https://github.com/apollographql/apollo-link-persisted-queries#readme", "scripts": { "build:browser": "browserify ./lib/bundle.umd.js -o=./lib/bundle.js --i apollo-link --i graphql && npm run minify:browser", "build": "tsc -p .", "bundle": "rollup -c", "clean": "rimraf lib/* && rimraf coverage/*", "coverage:upload": "codecov", "danger": "danger run --verbose", "filesize": "npm run build && npm run build:browser && bundlesize", "lint": "prettier --trailing-comma all --single-quote --write \"src/**/*.{j,t}s*\"", "minify:browser": "uglifyjs -c -m -o ./lib/bundle.min.js -- ./lib/bundle.js", "postbuild": "npm run bundle", "prebuild": "npm run clean", "prepublishOnly": "npm run clean && npm run build", "test": "jest", "coverage": "npm run lint && jest --coverage", "watch": "tsc -w -p ." }, "dependencies": { "apollo-link": "^1.2.1", "hash.js": "^1.1.7" }, "peerDependencies": { "graphql": "^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0" }, "devDependencies": { "@types/graphql": "^14.5.0", "@types/jest": "21.1.5", "@types/node": "^16.11.13", "apollo-cache-inmemory": "^1.1.4", "apollo-client": "^2.0.4", "apollo-link-http": "^1.5.0", "browserify": "14.5.0", "bundlesize": "0.15.3", "codecov": "^3.1.0", "danger": "^6.0.2", "graphql": "^15.3.0", "graphql-tag": "^2.5.0", "jest": "^23.6.0", "jest-fetch-mock": "^1.3.3", "lerna": "2.4.0", "lodash": "^4.17.4", "pre-commit": "1.2.2", "prettier": "1.7.4", "react": "^16.2.0", "react-apollo": "^2.0.4", "react-dom": "^16.2.0", "rimraf": "2.6.1", "rollup": "0.45.2", "ts-jest": "21.1.4", "typescript": "4.5.4", "uglify-js": "3.1.5" }, "jest": { "transform": { ".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js" }, "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$", "moduleFileExtensions": ["ts", "tsx", "js", "json"], "setupFiles": ["./scripts/jest.js"] }, "bundlesize": [ { "name": "apollo-link-persisted-queries", "path": "./lib/bundle.min.js", "maxSize": "4.0 kb" } ] }