{ "name": "controltower-api", "version": "0.3.1", "main": "./src/index.js", "license": "AGPL-3.0", "scripts-info": { "build:npm": "Builds the transpiled npm package under dist/npm", "publish:aws": "Update the deployed api on AWS", "ppp": "Increases the version patch number, push to github and publish to npm", "mpp": "Increases the version minor number, push to github and publish to npm" }, "scripts": { "info": "npm-scripts-info", "start": "NODE_DEBUG=dev babel-node ./src/index.js", "build:npm": "babel src --out-dir ./dist/npm", "prebuild:npm": "babel-node ./tasks/npmPreBuild.js", "postbuild:npm": "babel-node ./tasks/npmPostBuild.js && tree dist/npm", "publish:npm": "npm run build:npm && npm publish dist/npm", "build:aws": "npm run build:npm", "prebuild:aws": "babel-node tasks/awsPreBuild.js", "postbuild:aws": "babel-node tasks/awsPostBuild.js && tree dist/aws", "create:aws": "claudia create --region us-east-1 --source ./dist/aws/ --api-module aws --policies ./policies/*.json --timeout 30", "destroy:aws": "claudia destroy --source ./dist/aws/ --api-module aws", "postdestroy:aws": "rm -f ./dist/aws/claudia.json", "publish:aws": "claudia update --source ./dist/aws/", "prepublish:aws": "npm run build:aws", "ppp": "npm version patch && git push && git push --tags && npm run publish:npm", "mpp": "npm version minor && git push && git push --tags && npm run publish:npm" }, "babel": { "plugins": [ "add-module-exports", "transform-es2015-modules-commonjs", "transform-es2015-destructuring", "transform-object-rest-spread" ] }, "eslintConfig": { "extends": "calamar" }, "devDependencies": { "babel-cli": "^6.14.0", "babel-plugin-add-module-exports": "^0.2.1", "babel-plugin-transform-es2015-destructuring": "^6.9.0", "babel-plugin-transform-es2015-modules-commonjs": "^6.11.5", "babel-plugin-transform-object-rest-spread": "^6.8.0", "claudia": "^1.8.0", "eslint": "^3.3.1", "eslint-config-calamar": "^2.1.1", "eslint-plugin-babel": "^3.3.0", "eslint-plugin-import": "^1.13.0", "npm-scripts-info": "^0.3.6", "shelljs": "^0.7.3" }, "description": "API for the controltower front-end", "repository": { "type": "git", "url": "git+https://github.com/fczuardi/controltower-api.git" }, "keywords": [ "calamar", "controltower", "s3", "aws" ], "author": "Fabricio C Zuardi", "bugs": { "url": "https://github.com/fczuardi/controltower-api/issues" }, "homepage": "https://github.com/fczuardi/controltower-api#readme", "dependencies": { "aws-sdk": "^2.5.1", "claudia-api-builder": "^1.5.1", "flat": "^2.0.1", "lodash.get": "^4.4.2", "node-fetch": "^1.6.0", "node-uuid": "^1.4.7", "shortid": "^2.2.6" } }