generated from brckd/ts-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
91 lines (91 loc) · 2.2 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
{
"name": "@bricked/prettier-config",
"private": false,
"description": "Shared Prettier configuration for my projects.",
"keywords": [
"prettier-config"
],
"homepage": "https://github.com/brycked/prettier-config#readme",
"bugs": {
"url": "https://github.com/brycked/prettier-config/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/brycked/prettier-config.git"
},
"license": "MIT",
"author": "Bricked",
"main": "dist/index.js",
"scripts": {
"build": "npx tsc",
"format": "npx sort-package-json && npx prettier --write . && npx eslint --fix --no-error-on-unmatched-pattern .",
"prepare": "npx husky install",
"watch": "npx tsc -w"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"!(*.ts|package.json)": "npx prettier --ignore-unknown --write",
"*.ts": [
"npx prettier --write",
"npx eslint --fix"
],
"package.json": [
"npx sort-package-json",
"npx prettier --write"
]
},
"prettier": "./dist/index.js",
"eslintConfig": {
"extends": "@bricked"
},
"release": {
"branches": [
"main",
{
"name": "beta",
"prerelease": true
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md"
}
],
"@semantic-release/npm",
"@semantic-release/github",
[
"@semantic-release/git",
{
"assets": [
"CHANGELOG.md"
]
}
]
]
},
"devDependencies": {
"@bricked/eslint-config": "^1.0.0",
"@bricked/ts-config": "^1.2.3",
"@commitlint/config-conventional": "^17.6.1",
"@types/prettier": "^2.7.2",
"@typescript-eslint/eslint-plugin": "^5.59.7",
"commitlint": "^17.6.1",
"eslint": "^8.39.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-promise": "^6.1.1",
"husky": "^8.0.3",
"prettier": "^2.8.8",
"sort-package-json": "^2.4.1",
"typescript": "^5.0.4"
}
}