forked from aws/aws-lambda-nodejs-runtime-interface-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.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.0.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": "3.2.1",
"node-gyp": "8.1.0"
},
"devDependencies": {
"@types/mocha": "8.2.2",
"@types/node": "^15.12.2",
"@typescript-eslint/eslint-plugin": "4.26.1",
"@typescript-eslint/parser": "4.26.1",
"eslint": "7.28.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-prettier": "3.4.0",
"husky": "6.0.0",
"mocha": "9.0.0",
"nyc": "^15.1.0",
"prettier": "2.3.1",
"should": "13.2.3",
"ts-mocha": "8.0.0",
"typescript": "4.3.2"
}
}