Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
40 lines (39 sloc) 1.5 KB
{
"name": "aws-lambda-es7-shell",
"version": "0.1.0",
"description": "",
"main": "dist/index.js",
"scripts": {
"build": "npm run build:init && npm run build:js && npm run build:install",
"build:init": "rm -rf dist && mkdir dist",
"build:js": "babel index.js --out-dir dist && babel src --out-dir dist/src",
"build:install": "cp package.json dist/ && cd dist && npm install --production",
"package": "npm run build && npm run package:pack",
"package:pack": "zip -r artifact.zip dist/*",
"test": "mocha -r babel-register -r babel-polyfill --recursive test/",
"mock": "ENV=local node -r babel-register -r babel-polyfill mock/run.js",
"deploy": "npm run package && aws lambda update-function-code --function-name <LAMBDA-FUNCTION-NAME> --zip-file fileb://artifact.zip --region us-east-1"
},
"dependencies": {
"aws-sdk": "^2.7.12",
"babel-runtime": "^6.11.6"
},
"devDependencies": {
"babel-cli": "^6.16.0",
"babel-core": "^6.17.0",
"babel-plugin-transform-async-to-generator": "^6.16.0",
"babel-plugin-transform-class-properties": "^6.16.0",
"babel-plugin-transform-runtime": "^6.15.0",
"babel-polyfill": "^6.9.1",
"babel-preset-es2015": "^6.16.0",
"babel-preset-stage-0": "^6.16.0",
"babel-register": "^6.9.0",
"chai": "latest",
"eslint": "^3.10.0",
"eslint-config-airbnb": "^13.0.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^2.2.3",
"eslint-plugin-react": "^6.6.0",
"mocha": "latest"
}
}