forked from bbc/sqs-consumer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
110 lines (110 loc) · 2.86 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
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
108
109
110
{
"name": "sqs-consumer",
"version": "7.3.0",
"description": "Build SQS-based Node applications without the boilerplate",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"build": "npm run clean && tsc",
"watch": "tsc --watch",
"clean": "rm -fr dist/*",
"prepublishOnly": "npm run build",
"test:unit": "mocha --recursive --full-trace --exit",
"pretest:integration:init": "npm run build",
"test:integration:init": "sh ./test/scripts/initIntTests.sh",
"test:integration": "npm run test:integration:init && cucumber-js --config ./test/config/cucumber.js",
"test": "npm run test:unit && npm run test:integration",
"coverage": "nyc mocha && nyc report --reporter=html && nyc report --reporter=json-summary",
"lcov": "nyc mocha && nyc report --reporter=lcov",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --fix",
"format": "prettier --loglevel warn --write \"**/*.{js,json,jsx,md,ts,tsx,html}\"",
"format:check": "prettier --check \"**/*.{js,json,jsx,md,ts,tsx,html}\"",
"posttest": "npm run lint && npm run format:check",
"generate-docs": "typedoc"
},
"repository": {
"type": "git",
"url": "https://github.com/bbc/sqs-consumer.git"
},
"bugs": {
"url": "https://github.com/bbc/sqs-consumer/issues"
},
"homepage": "https://bbc.github.io/sqs-consumer/",
"keywords": [
"sqs",
"queue",
"consumer"
],
"license": "Apache-2.0",
"devDependencies": {
"@cucumber/cucumber": "^9.2.0",
"@types/chai": "^4.3.5",
"@types/mocha": "^10.0.1",
"@types/node": "^20.4.1",
"@types/sinon": "^10.0.15",
"chai": "^4.3.7",
"eslint": "^8.44.0",
"eslint-config-iplayer-ts": "^4.1.1",
"eslint-config-prettier": "^8.8.0",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"p-event": "^4.2.0",
"prettier": "^3.0.0",
"sinon": "^15.2.0",
"sqs-producer": "^3.2.1",
"ts-node": "^10.9.1",
"typedoc": "^0.24.8",
"typescript": "^4.9.4"
},
"dependencies": {
"@aws-sdk/client-sqs": "^3.363.0",
"debug": "^4.3.4"
},
"peerDependencies": {
"@aws-sdk/client-sqs": "^3.363.0"
},
"mocha": {
"spec": "test/tests/**/**/*.test.ts",
"require": "ts-node/register"
},
"nyc": {
"include": [
"src/**/*.ts"
],
"extension": [
".ts"
],
"require": [
"ts-node/register"
],
"sourceMap": true,
"instrument": true
},
"eslintConfig": {
"extends": [
"iplayer-ts",
"prettier"
],
"parserOptions": {
"sourceType": "module"
},
"rules": {
"@typescript-eslint/naming-convention": [
"error",
{
"selector": "variable",
"format": [
"camelCase",
"UPPER_CASE",
"PascalCase"
],
"leadingUnderscore": "allow"
}
]
}
}
}