-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
82 lines (82 loc) · 1.99 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
{
"name": "typescript-trait-test",
"version": "1.0.0-main.0",
"engines": {
"node": ">=14.15.0"
},
"scripts": {
"prebuild-ci": "npm ci",
"build-ci": "npm test",
"prebuild": "npm install",
"build": "npm test",
"clean": "rimraf dist",
"pretranspile": "run-s clean",
"transpile": "tsc",
"test": "mocha 'src/test/**/*.spec.ts'",
"posttest": "npm run lint",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged --verbose",
"pre-push": "if git-branch-is --quiet --regex 'main|v\\d+\\.\\d+'; then npm test; fi",
"lint": "eslint 'src/**/*.{js,ts}' && prettier --check '**/*'",
"format": "prettier --write '**/*'",
"make-dist": "run-s transpile"
},
"nyc": {
"include": [
"src/main/**/*.ts"
],
"extension": [
".ts"
]
},
"mocha": {
"exit": true,
"require": "ts-node/register"
},
"husky": {
"hooks": {
"commit-msg": "npm run commit-msg",
"pre-commit": "npm run pre-commit",
"pre-push": "npm run pre-push"
}
},
"prettier": {
"semi": false,
"singleQuote": true
},
"lint-staged": {
"**/*": [
"prettier --check"
]
},
"dependencies": {},
"devDependencies": {
"@commitlint/cli": "11.0.0",
"@commitlint/config-conventional": "11.0.0",
"@tsconfig/node10": "1.0.7",
"@types/chai": "4.2.14",
"@types/chai-as-promised": "7.1.3",
"@types/mocha": "8.2.0",
"@typescript-eslint/eslint-plugin": "4.14.1",
"@typescript-eslint/parser": "4.14.1",
"chai": "4.2.0",
"chai-as-promised": "7.1.1",
"eslint": "7.18.0",
"eslint-config-prettier": "7.2.0",
"eslint-plugin-prettier": "3.3.1",
"git-branch-is": "4.0.0",
"husky": "4.3.8",
"lint-staged": "10.5.3",
"mocha": "8.2.1",
"npm-run-all": "4.1.5",
"nyc": "15.1.0",
"prettier": "2.2.1",
"prettier-plugin-sh": "0.6.0",
"rimraf": "3.0.2",
"ts-node": "9.1.1",
"typescript": "4.1.3"
},
"volta": {
"node": "14.15.4"
}
}