-
Notifications
You must be signed in to change notification settings - Fork 56
/
Copy pathpackage.json
81 lines (81 loc) · 2.34 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"name": "aws-lambda-ric",
"version": "3.2.1",
"description": "AWS Lambda Runtime Interface Client for NodeJs",
"homepage": "https://github.com/aws/aws-lambda-nodejs-runtime-interface-client",
"main": "dist/index.mjs",
"gypfile": true,
"scripts": {
"archive": "npx rimraf aws-lambda-ric-*.tgz && npm install && npm run build && npm pack",
"clean": "npx rimraf build node_modules package-lock.json",
"copy-files": "mkdir -p dist && cp src/types/* dist/",
"update-deps": "./scripts/update_dependencies.sh",
"preinstall": "./scripts/preinstall.sh",
"postinstall": "./scripts/postinstall.sh",
"postbuild": "npm run copy-files",
"build": "cd src && node build.js && cd ..",
"build:gyp": "node-gyp rebuild",
"format": "npm run format:src && npm run format:test",
"format:src": "prettier --check \"src/*.*js\" --write",
"format:test": "prettier --check \"test/**/*.*js\" --write",
"lint": "eslint --ext \".js\" src test",
"fix": "eslint --fix --ext \".js\" src test",
"test": "npm run test:unit",
"test:unit": "mocha --recursive ./test/unit --reporter ./test/util/StdoutReporter.test",
"test:coverage": "nyc npm run test:unit",
"refresh": "rm -rf ./node_modules ./package-lock.json && npm install",
"precommit": "npm run lint && npm run format:test",
"prepush": "npm run lint && npm run test"
},
"author": "AWS Lambda",
"license": "Apache-2.0",
"bin": {
"aws-lambda-ric": "bin/index.mjs"
},
"husky": {
"hooks": {
"pre-commit": "npm run precommit"
}
},
"nyc": {
"include": [
"src/*.*js"
],
"exclude": [
"src/VerboseLog.js"
],
"reporter": [
"text",
"lcov"
],
"check-coverage": true,
"branches": 65,
"lines": 75,
"functions": 65,
"statements": 75
},
"dependencies": {
"node-addon-api": "6.1.0",
"node-gyp": "9.4.0"
},
"devDependencies": {
"lambda-runtime": "file:./src/",
"esbuild": "^0.18.3",
"eslint": "8.42.0",
"eslint-config-prettier": "8.8.0",
"eslint-plugin-prettier": "4.2.1",
"husky": "^8.0.3",
"mocha": "10.2.0",
"mock-http-server": "^1.4.5",
"nyc": "^15.1.0",
"prettier": "2.8.8",
"should": "13.2.3",
"throttle": "^1.0.3"
},
"prettier": {
"trailingComma": "all",
"tabWidth": 2,
"semi": true,
"singleQuote": true
}
}