This repository has been archived by the owner on May 31, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathpackage.json
105 lines (105 loc) · 4.29 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"name": "data-sync-server",
"version": "0.1.0",
"description": "GraphQL based server for syncing data between clients",
"repository": {
"type": "git",
"url": "git+https://github.com/aerogear/data-sync-server.git"
},
"keywords": [
"graphql",
"datasync",
"mobile"
],
"author": "[email protected]",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/aerogear/data-sync-server/issues"
},
"homepage": "https://github.com/aerogear/data-sync-server#readme",
"main": "index.js",
"scripts": {
"test": "ava '*.test.js' '**/*.test.js' '!integration_test/*'",
"test:integration": "npm run db:init && ava --concurrency=1 integration_test/*.test.js",
"test:cover": "nyc --reporter=text-lcov ava --concurrency=1 '*.test.js' '**/*.test.js' > coverage.lcov && codecov",
"test:integration:auth": "npm run db:init && ava --concurrency=1 integration_test/auth.integration.test.js",
"start": "node ./index.js",
"dev": "nodemon ./index.js | pino-pretty --colorize --translateTime",
"dev:memeo": "PLAYGROUND_QUERY_FILE='examples/memeolist.query.graphql' PLAYGROUND_VARIABLES_FILE='examples/memeolist.variables.json' nodemon ./index.js | pino-pretty --colorize --translateTime",
"dev:keymemeo": "KEYCLOAK_CONFIG_FILE='keycloak/keycloak.json' PLAYGROUND_QUERY_FILE='examples/memeolist.query.graphql' PLAYGROUND_VARIABLES_FILE='examples/memeolist.variables.json' nodemon ./index.js | pino-pretty --colorize --translateTime",
"lint": "eslint .",
"format": "eslint . --fix",
"docker:build": "./scripts/docker_build.sh",
"docker:build:release": "./scripts/docker_build_release.sh",
"docker:push": "./scripts/docker_push.sh",
"docker:push:release": "./scripts/docker_push_release.sh",
"compose:sync": "docker-compose -p sync up",
"compose:sync:keycloak": "docker-compose -f keycloak/docker-compose.yml -p sync up",
"release:validate": "./scripts/validateRelease.sh",
"db:init": "FORCE_DROP=true node ./scripts/sync_models",
"db:init:memeo:inmem": "FORCE_DROP=true node ./scripts/sync_models && sequelize db:seed --seed memeolist-example-inmem.js",
"db:init:memeo:postgres": "FORCE_DROP=true node ./scripts/sync_models && sequelize db:seed --seed memeolist-example-postgres.js && docker exec sync_postgres_memeo_1 psql -U postgres -d memeolist_db -f /tmp/examples/memeolist.tables.sql",
"db:shell": "docker exec -it sync_postgres_1 psql -U postgresql -d aerogear_data_sync_db",
"db:shell:memeo": "docker exec -it sync_postgres_memeo_1 psql -U postgresql -d memeolist_db"
},
"devDependencies": {
"apollo-cache-inmemory": "^1.3.0-beta.6",
"apollo-client": "^2.3.7",
"apollo-link": "^1.2.2",
"apollo-link-http": "^1.5.4",
"apollo-link-ws": "^1.0.8",
"apollo-utilities": "^1.0.17",
"ava": "1.0.0-beta.6",
"codecov": "^3.0.4",
"eslint-config-standard": "^11.0.0",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-node": "^7.0.1",
"eslint-plugin-promise": "^3.8.0",
"eslint-plugin-standard": "^3.1.0",
"graphql-tag": "^2.9.2",
"node-fetch": "^2.2.0",
"nodemon": "^1.17.5",
"nyc": "^12.0.2",
"pino-pretty": "^2.0.0",
"pre-commit": "^1.2.2",
"standard": "^11.0.1",
"stoppable": "^1.0.6",
"ws": "^6.0.0"
},
"dependencies": {
"@aerogear/data-sync-gql-core": "git+https://[email protected]/aerogear/data-sync-gql-core.git#master",
"apollo-server-express": "^2.0.2",
"apollo-server-module-graphiql": "1.3.4",
"axios": "^0.18.0",
"body-parser": "^1.18.3",
"cors": "^2.8.4",
"dotenv": "^6.0.0",
"express": "^4.16.3",
"express-pino-logger": "^4.0.0",
"express-session": "^1.15.6",
"graphql": "^0.13.2",
"graphql-depth-limit": "^1.1.0",
"graphql-postgres-subscriptions": "^1.0.2",
"graphql-subscriptions": "^0.5.8",
"graphql-tools": "^3.0.2",
"graphql-validation-complexity": "^0.2.3",
"handlebars": "^4.0.11",
"joi": "^13.6.0",
"json-parse-safe": "^1.0.5",
"keycloak-connect": "^4.2.1",
"lodash": "^4.17.10",
"nedb": "^1.8.0",
"pg": "^7.4.3",
"pg-pubsub": "^0.4.0",
"pino": "^5.0.0",
"prom-client": "^11.1.1",
"sequelize": "^4.38.0",
"sequelize-cli": "^4.0.0",
"subscriptions-transport-ws": "^0.9.11",
"uuid": "^3.3.2"
},
"pre-commit": [
"lint",
"test"
]
}