/
package.json
94 lines (94 loc) · 3.72 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
{
"name": "simple-hmackey-auth",
"author": "whodis",
"description": "A simple, convenient, and safe interface for using the HMAC Key pattern of authentication and authorization",
"version": "1.0.3",
"repository": "whodis/simple-hmackey-auth",
"homepage": "https://github.com/whodis/simple-hmackey-auth",
"keywords": [
"hmac",
"api key",
"api",
"key",
"rest",
"authentication",
"authorization",
"auth",
"verification",
"verify",
"claims",
"certificates"
],
"bugs": "https://github.com/whodis/simple-hmackey-auth/issues",
"main": "dist/index.js",
"sideEffects": false,
"engines": {
"node": ">=8.0.0"
},
"files": [
"/dist"
],
"scripts": {
"commit:with-cli": "npx cz",
"fix:format:terraform": "echo 'no terraform'",
"fix:format:prettier": "prettier --write '**/*.ts' --config ./prettier.config.js",
"fix:format": "npm run fix:format:prettier && npm run fix:format:terraform",
"fix:lint": "eslint -c ./.eslintrc.js src/**/*.ts --fix",
"build:artifact": "echo 'no artifact'",
"build:clean": "rm dist/ -rf",
"build:compile": "tsc -p ./tsconfig.build.json",
"build": "npm run build:clean && npm run build:compile && npm run build:artifact",
"test:commits": "LAST_TAG=$(git describe --tags --abbrev=0 @^ 2> /dev/null || git rev-list --max-parents=0 HEAD) && npx commitlint --from $LAST_TAG --to HEAD --verbose",
"test:types": "tsc -p ./tsconfig.build.json --noEmit",
"test:lint:deps": "npx depcheck -c ./depcheckrc.yml",
"test:format:terraform": "echo 'no terraform'",
"test:format:prettier": "prettier --parser typescript --check 'src/**/*.ts' --config ./prettier.config.js",
"test:format": "npm run test:format:prettier && npm run test:format:terraform",
"test:lint": "npm run test:lint:eslint && npm run test:lint:deps",
"test:unit": "jest -c ./jest.unit.config.ts --forceExit --verbose --passWithNoTests",
"test:integration": "jest -c ./jest.integration.config.ts --forceExit --verbose --passWithNoTests",
"test:lint:eslint": "eslint -c ./.eslintrc.js src/**/*.ts",
"test:acceptance:locally": "npm run build && LOCALLY=true jest -c ./jest.acceptance.config.ts --forceExit --verbose --runInBand --passWithNoTests",
"test": "npm run test:commits && npm run test:types && npm run test:format && npm run test:lint && npm run test:unit && npm run test:integration && npm run test:acceptance:locally",
"test:acceptance": "npm run build && jest -c ./jest.acceptance.config.ts --forceExit --verbose --runInBand --passWithNoTests",
"prepush": "npm run test && npm run build",
"preversion": "npm run prepush",
"postversion": "git push origin HEAD --tags --no-verify"
},
"dependencies": {
"domain-objects": "0.10.3",
"joi": "17.8.3",
"uuid": "9.0.0"
},
"devDependencies": {
"@commitlint/cli": "13.1.0",
"@commitlint/config-conventional": "13.1.0",
"@trivago/prettier-plugin-sort-imports": "2.0.4",
"@tsconfig/node-lts-strictest": "18.12.1",
"@types/jest": "29.2.4",
"@types/uuid": "9.0.0",
"@typescript-eslint/eslint-plugin": "5.46.1",
"@typescript-eslint/parser": "5.46.1",
"core-js": "3.26.1",
"cz-conventional-changelog": "3.3.0",
"declapract": "0.10.9",
"declapract-typescript-ehmpathy": "0.20.14",
"depcheck": "1.4.3",
"eslint": "8.30.0",
"eslint-config-airbnb-typescript": "17.0.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-prettier": "4.2.1",
"husky": "7.0.2",
"jest": "29.3.1",
"prettier": "2.8.1",
"ts-jest": "29.0.3",
"ts-node": "10.9.1",
"typescript": "4.9.4"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}