-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
70 lines (70 loc) · 2.12 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
{
"name": "template-graph-server",
"version": "1.0.0",
"description": "unspecified's version of a federated graph server",
"main": "index.js",
"engines": {
"node": "10.15.0"
},
"scripts": {
"build": "rimraf __build__ && babel ./src -d ./__build__ --copy-files --ignore ./**/__tests__,./**/__mocks__",
"postbuild": "cp .env __build__",
"predeploy:local": "npm run build",
"deploy:local": "cd ./__build__ && functions-framework --target=graphEndpoint --port=8001 --verbose",
"start:watch": "nodemon -e env,js,json,graphql --watch src --ignore '*.test.js' --exec npm run deploy:local",
"test": "jest --coverage",
"test:watch": "jest --watchAll",
"lint": "eslint 'src/**/*.js'",
"validate": "concurrently npm:test npm:lint npm:build"
},
"dependencies": {
"@apollo/federation": "^0.10.2",
"apollo-datasource-rest": "^0.6.5",
"apollo-server": "^2.9.6",
"apollo-server-cloud-functions": "^2.9.6",
"connect": "^3.7.0",
"cors": "^2.8.5",
"dotenv": "^8.1.0",
"graphql": "^14.5.8",
"graphql-import": "^0.7.1",
"graphql-type-json": "^0.3.0",
"lodash": "^4.17.15",
"moment": "^2.24.0",
"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",
"cross-env": "^6.0.3",
"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.17.0",
"eslint-plugin-prettier": "^3.1.1",
"husky": "^3.0.8",
"jest-cli": "^24.9.0",
"nodemon": "^1.19.3",
"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__"
}
}