-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
50 lines (50 loc) · 1.77 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"private": true,
"name": "lambda-starter",
"version": "1.0.0",
"description": "Minimalist AWS API Gateway and AWS Lambda starter kit",
"main": "build/index.js",
"scripts": {
"build": "NODE_ENV=production webpack --display-error-details --display-modules",
"watch": "webpack --watch",
"test": "jest --verbose=false --config ./jest.config.js",
"test:debug": "echo '/*' && echo ' Navigate to about:inspect in Chrome' && echo '*/' && node --inspect node_modules/.bin/jest --runInBand",
"test:ci": "CI=true jest --verbose=false --config ./jest.config.js",
"test:watch": "jest --watch --verbose=false --config ./jest.config.js",
"start": "sam local start-api --port 5000",
"dist": "rm -f dist.zip && zip -jq dist.zip build/index.js",
"update": "aws lambda update-function-code --function-name FooBarExample --zip-file fileb://dist.zip --publish",
"deploy": "npm run build && npm run test:ci && npm run dist && npm run update"
},
"repository": {
"type": "git",
"url": "git+https://github.com/buildbreakdo/lambda-starter.git"
},
"keywords": [
"starter",
"starter-kit",
"aws-api-gateway",
"aws-lambda"
],
"author": "Your Name Here",
"bugs": {
"url": "https://github.com/buildbreakdo/lambda-starter/issues"
},
"homepage": "https://github.com/buildbreakdo/lambda-starter#readme",
"devDependencies": {
"@babel/core": "^7.1.6",
"@babel/plugin-proposal-class-properties": "^7.1.0",
"@babel/preset-env": "^7.1.6",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^24.5.0",
"babel-loader": "^7.1.4",
"jest": "^24.8.0",
"jest-cli": "^24.8.0",
"terser-webpack-plugin": "^1.3.0",
"webpack": "^4.34.0",
"webpack-cli": "^3.3.4"
},
"dependencies": {
"node-fetch": "^2.6.0"
}
}