forked from aws/aws-lambda-nodejs-runtime-interface-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
75 lines (75 loc) · 2.53 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
{
"name": "aws-lambda-ric",
"version": "2.1.0",
"description": "AWS Lambda Runtime Interface Client for NodeJs",
"homepage": "https://github.com/aws/aws-lambda-nodejs-runtime-interface-client",
"main": "lib/index.js",
"gypfile": true,
"scripts": {
"archive": "npx rimraf aws-lambda-ric-*.tgz && npm install && npm run build && npm pack",
"clean": "npx rimraf {build, node_modules} && npx rimraf deps/{build_complete.txt, aws-lambda-cpp, curl}",
"copy-files": "mkdir -p lib/RuntimeClient && cp src/RuntimeClient/runtime-client.cc lib/RuntimeClient/runtime-client.cc",
"update-deps": "./scripts/update_dependencies.sh",
"preinstall": "./scripts/preinstall.sh",
"postinstall": "./scripts/postinstall.sh",
"build": "npx rimraf lib && tsc -b src",
"build:gyp": "node-gyp rebuild",
"postbuild": "npm run copy-files",
"format": "npm run format:src && npm run format:test",
"format:src": "prettier --check \"src/**/*.ts\" --write",
"format:test": "prettier --check \"test/**/*.ts\" --write",
"lint": "eslint --ext \".ts,.js\" src",
"test": "npm run test:unit",
"test:unit": "ts-mocha test/unit/**/*.test.ts --reporter ./test/utils/StdoutReporter -p ./test/unit/tsconfig.json",
"test:unit:watch": "ts-mocha test/unit/**/*.test.ts --reporter ./test/utils/StdoutReporter --watch-extensions ts --watch --watch-files src, test/unit/**/*.ts -p ./test/unit/tsconfig.json",
"test:coverage": "nyc npm run test:unit",
"tsc": "tsc -b src",
"tsc:watch": "tsc -b src --watch",
"refresh": "rm -rf ./node_modules ./package-lock.json && npm install",
"precommit": "npm run lint"
},
"author": "AWS Lambda",
"license": "Apache-2.0",
"bin": {
"aws-lambda-ric": "bin/index.js"
},
"husky": {
"hooks": {
"pre-commit": "npm run precommit"
}
},
"nyc": {
"extension": [
".ts"
],
"reporter": [
"text",
"lcov"
],
"check-coverage": true,
"branches": 65,
"lines": 75,
"functions": 65,
"statements": 75
},
"dependencies": {
"node-addon-api": "6.0.0",
"node-gyp": "9.3.1"
},
"devDependencies": {
"@types/mocha": "10.0.1",
"@types/node": "^18.15.11",
"@typescript-eslint/eslint-plugin": "5.58.0",
"@typescript-eslint/parser": "5.58.0",
"eslint": "8.38.0",
"eslint-config-prettier": "8.8.0",
"eslint-plugin-prettier": "4.2.1",
"husky": "8.0.3",
"mocha": "10.2.0",
"nyc": "^15.1.0",
"prettier": "2.8.7",
"should": "13.2.3",
"ts-mocha": "10.0.0",
"typescript": "4.9.5"
}
}