Files
getting-started/pact/pact-react-consumer/package.json

41 lines
1.2 KiB
JSON

{
"name": "pact-react-consumer",
"version": "0.1.0",
"private": true,
"dependencies": {
"apollo-cache-inmemory": "^1.3.9",
"apollo-client": "^2.4.5",
"apollo-link-http": "^1.5.5",
"axios": "0.21.1",
"graphql": "^14.0.2",
"graphql-tag": "^2.10.0",
"node-fetch": "^2.2.1",
"react": "^16.5.2",
"react-dom": "^16.5.2",
"react-scripts": "2.0.5"
},
"devDependencies": {
"@pact-foundation/pact": "7.0.3",
"@pact-foundation/pact-node": "6.20.0",
"cross-env": "^5.2.0"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"test:pact": "cross-env CI=true react-scripts test --runInBand --setupFiles ./pact/setup.js --setupTestFrameworkScriptFile ./pact/jest-wrapper.js --testMatch \"**/*.test.pact.js\"",
"test:pact:graphql": "cross-env CI=true react-scripts test --runInBand --setupFiles ./pact/setup-graphql.js --setupTestFrameworkScriptFile ./pact/jest-wrapper.js --testMatch \"**/*.test.graphql.pact.js\"",
"publish:pact": "node pact/publish.js",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
}