UNPKG

@binpar/jest-gql

Version:

GraphQL based tests for Jest

83 lines (82 loc) 2.72 kB
{ "name": "@binpar/jest-gql", "version": "1.1.35", "description": "GraphQL based tests for Jest", "keywords": [ "Jest", "GraphQL", "GQL", "Test", "Apollo", "BinPar" ], "engines": { "node": ">= 6.0" }, "main": "./lib/@binpar/jest-gql.min", "directories": { "lib": "src", "test": "__tests__" }, "jest": { "collectCoverage": true, "mapCoverage": true, "coverageDirectory": ".coverage" }, "scripts": { "test": "GQL_API_URL='https://api.artmadrid.market.binpar.com/graphql' jest", "testDev": "GQL_API_URL='https://api.artmadrid.market.binpar.com/graphql' jest --watch", "testCoverage": "GQL_API_URL='https://api.artmadrid.market.binpar.com/graphql' jest --coverage", "testCI": "npm run testCoverage && cat .coverage/lcov.info | coveralls", "build": "webpack --env dev && webpack --env build && npm run test", "openTestCoverageReport": "GQL_API_URL='https://api.artmadrid.market.binpar.com/graphql' jest --coverage; open ./.coverage/lcov-report/index.html", "openTestCoverageReportDev": "open ./.coverage/lcov-report/index.html;GQL_API_URL='https://api.artmadrid.market.binpar.com/graphql' jest --watch --coverage", "npmPublish": "webpack --env dev && webpack --env build && npm run test; npm version patch; npm publish --access public" }, "repository": { "type": "git", "url": "git+https://github.com/BinPar/jest-gql.git" }, "author": "Ignacio Ferro Picón", "license": "ISC", "bugs": { "url": "https://github.com/BinPar/jest-gql/issues" }, "homepage": "https://github.com/BinPar/jest-gql#readme", "dependencies": { "apollo-client": "^2.3.2", "graphql-tag": "^2.9.2", "process-env": "^1.1.0", "react": "^16.0.0", "react-apollo": "^1.4.16", "react-dom": "^16.0.0" }, "devDependencies": { "babel-cli": "^6.26.0", "babel-core": "^6.26.0", "babel-loader": "^7.1.2", "babel-plugin-inline-import": "^2.0.6", "babel-plugin-transform-exponentiation-operator": "^6.24.1", "babel-plugin-transform-object-rest-spread": "^6.26.0", "babel-preset-env": "^1.6.1", "babel-preset-es2015": "^6.24.1", "babel-register": "^6.26.0", "coveralls": "^3.0.0", "eslint": "^4.5.0", "eslint-config-airbnb": "^15.1.0", "eslint-import-resolver-meteor": "^0.4.0", "eslint-loader": "^1.9.0", "eslint-plugin-import": "^2.7.0", "eslint-plugin-jsx-a11y": "^5.1.1", "eslint-plugin-meteor": "^4.1.6", "eslint-plugin-react": "^7.3.0", "jest": "^22.2.2", "react": "^16.0.0", "react-apollo": "^1.4.16", "react-dom": "^16.0.0", "uglifyjs-webpack-plugin": "^1.1.8", "webpack": "^3.11.0" } }