-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
121 lines (121 loc) · 3.19 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
{
"name": "@nook-world/data",
"version": "1.0.0",
"description": "The data used by our applications",
"scripts": {
"check:meta": "node -r ts-node/register tools/check-related-files.ts",
"clean": "node -r ts-node/register scripts/clean-build.ts",
"generate": "node -r ts-node/register scripts/generator.ts",
"build": "npm run clean && npm run generate",
"prepublishOnly": "npm run build",
"release": "semantic-release"
},
"devDependencies": {
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/git": "^9.0.0",
"@semantic-release/github": "^7.0.5",
"@semantic-release/npm": "^7.0.5",
"@sindresorhus/slugify": "^0.11.0",
"@types/event-stream": "^3.3.34",
"@types/fs-extra": "^8.1.0",
"@types/node": "^13.11.1",
"camelcase": "^6.0.0",
"conventional-changelog-conventionalcommits": "^4.2.3",
"event-stream": "^4.0.1",
"execa": "^4.0.0",
"fs-extra": "^9.0.0",
"globby": "^11.0.0",
"husky": "^4.2.0",
"jsonl": "^1.1.2",
"lint-staged": "^10.0.8",
"prettier": "^2.0.4",
"pretty-quick": "^2.0.1",
"semantic-release": "^17.0.6",
"ts-node": "^8.8.2",
"typescript": "^3.8.3"
},
"repository": {
"type": "git",
"url": "https://github.com/nook-world/data.git"
},
"author": "",
"license": "UNLICENSED",
"bugs": {
"url": "https://github.com/nook-world/data/issues"
},
"homepage": "https://github.com/nook-world/data#readme",
"publishConfig": {
"registry": "https://npm.pkg.github.com/"
},
"volta": {
"node": "13.12.0"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"husky": {
"hooks": {
"pre-commit": "npm run check:meta",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.ts": [
"pretty-quick --staged"
],
"*.json": [
"pretty-quick --staged"
]
},
"standard-version": {
"header": "# CHANGELOG - @nook-world/data\n",
"releaseCommitMessageFormat": "chore(release): v{{currentTag}}"
},
"release": {
"branches": [
"master",
"next"
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits"
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits"
}
],
[
"@semantic-release/changelog",
{
"changelogTitle": "# CHANGELOG - @nook-world/data\n"
}
],
"@semantic-release/npm",
[
"@semantic-release/git",
{
"message": "chore(release): ${nextRelease.version}\n\n${nextRelease.notes}"
}
],
[
"@semantic-release/github",
{
"failComment": "This release from branch ${branch.name} has failed due to the following errors:\n- ${errors.map(err => err.message).join('\\n- ')}",
"labels": [
"release failure"
],
"successComment": "This ${issue.pull_request ? 'pull request' : 'issue'} is included in version ${nextRelease.version}"
}
]
]
}
}