-
Notifications
You must be signed in to change notification settings - Fork 36
/
package.json
60 lines (60 loc) · 1.59 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
{
"private": true,
"name": "spherov2",
"author": "igbopie",
"workspaces": [
"lib",
"examples"
],
"scripts": {
"npm": "npm",
"release": "release-it",
"test": "yarn workspaces run test",
"husky": "node ./node_modules/husky/run install",
"lint": "eslint . --ext .ts",
"lint-fix": "eslint . --ext .ts --fix",
"precommit-msg": "echo 'Pre-commit checks...' && exit 0",
"prettier": "lint-staged",
"prettier-format": "prettier --config .prettierrc '**/*.ts' --write",
"add-all": "git add -A",
"docs": "rm -fR docs; typedoc --excludeExternals --excludeProtected --excludePrivate --exclude './lib/src/**/*.ts' --theme minimal --readme none --out docs --mode modules ."
},
"pre-commit": [
"precommit-msg",
"lint",
"test",
"add-all"
],
"husky": {
"hooks": {
"pre-commit": "yarn precommit-msg && yarn prettier && yarn lint && yarn test && yarn add-all"
}
},
"lint-staged": {
"*.{js,json,css,md}": [
"prettier --write --config .prettierrc ",
"git add"
]
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.15.0",
"@typescript-eslint/parser": "^4.15.0",
"eslint": "^7.20.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-prettier": "^3.3.1",
"husky": "^5.0.9",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"release-it": "^14.3.0",
"release-it-yarn-workspaces": "^2.0.0",
"typedoc": "0.20.24",
"typescript": "^4.0.0"
},
"release-it": {
"plugins": {
"release-it-yarn-workspaces": true
},
"npm": false
},
"version": "0.1.25"
}