|
1 | 1 | { |
2 | 2 | "name": "squiss-ts", |
3 | | - "version": "4.4.1", |
| 3 | + "version": "5.0.0", |
4 | 4 | "description": "High-volume SQS poller", |
5 | 5 | "main": "dist/index.js", |
6 | 6 | "types": "dist/index.d.ts", |
7 | 7 | "engines": { |
8 | | - "node": "^6 || ^8 || ^10 || ^12 || ^14 || ^16 || ^18" |
| 8 | + "node": "^16 || ^18|| ^19" |
9 | 9 | }, |
10 | 10 | "scripts": { |
11 | | - "postinstall": " node -e \"const semver = require('semver');const relevant = semver.lt(process.version, '10.16.0');if (relevant == false) {process.exit(0);}try {require('iltorb'); process.exit(0);} catch (err){process.exit(1);}\" || yarn add --pure-lockfile --ignore-engines iltorb@2.4.3", |
12 | | - "clean": "rm -rf node_modules build coverage dist", |
| 11 | + "clean": "rm -rf .nyc_output coverage dist", |
13 | 12 | "build": "yarn lint && yarn compile", |
14 | 13 | "compile": "tsc", |
15 | 14 | "test": "yarn lint && yarn mocha", |
16 | | - "mocha": "_mocha --opts src/test/mocha.opts", |
17 | | - "cover": "nyc --reporter=lcov --reporter=text-summary npm run mocha", |
| 15 | + "cover": "yarn clean && yarn nyc yarn mocha", |
18 | 16 | "lint": "tslint -c tslint.json \"src/**/*.ts\" \"test/**/*.ts\"", |
19 | | - "benchmark": "tsc --extendedDiagnostics --incremental false" |
| 17 | + "benchmark": "tsc --extendedDiagnostics --incremental false", |
| 18 | + "e2e:start": "docker compose -f e2e/docker-compose.yml up &", |
| 19 | + "e2e:stop": "docker compose -f e2e/docker-compose.yml down &" |
20 | 20 | }, |
21 | 21 | "repository": { |
22 | 22 | "type": "git", |
|
48 | 48 | }, |
49 | 49 | "homepage": "https://github.com/PruvoNet/squiss-ts#readme", |
50 | 50 | "dependencies": { |
51 | | - "aws-sdk": "2.814.0", |
| 51 | + "@aws-sdk/client-s3": "^3.310.0", |
| 52 | + "@aws-sdk/client-sqs": "^3.310.0", |
| 53 | + "@aws-sdk/types": "^3.310.0", |
52 | 54 | "linked-list": "^2.1.0", |
53 | | - "semver": "6.3.0", |
| 55 | + "semver": "7.4.0", |
54 | 56 | "ts-type-guards": "^0.7.0", |
55 | | - "uuid": "^8.3.2" |
| 57 | + "uuid": "^9.0.0" |
56 | 58 | }, |
57 | 59 | "devDependencies": { |
58 | | - "@istanbuljs/nyc-config-typescript": "0.1.3", |
59 | | - "@types/chai": "^4.2.12", |
60 | | - "@types/chai-as-promised": "^7.1.3", |
61 | | - "@types/iltorb": "^2.3.2", |
62 | | - "@types/mocha": "^8.0.0", |
63 | | - "@types/node": "^14.0.26", |
| 60 | + "@istanbuljs/nyc-config-typescript": "1.0.2", |
| 61 | + "@types/chai": "^4.3.4", |
| 62 | + "@types/chai-as-promised": "^7.1.5", |
| 63 | + "@types/mocha": "^10.0.1", |
| 64 | + "@types/node": "^14.18.42", |
64 | 65 | "@types/proxyquire": "^1.3.28", |
65 | | - "@types/semver": "7.3.1", |
66 | | - "@types/uuid": "^8.0.0", |
67 | | - "chai": "^4.2.0", |
| 66 | + "@types/semver": "^7.3.13", |
| 67 | + "@types/uuid": "^9.0.1", |
| 68 | + "chai": "^4.3.7", |
68 | 69 | "chai-as-promised": "^7.1.1", |
69 | | - "delay": "^4.4.0", |
| 70 | + "delay": "^5.0.0", |
70 | 71 | "dirty-chai": "^2.0.1", |
71 | | - "mocha": "6.2.2", |
72 | | - "nyc": "14.1.1", |
| 72 | + "mocha": "^10.2.0", |
| 73 | + "nyc": "^15.1.0", |
73 | 74 | "proxyquire": "^2.1.3", |
74 | | - "sinon": "^7.5.0", |
75 | | - "sinon-chai": "^3.5.0", |
76 | | - "source-map-support": "^0.5.19", |
77 | | - "ts-node": "^8.10.2", |
| 75 | + "sinon": "^15.0.3", |
| 76 | + "sinon-chai": "^3.7.0", |
| 77 | + "source-map-support": "^0.5.21", |
| 78 | + "ts-node": "^10.9.1", |
78 | 79 | "tslint": "^6.1.3", |
79 | | - "typescript": "4.6.4" |
| 80 | + "typescript": "^5.0.4" |
| 81 | + }, |
| 82 | + "nyc": { |
| 83 | + "extends": "@istanbuljs/nyc-config-typescript", |
| 84 | + "check-coverage": true, |
| 85 | + "all": true, |
| 86 | + "exclude": [ |
| 87 | + "src/test/**", |
| 88 | + "e2e**" |
| 89 | + ], |
| 90 | + "reporter": [ |
| 91 | + "html", |
| 92 | + "lcov", |
| 93 | + "text", |
| 94 | + "text-summary" |
| 95 | + ], |
| 96 | + "report-dir": "coverage" |
80 | 97 | } |
81 | 98 | } |
0 commit comments