|
55 | 55 |
|
56 | 56 | "start": "node server/lib/server.js",
|
57 | 57 | "prestart": "npm run build-server",
|
58 |
| - "build-server": "npm run build-swapi && npm run build-server-js && npm run build-server-css && npm run build-server-html && npm run build-server-server", |
59 |
| - "build-server-js": "mkdir -p server/lib/graphiql/ && cp node_modules/graphiql/graphiql.min.js server/lib/graphiql/graphiql.min.js", |
60 |
| - "build-server-css": "mkdir -p server/lib/graphiql/ && cp node_modules/graphiql/graphiql.css server/lib/graphiql/graphiql.css", |
61 |
| - "build-server-html": "mkdir -p server/lib/graphiql/ && cp server/src/graphiql/index.html server/lib/graphiql/index.html", |
62 |
| - "build-server-server": "mkdir -p server/lib && babel server/src/server.js --optional runtime -o server/lib/server.js", |
| 58 | + "build-server": "npm run build-swapi && mkdir -p server/lib && babel server/src/server.js --optional runtime -o server/lib/server.js", |
63 | 59 |
|
64 | 60 | "predeploy": "npm run build-parse",
|
65 | 61 | "deploy": "cd parse/lib && parse deploy",
|
66 |
| - "build-parse": "npm run build-swapi && npm run build-parse-cloud && npm run build-parse-public && npm run build-parse-config", |
| 62 | + "build-parse": "npm run build-swapi && npm run build-parse-cloud && npm run build-parse-config", |
67 | 63 | "build-parse-cloud": "mkdir -p parse/lib/cloud && browserify -p ./scripts/parseify.js node_modules/babel/polyfill parse/src/cloud/main.js > parse/lib/cloud/main.js",
|
68 |
| - "build-parse-public": "mkdir -p parse/lib/public/graphiql && cp parse/src/public/graphiql/index.html parse/lib/public/graphiql/index.html && cp node_modules/graphiql/graphiql.min.js parse/lib/public/graphiql/graphiql.min.js && cp node_modules/graphiql/graphiql.css parse/lib/public/graphiql/graphiql.css", |
69 | 64 | "build-parse-config": "mkdir -p parse/lib/config && cp parse/src/config/* parse/lib/config/"
|
70 | 65 | },
|
71 | 66 | "dependencies": {
|
72 | 67 | "babel-runtime": "^5.8.20",
|
73 | 68 | "dataloader": "^1.0.0",
|
74 | 69 | "express": "^4.13.3",
|
75 |
| - "express-graphql": "^0.3.0", |
76 |
| - "graphiql": "0.2.3", |
77 |
| - "graphql": "^0.4.0", |
| 70 | + "express-graphql": "^0.4.0", |
| 71 | + "graphql": "^0.4.5", |
78 | 72 | "graphql-relay": "^0.3.0",
|
79 | 73 | "isomorphic-fetch": "^2.1.1",
|
80 | 74 | "react": "^0.13.3"
|
|
0 commit comments