generated from b2broker/ts-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
80 lines (80 loc) · 2.66 KB
/
package.json
File metadata and controls
80 lines (80 loc) · 2.66 KB
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
{
"name": "@kauai/compression",
"version": "1.0.1",
"description": "Kauai compression middleware",
"main": "build/index.js",
"type": "module",
"types": "build/index.d.ts",
"engines": {
"node": ">=16.5.0",
"npm": ">=7.19.1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/b2broker/compression.git"
},
"keywords": [
"compress",
"compression",
"br",
"gzip",
"deflate"
],
"author": "Sergey Bakulin <sbakulin@b2broker.net>",
"license": "AGPL-3.0-only",
"bugs": {
"url": "https://github.com/b2broker/compression/issues"
},
"homepage": "https://github.com/b2broker/compression#readme",
"directories": {
"test": "test"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "npm run build:remove && tsc",
"build:remove": "rm -rf ./build",
"ci:all": "npm ci && npm run commitlint:all && npm run prettier && npm run lint && npm run test:ci && npm run publish:test && npm run coverage:ci",
"commitlint": "commitlint --verbose",
"commitlint:all": "npm run commitlint -- --from=$( git rev-list --max-parents=0 $( git rev-parse --abbrev-ref HEAD ) )",
"coverage": "c8 --exclude 'build/test/' npm test && c8 report --reporter=lcov",
"coverage:ci": "npm run build && npm run coverage",
"docs:build": "npm run docs:remove && typedoc && npm run prettier:write -- --ignore-path .prettierignore_docs",
"docs:remove": "rm -rf ./docs",
"install:clean": "rm -fr node_modules && rm -f package-lock.json && npm install",
"lint": "eslint --ext .ts ./",
"lint:fix": "npm run lint -- --fix",
"postpublish": "npm run build:remove",
"prepare": "husky install",
"prepublishOnly": "npm run build && npm run prettier:write",
"prettier": "prettier -c .",
"prettier:write": "npm run prettier -- --write",
"publish:test": "npm publish --dry-run",
"release": "semantic-release",
"test": "mocha 'build/test/**/*.spec.js' --ui=tdd --full-trace --bail",
"test:ci": "npm run build && npm test && npm run build:remove",
"ts-node": "node --loader ts-node/esm"
},
"devDependencies": {
"@b2broker/tsconfig": "^1.0.3",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/exec": "^6.0.2",
"@semantic-release/git": "^10.0.1",
"@types/mocha": "^9.0.0",
"c8": "^7.10.0",
"commitlint-config-b2broker": "^1.0.6",
"eslint-config-b2broker-ts": "^2.0.0",
"husky": "^7.0.4",
"lint-staged": "^12.1.2",
"mocha": "^9.1.3",
"node-fetch": "^3.1.0",
"prettier": "^2.5.1",
"semantic-release": "^18.0.1",
"ts-node": "^10.4.0",
"typedoc": "^0.22.10"
},
"peerDependencies": {
"kauai": "^1.0.6"
}
}