-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
36 lines (36 loc) · 1.61 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
{
"name": "ami-lookup",
"version": "1.0.0",
"description": "Lambda function for the lookup of the latest ami ID for amazon-linux, ubuntu, and windows >= 2012 R2 from public AWS AMI libraries",
"author": "Ben Wolstencroft",
"license": "ISC",
"repository": {
"type": "git",
"url": "https://github.com/BenWolstencroft/ami-lookup.git"
},
"main": "index.js",
"scripts": {
"build-deps": "npm install -g cpx && npm install -g del-cli && npm install -g mkdirp && npm install -g bestzip",
"clean:node": "del-cli \"node_modules\"",
"clean:dist": "del-cli \"dist\"",
"clean:bundle": "del-cli \"bundle\"",
"clean": "echo \"Cleaning..,\" && npm run clean:node && npm run clean:dist && npm run clean:bundle && echo \"Clean Complete\"",
"restore-dev": "npm install",
"restore-dist": "npm install --production",
"restore-aws": "npm install --production && npm uninstall aws-sdk --no-save",
"build:node": "cpx \"node_modules/**/*\" \"dist/node_modules\"",
"build:lambda": "cpx \"index.js\" \"dist\"",
"build:appspec": "cpx \"appspec.yml\" \"dist\"",
"build": "echo \"Building...\" && npm run build:node && npm run build:lambda && npm run build:appspec && echo \"Build Complete\"",
"package:create": "mkdirp \"bundle\"",
"package:zip": "bestzip \"bundle/ami-lookup.zip\" \"dist/*\"",
"package": "echo \"Packaging...\" && npm run package:create && npm run package:zip && echo \"Packaging Complete\"",
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"aws-sdk": "^2.173.0",
"https": "^1.0.0",
"url": "^0.11.0"
},
"devDependencies": {}
}