Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 12 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
"bin": "dist/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "nodemon -e ts --exec 'ts-node src/index.ts'",
"start": "nodemon -e ts --exec ts-node ./src/index.ts",
"debug": "ts-node --inspect --compilerOptions '{\"inlineSources\":true}' src/index.ts",
"build:editor": "cd src/editor && npm install && npm run build && cd -",
"build:editor": "cd src/editor && yarn && yarn build && cd .. && cd ..",
"build:typescript": "tsc",
"copy:graphql": "cp src/*.graphql dist/",
"copy:editor": "mkdir -p dist/editor && cp src/editor/*.{html,js,css,svg} dist/editor",
"build:all": "npm run build:editor && npm run build:typescript && npm run copy:graphql && npm run copy:editor"
"copy:graphql": "shx cp src/*.graphql dist/",
"copy:editor": "shx mkdir -p dist/editor && shx cp src/editor/*.{html,js,css,svg} dist/editor",
"build:all": "run-s build:editor build:typescript copy:graphql copy:editor"
},
"repository": {
"type": "git",
Expand All @@ -26,12 +26,13 @@
"homepage": "https://github.com/APIs-guru/graphql-faker#readme",
"devDependencies": {
"@types/express": "^4.0.35",
"@types/express-graphql": "0.0.33",
"@types/faker": "^4.1.0",
"@types/graphql": "^0.9.0",
"@types/lodash": "^4.14.53",
"nodemon": "^1.11.0",
"ts-node": "^3.0.2",
"npm-run-all": "^4.0.2",
"shx": "^0.2.2",
"ts-node": "^3.0.6",
"typescript": "^2.2.1"
},
"dependencies": {
Expand All @@ -40,12 +41,12 @@
"core-js": "^2.4.1",
"cors": "^2.8.3",
"express": "^4.14.1",
"express-graphql": "github:apis-guru/express-graphql#rootValue_dist",
"faker": "^4.1.0",
"graphql": "github:apis-guru/graphql-js#directives-fork-dist",
"graphql": "^0.10.1",
"graphql-server-express": "^0.8.4",
"lodash": "^4.17.4",
"node-fetch": "^1.6.3",
"opn": "^4.0.2",
"yargs": "^7.0.2"
"opn": "^5.1.0",
"yargs": "^8.0.2"
}
}
23 changes: 12 additions & 11 deletions src/editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,31 +6,32 @@
},
"dependencies": {
"classnames": "^2.2.5",
"codemirror": "5.23.0",
"codemirror-graphql": "github:apis-guru/codemirror-graphql#directives-fork-dist",
"graphiql": "^0.9.3",
"graphql": "^0.9.0",
"codemirror": "^5.26.0",
"codemirror-graphql": "^0.6.6",
"graphiql": "^0.10.2",
"graphql": "^0.10.1",
"isomorphic-fetch": "^2.2.1",
"marked": "^0.3.6",
"prop-types": "^15.5.10",
"react": "^15.4.2",
"react-dom": "^15.4.2"
},
"devDependencies": {
"autoprefixer": "^6.7.7",
"autoprefixer": "^7.1.1",
"babel-core": "^6.23.1",
"babel-eslint": "^7.1.1",
"babel-loader": "^6.4.0",
"babel-loader": "^7.0.0",
"babel-plugin-transform-class-properties": "^6.23.0",
"babel-plugin-transform-object-rest-spread": "^6.23.0",
"babel-preset-es2015": "^6.22.0",
"babel-preset-react": "^6.23.0",
"css-loader": "^0.27.1",
"eslint": "^3.17.1",
"eslint-plugin-react": "^6.10.0",
"css-loader": "^0.28.4",
"eslint": "^4.0.0",
"eslint-plugin-react": "^7.1.0",
"extract-text-webpack-plugin": "^2.1.0",
"postcss-loader": "^1.3.3",
"postcss-loader": "^2.0.6",
"raw-loader": "^0.5.1",
"style-loader": "^0.13.2",
"style-loader": "^0.18.2",
"webpack": "^2.2.1",
"webpack-dev-server": "^2.4.1"
}
Expand Down
2 changes: 1 addition & 1 deletion src/editor/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function root(args) {
}

module.exports = {
devtool: 'cheap-source-map',
devtool: 'source-map',

performance: {
hints: false
Expand Down
Loading