Skip to content

Instantly share code, notes, and snippets.

@5un
Created September 30, 2016 15:53
Show Gist options
  • Save 5un/93090537d95b1e23e15e373e8454635f to your computer and use it in GitHub Desktop.
Save 5un/93090537d95b1e23e15e373e8454635f to your computer and use it in GitHub Desktop.
NodeJS GAE Issue Reproduction
{
"name": "node-gae-issue",
"version": "0.0.1",
"author": "Soravis Prakkamakul",
"private": true,
"main": "./build/bin/server",
"scripts": {
"eslint": "./node_modules/.bin/eslint --quiet **/**/*.js **/*.js **.js",
"test": "mocha ./tests/**/*.spec.js --compilers js:babel-register",
"test-cov": "nyc -r lcovonly mocha ./tests/**/*.spec.js --compilers js:babel-register",
"lcov": "onchange 'src/**/*.js' 'tests/**/*.js' -- npm run test-cov",
"pre-push": "npm run eslint && npm run lcov",
"test-watch": "mocha -R dot --watch ./tests/**/*.spec.js --compilers js:babel-register",
"start": "node app.js",
"start-gateway": "SERVICE_NAME=gateway node ./build/bin/server",
"start-user": "SERVICE_NAME=user-service node ./build/bin/server",
"start-add-message": "SERVICE_NAME=add-message-service PORT=9091 node ./build/bin/server",
"pm2": "pm2 delete all; pm2 start pm2.json",
"pm2-dev": "pm2 delete all; pm2-dev start pm2.json",
"pm2-dev-add-message": "pm2 delete add-message-service; pm2-dev start pm2-add-message.json",
"pm2-dev-new-project": "pm2 delete add-message-new-project-service; pm2-dev start pm2-add-message-new-project.json",
"dev": "DEBUG=dev NODE_ENV=dev ./node_modules/.bin/babel-node ./src/bin/server",
"dev-gateway": "DEBUG=dev NODE_ENV=dev SERVICE_NAME=gateway ./node_modules/.bin/babel-node ./src/bin/server",
"dev-user": "DEBUG=dev NODE_ENV=dev SERVICE_NAME=user-service PORT=9092 ./node_modules/.bin/babel-node ./src/bin/server",
"dev-add-message": "DEBUG=dev NODE_ENV=dev SERVICE_NAME=add-message-service PORT=9091 ./node_modules/.bin/babel-node ./src/bin/server",
"build": "./node_modules/.bin/babel src -d build --copy-files",
"deploy-all": "npm run build; cp ./deploy/* ./; gcloud -q app deploy service.yaml --promote --version=1; gcloud -q app deploy message-service.yaml --promote --version=1; gcloud -q app deploy management-service.yaml --promote --version=1; gcloud -q app deploy add-message-service.yaml --promote --version=1"
},
"dependencies": {
"babel-cli": "^6.10.1",
"babel-core": "^6.10.4",
"babel-eslint": "^6.1.0",
"babel-loader": "^6.2.4",
"babel-plugin-transform-runtime": "^6.9.0",
"babel-polyfill": "^6.9.1",
"babel-preset-es2015": "^6.9.0",
"babel-preset-stage-0": "^6.5.0",
"babel-register": "^6.9.0",
"babel-runtime": "^6.9.2",
"bcrypt": "^0.8.7",
"bluebird": "^3.4.1",
"body-parser": "^1.15.1",
"chai": "^3.5.0",
"chai-as-promised": "^5.3.0",
"config": "^1.21.0",
"cors": "^2.7.1",
"debug": "^2.2.0",
"express": "^4.13.4",
"express-validator": "^2.20.9",
"express-winston": "^2.0.0",
"google-cloud": "^0.38.3",
"gstore-node": "^0.6.2",
"helmet": "^2.1.1",
"joi": "^9.0.4",
"knex": "^0.11.10",
"lodash": "^4.13.1",
"lodash-deep": "^2.0.0",
"mocha": "^2.5.3",
"moment": "^2.14.1",
"morgan": "^1.7.0",
"randomstring": "^1.1.5",
"sinon": "^1.17.4",
"superagent": "^2.0.0",
"winston": "^2.2.0"
},
"devDependencies": {
"debug": "^2.2.0",
"eslint": "^2.13.1",
"eslint-config-airbnb": "^9.0.1",
"eslint-plugin-babel": "^3.3.0",
"eslint-plugin-import": "^1.9.2",
"eslint-plugin-jsx-a11y": "^1.5.3",
"eslint-plugin-react": "^5.2.2",
"jshint": "^2.9.2",
"nyc": "^8.1.0",
"onchange": "^2.5.0",
"supertest": "^1.2.0",
"webpack": "^1.13.1"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment