-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
54 lines (54 loc) · 1.96 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
{
"type": "module",
"engines": {
"node": ">=16.13.0",
"npm": ">=8.1.0"
},
"repository": {
"type": "git"
},
"keywords": [],
"license": "AGPL-3.0-only",
"directories": {
"test": "test"
},
"scripts": {
"build": "npm run postpublish && tsc",
"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 npm test && c8 report --reporter=lcov",
"coverage:ci": "npm run prepublishOnly && npm run coverage",
"docs:build": "rm -rf ./docs && typedoc && npm run prettier:write -- --ignore-path .prettierignore_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": "rm -rf ./build",
"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 prepublishOnly && npm test && npm run postpublish",
"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": "^11.2.6",
"mocha": "^9.1.3",
"prettier": "^2.4.1",
"semantic-release": "^18.0.0",
"ts-node": "^10.4.0",
"typedoc": "^0.22.8"
}
}