-
Notifications
You must be signed in to change notification settings - Fork 26
/
package.json
60 lines (60 loc) · 2.48 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
51
52
53
54
55
56
57
58
59
60
{
"name": "es2017-lambda-boilerplate",
"description": "An ES2017 boilerplate for AWS Lambda (Node.js 6.10)",
"version": "0.4.2",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.org/irvinlim/es2017-lambda-boilerplate"
},
"devDependencies": {
"aws-sdk": "^2.334.0",
"babel-cli": "^6.24.1",
"babel-core": "^6.26.3",
"babel-jest": "^23.6.0",
"babel-plugin-add-header-comment": "^1.0.3",
"babel-plugin-array-includes": "^2.0.3",
"babel-plugin-transform-es2015-destructuring": "^6.23.0",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
"babel-plugin-transform-es2017-object-entries": "0.0.4",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.7.0",
"colors": "^1.1.2",
"docker-lambda": "^0.15.0",
"dotenv": "^6.0.0",
"fs-extra": "^7.0.0",
"jest": "^22.0.0",
"rimraf": "^2.6.2",
"strip-ansi": "^5.0.0"
},
"jest": {
"testEnvironment": "node",
"testRegex": "\\.test\\.js$",
"noStackTrace": true,
"transform": {
"^.+\\.js$": "babel-jest"
}
},
"scripts": {
"build": "npm run build:init && npm run build:js && npm run build:install",
"build:init": "rm -rf dist && mkdir dist",
"build:js": "cd src && babel . -d ../dist",
"build:install": "cp package.json package-lock.json dist/ && cd dist && npm install --production",
"deploy": "npm run package && npm run deploy:run",
"deploy:run": "babel-node ./bin/deploy.js",
"package": "npm run build && npm run package:pack",
"package:pack": "rm -f artifact.zip && cd dist/ && zip -r ../artifact.zip * -x package.json package-lock.json",
"spec": "npm run spec:snapshot && npm run spec:functional",
"spec:snapshot": "jest spec/snapshot",
"spec:functional": "jest spec/functional",
"test": "npm run test:build && npm run test:run",
"test:build": "npm run test:build:init && npm run test:build:js && npm run test:build:install",
"test:build:init": "cd test && rm -rf dist && mkdir dist",
"test:build:js": "cd src && babel . -d ../test/dist",
"test:build:install": "cp package.json package-lock.json test/dist/ && cd test/dist && npm install --production",
"test:run": "jest test/"
},
"dependencies": {
"jsonrequest": "^4.2.3"
}
}