-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 3.22 KB
/
package.json
File metadata and controls
107 lines (107 loc) · 3.22 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "example-encryption",
"version": "0.0.1",
"description": "Example usage of aws-kms-ee library for encryption.",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/petermyers/aws-lambda-stream-examples/example-encryption"
},
"keywords": [
"aws",
"lambda",
"example",
"encryption"
],
"author": "petermyers",
"license": "MIT",
"scripts": {
"clean": "rimraf -rf .webpack/ .serverless/ coverage/",
"lint": "npm run lint:js",
"lint:js": "eslint src --ext js --fix",
"pretest": "npm run clean && npm run lint",
"test": "better-npm-run test",
"test:int": "better-bpm-run test:int",
"test:all": "npm run test && npm run test:int",
"test:sls": "sls package --verbose -r us-east-1 -s dev",
"dp:dev": "sls deploy --verbose -r us-east-1 -s dev --force",
"dy:dev": "sls remove --verbose -r us-east-1 -s dev",
"start": "sls offline --port 3001 --apiKey test-api-key-12345 -r us-east-1 -s dev"
},
"betterScripts": {
"test": {
"command": "nyc mocha --recursive \"./test/unit/**/*.test.js\"",
"env": {
"NODE_ENV": "test",
"AWS_REGION": "us-east-1",
"KMS_REGIONS": "us-east-1",
"MASTER_KEY_ALIAS": "dev-alias"
}
},
"test-int": {
"command": "npm start -- --exec \"mocha --timeout 20000 --require @babel/register --recursive ./test/helper.js \"./test/int/**/*.test.js\"\"",
"env": {
"NODE_ENV": "test",
"AWS_REGION": "us-east-1",
"KMS_REGIONS": "us-east-1",
"MASTER_KEY_ALIAS": "dev-alias",
"DEBUG": "*"
}
}
},
"lint-staged": {
"*.js": [
"prettier --write",
"eslint --fix-dry-run"
]
},
"devDependencies": {
"@babel/cli": "^7.23.0",
"@babel/core": "^7.23.3",
"@babel/eslint-parser": "^7.23.3",
"@babel/plugin-transform-runtime": "^7.23.3",
"@babel/preset-env": "^7.23.3",
"@babel/register": "^7.22.15",
"aws-sdk-client-mock": "^3.0.0",
"babel-loader": "^9.1.3",
"baton-vcr-replay-for-aws-sdk": "^1.0.1",
"baton-vcr-serverless-plugin": "^1.0.2",
"better-npm-run": "^0.1.1",
"chai": "^4.3.10",
"eslint": "^8.53.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-prettier": "^5.0.1",
"lint-staged": "^15.1.0",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"prettier": "^3.1.0",
"serverless": "^3.36.0",
"serverless-deployment-bucket": "^1.6.0",
"serverless-offline": "^13.2.1",
"serverless-vpc-plugin": "^1.0.6",
"serverless-webpack": "^5.13.0",
"sinon": "^17.0.1",
"sinon-chai": "^3.7.0",
"webpack": "^5.89.0",
"webpack-node-externals": "^3.0.0"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.450.0",
"@aws-sdk/s3-request-presigner": "^3.450.0",
"@babel/runtime": "^7.23.2",
"@smithy/node-http-handler": "^2.1.9",
"aws-kms-ee": "^1.0.0",
"aws-lambda-stream": "^1.0.0",
"bluebird": "^3.7.2",
"debug": "^4.3.4",
"highland": "^2.13.5",
"isomorphic-fetch": "^3.0.0",
"lambda-api": "^1.0.3",
"lodash": "^4.17.21",
"memory-cache": "^0.2.0",
"node-fetch": "^2.7.0",
"uuid": "^9.0.1"
}
}