This repository has been archived by the owner on Apr 13, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
126 lines (126 loc) · 2.76 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"name": "template",
"description": "description",
"version": "0.0.0",
"main": "index.js",
"engines": {
"node": ">=10.0.0"
},
"publishConfig": {
"access": "public"
},
"repository": "https://github.com/orlovedev/template.git",
"author": "Sergei Orlov <orlove.dev@gmail.com> (https://orlove.dev/)",
"keywords": [],
"license": "MIT",
"homepage": "https://github.com/orlovedev/template",
"bugs": {
"email": "orlove.dev@gmail.com",
"url": "https://github.com/orlovedev/template/issues"
},
"scripts": {
"start": "ts-node src/index.ts",
"build": "tsc",
"test": "ava",
"test:cover": "nyc ava",
"format": "xo --fix",
"lint:ts": "xo",
"lint:tsc": "tsc --noEmit",
"lint": "yarn lint:ts && yarn lint:tsc",
"prettify": "pretty-quick",
"commit": "gitmoji --commit"
},
"dependencies": {},
"optionalDependencies": {},
"peerDependencies": {},
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@types/node": "^14.0.13",
"@types/sinon": "^9.0.5",
"@typescript-eslint/eslint-plugin": "^4.1.0",
"@typescript-eslint/parser": "^4.1.0",
"ava": "^3.8.2",
"commitlint-config-gitmoji": "^1.0.1",
"cross-env": "^7.0.2",
"eslint-config-xo-typescript": "^0.32.0",
"eslint-plugin-prettier": "^3.1.3",
"gitmoji-cli": "^3.2.10",
"husky": "^4.2.5",
"nyc": "^15.1.0",
"prettier": "^2.0.5",
"pretty-quick": "^2.0.1",
"sinon": "^9.0.3",
"ts-node": "^8.10.2",
"typescript": "^3.9.5",
"xo": "^0.33.1",
"yarn": "^1.22.4"
},
"husky": {
"hooks": {
"commit-msg": "yarn prettify && commitlint -E HUSKY_GIT_PARAMS",
"pre-push": "yarn lint && yarn test:cover"
}
},
"prettier": {
"printWidth": 100,
"trailingComma": "all",
"singleQuote": true,
"semi": false,
"useTabs": true,
"tabWidth": 1,
"bracketSpacing": true
},
"xo": {
"semicolon": false,
"prettier": true,
"rules": {
"unicorn/no-reduce": "off",
"unicorn/no-fn-reference-in-iterator": "off",
"unicorn/no-process-exit": "off",
"@typescript-eslint/no-unnecessary-type-arguments": "off",
"@typescript-eslint/no-invalid-void-type": "off",
"@typescript-eslint/no-unused-expressions": "off",
"@typescript-eslint/no-var-requires": "off",
"prefer-destructuring": "off",
"no-eq-null": "off",
"eqeqeq": "off"
}
},
"ava": {
"files": [
"test/**/*"
],
"extensions": [
"ts"
],
"require": [
"ts-node/register"
],
"concurrency": 5,
"failFast": true,
"failWithoutAssertions": false,
"verbose": true,
"nodeArguments": [
"--trace-deprecation",
"--napi-modules"
]
},
"nyc": {
"reporter": [
"text",
"lcov",
"html"
],
"branches": 80,
"lines": 80,
"functions": 80,
"statements": 80,
"check-coverage": true,
"all": true
},
"commitlint": {
"extends": [
"./node_modules/commitlint-config-gitmoji"
]
}
}