-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
65 lines (65 loc) · 2.13 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
{
"name": "template-graph-gateway",
"version": "1.0.0",
"description": "unspecified version of an apollo gateway",
"main": "index.js",
"engines": {
"node": "10.15.0"
},
"scripts": {
"build": "rimraf __build__ && babel ./src -d ./__build__ --copy-files --ignore ./**/__tests__",
"postbuild": "cp .env __build__",
"predeploy:local": "npm run build",
"deploy:local": "cd ./__build__ && functions-framework --target=graphEndpoint --port=8000",
"start:watch:this": "nodemon -e env,js,json,graphql --watch src --ignore '*.test.js' --exec npm run deploy:local",
"start:watch:template:child": "cd ../template-graph-server && npm run start:watch",
"start:watch": "concurrently -n gateway,template-child npm:start:watch:this npm:start:watch:template:child -c \"bgRed,bgGreen\"",
"test": "jest --coverage --passWithNoTests",
"test:watch": "cross-env jest --watchAll",
"lint": "eslint 'src/**/*.js'",
"validate": "concurrently npm:test npm:lint npm:build"
},
"dependencies": {
"@apollo/gateway": "^0.10.7",
"apollo-server-cloud-functions": "^2.9.6",
"connect": "^3.7.0",
"dotenv": "^8.2.0",
"graphql": "^14.5.8",
"response-time": "^2.3.2",
"uuid": "^3.3.3",
"winston": "^3.2.1"
},
"devDependencies": {
"@babel/cli": "^7.6.4",
"@babel/core": "^7.6.4",
"@babel/node": "^7.6.3",
"@babel/preset-env": "^7.6.3",
"@babel/register": "^7.6.2",
"@google-cloud/functions-framework": "^1.3.2",
"babel-jest": "^24.9.0",
"concurrently": "^5.0.0",
"eslint": "^6.5.1",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-prettier": "^6.4.0",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jest": "^22.19.0",
"eslint-plugin-prettier": "^3.1.1",
"husky": "^3.0.9",
"jest-cli": "^24.9.0",
"nodemon": "^1.19.4",
"prettier-eslint": "^9.0.0",
"prettier-eslint-cli": "^5.0.0"
},
"husky": {
"hooks": {
"pre-push": "npm run validate"
}
},
"jest": {
"testEnvironment": "node",
"verbose": true,
"rootDir": "./src",
"coverageDirectory": "../__testCoverage__"
}
}