|
4 | 4 | "description": "A GraphQL to Cypher query execution layer for Neo4j. ", |
5 | 5 | "main": "./dist/index.js", |
6 | 6 | "scripts": { |
| 7 | + "reinstall": "sudo rm neo4j -r && npm install", |
| 8 | + "preinstall": "sudo bash ./scripts/install-neo4j.sh", |
| 9 | + "neo4j:start": "sudo bash ./scripts/start-neo4j.sh", |
| 10 | + "neo4j:stop": "sudo bash ./scripts/stop-and-clear-neo4j.sh", |
| 11 | + "prestart": "npm run neo4j:start", |
7 | 12 | "start": "nodemon ./example/apollo-server/movies.js --exec babel-node -e js", |
8 | 13 | "autogen": "nodemon ./example/autogenerated/autogen.js --exec babel-node -e js", |
9 | 14 | "start-middleware": "nodemon ./example/apollo-server/movies-middleware.js --exec babel-node -e js", |
10 | 15 | "start-typedefs": "nodemon ./example/apollo-server/movies-typedefs.js --exec babel-node -e js", |
11 | 16 | "start-interface": "DEBUG=neo4j-graphql.js nodemon ./example/apollo-server/interface-union-example.js --exec babel-node -e js", |
12 | 17 | "start-gateway": "nodemon ./example/apollo-federation/gateway.js --exec babel-node -e js", |
| 18 | + "prestart-gateway": "npm run neo4j:start", |
13 | 19 | "start-bookmark-example": "nodemon ./example/apollo-server/bookmarks.js --exec babel-node -e js", |
14 | 20 | "start-auth-example": "JWT_SECRET=oqldBPU1yMXcrTwcha1a9PGi9RHlPVzQ nodemon ./example/apollo-server/authScopes.js --exec babel-node -e js", |
15 | 21 | "build": "babel src --presets @babel/preset-env --out-dir dist", |
|
71 | 77 | "@babel/runtime-corejs2": "^7.5.5", |
72 | 78 | "apollo-server-errors": "^2.4.1", |
73 | 79 | "debug": "^4.1.1", |
| 80 | + "dotenv": "^8.2.0", |
| 81 | + "graphql": "^15.4.0", |
74 | 82 | "graphql-auth-directives": "^2.2.1", |
| 83 | + "graphql-tools": "^7.0.2", |
75 | 84 | "lodash": "^4.17.19", |
76 | | - "neo4j-driver": "^4.2.1", |
77 | | - "graphql": "^15.4.0", |
78 | | - "graphql-tools": "^7.0.2" |
| 85 | + "neo4j-driver": "^4.2.1" |
79 | 86 | }, |
80 | 87 | "ava": { |
81 | 88 | "require": [ |
|
0 commit comments