-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
78 lines (78 loc) · 2.75 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
{
"name": "@jurijzahn8019/aws-promise-jest-mock",
"version": "2.4.43",
"private": false,
"description": "simple libraray for jest-tested projects to create jest mock for js aws-sdk .promise() calls",
"main": "dist/index.cjs.js",
"module": "dist/index.es6.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "(for S in clean rollup types; do npm run build:$S; [ $? -ne 0 ] && exit 1; done; exit 0;)",
"build:clean": "npm run clean",
"build:rollup": "rollup -c",
"build:types": "tsc -p tsconfig.prod.json -d --outDir ./dist --emitDeclarationOnly",
"build:tsc": "tsc --noEmit",
"build:watch": "tsc -w",
"clean": "rm -rf ./dist ./tmp",
"deps": "ncu -u && rm -rf node_modules package-lock.json && npm i && tsc && jest",
"lint": "eslint src/**/*.ts",
"packlocal": "export P=jurijzahn8019-aws; rm -rf ./tmp/package && npm pack && mkdir -p ./tmp && mv -f $P-*.tgz ./tmp/ && tar xfz ./tmp/$P-*.tgz -C ./tmp",
"pub": "npm run clean && npm run build && npm publish",
"precommit": "npm run lint && npm run build",
"prepare": "husky install",
"prerel": "standard-version --skip.changelog -p $(git branch --show-current | sed 's/main/rc/g' | sed 's/[_\\/]/-/g')",
"release": "standard-version",
"push:tags": "git push --follow-tags origin main",
"test": "jest"
},
"keywords": [
"aws",
"jest",
"mock",
"aws-sdk",
"promise"
],
"author": "Jurij Zahn",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/jurijzahn8019/aws-promise-jest-mock.git"
},
"bugs": {
"url": "https://github.com/jurijzahn8019/aws-promise-jest-mock/issues"
},
"homepage": "https://github.com/jurijzahn8019/aws-promise-jest-mock#readme",
"peerDependencies": {
"aws-sdk": "^2.x.x",
"jest": ">= 26 < 28"
},
"devDependencies": {
"@commitlint/cli": "^16.2.4",
"@rollup/plugin-commonjs": "^21.1.0",
"@rollup/plugin-node-resolve": "^13.2.1",
"@rollup/plugin-typescript": "8.3.2",
"@types/jest": "^27.4.1",
"@types/node": "^17.0.30",
"@typescript-eslint/eslint-plugin": "^5.21.0",
"@typescript-eslint/parser": "^5.21.0",
"aws-sdk": "^2.1123.0",
"eslint": "^8.14.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^2.7.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.1.5",
"eslint-plugin-prettier": "^4.0.0",
"git-branch": "^2.0.1",
"husky": "^7.0.4",
"jest": "^27.5.1",
"prettier": "^2.6.2",
"rollup": "^2.70.2",
"rollup-plugin-exclude-dependencies-from-bundle": "^1.1.22",
"standard-version": "^9.3.2",
"ts-jest": "^27.1.4",
"ts-node": "^10.7.0",
"tslib": "^2.4.0",
"typescript": "4.6.3"
}
}