This repository has been archived by the owner on Jan 29, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
78 lines (78 loc) · 2.56 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"name": "contract-testing",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"scripts": {
"e2e": "cypress run",
"dev": "concurrently npm:dev:server npm:dev:client",
"dev:server": "nodemon server",
"dev:client": "npm run build -- --watch",
"knex": "knex --knexfile server/db/knexfile.js",
"build": "webpack --config client/webpack.config.js",
"test": "npm run test:units && npm run test:contracts && npm run e2e && exit 0",
"test:contracts": "npm run test:contracts:consumer && npm run test:contracts:provider",
"test:contracts:consumer": "export NODE_ENV=pactTest && jest tests/client/contracts --runInBand",
"test:contracts:provider": "jest tests/server/contracts --runInBand",
"test:units": "jest client/components server",
"pact:broker:start": "docker-compose -f tests/contracts/docker-compose.yml up -d",
"pact:broker:stop": "docker-compose -f tests/contracts/docker-compose.yml down",
"pact:publish": "node tests/contracts/publish"
},
"babel": {
"presets": [
"@babel/preset-env",
"@babel/preset-react"
],
"plugins": [
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-object-rest-spread"
]
},
"jest": {
"setupFiles": [
"./tests/contracts/config/pact-setup.js"
],
"setupFilesAfterEnv": [
"./tests/contracts/config/pact-test-wrapper.js"
]
},
"dependencies": {
"express": "^4.17.1",
"knex": "^0.20.10",
"sqlite3": "^4.1.1",
"superagent": "^5.0.2"
},
"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/plugin-proposal-class-properties": "^7.3.0",
"@babel/plugin-proposal-object-rest-spread": "^7.3.2",
"@babel/polyfill": "^7.8.3",
"@babel/preset-env": "^7.3.1",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.8.3",
"@pact-foundation/pact": "^8.1.0",
"@testing-library/jest-dom": "^5.1.1",
"@testing-library/react": "^9.4.0",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.5",
"concurrently": "^4.1.0",
"cypress": "^4.0.2",
"eslint": "^5.16.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-chai-friendly": "^0.4.1",
"eslint-plugin-cypress": "^2.2.1",
"eslint-plugin-import": "^2.17.1",
"eslint-plugin-node": "^8.0.1",
"eslint-plugin-promise": "^4.1.1",
"eslint-plugin-react": "^7.12.4",
"eslint-plugin-standard": "^4.0.0",
"jest": "^24.1.0",
"nodemon": "^1.17.3",
"react": "^16.6.1",
"react-dom": "^16.6.1",
"supertest": "^4.0.2",
"webpack": "^4.29.0",
"webpack-cli": "^3.2.1"
}
}