forked from Dyldog/file-explorer-markdown-titles
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
90 lines (90 loc) · 2.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
83
84
85
86
87
88
89
90
{
"name": "md-title-sidecar",
"version": "0.1.2",
"description": "Shows the title detected from content in the file explorer",
"main": "main.js",
"scripts": {
"prettier": "prettier --write 'src/**/*.+(ts|tsx|json|html|css)'",
"eslint": "eslint . --ext .ts,.tsx --fix",
"dev": "rollup --config rollup.config.js -w",
"release": "release-it",
"build": "rollup --config rollup.config.js --environment BUILD:production"
},
"keywords": [],
"author": "",
"license": "MIT",
"devDependencies": {
"@release-it/bumper": "^2.0.0",
"@release-it/conventional-changelog": "^2.0.1",
"@rollup/plugin-commonjs": "^18.0.0",
"@rollup/plugin-node-resolve": "^11.2.1",
"@rollup/plugin-typescript": "^8.2.1",
"@types/json-schema": "^7.0.7",
"@types/node": "^14.14.37",
"@typescript-eslint/eslint-plugin": "^4.23.0",
"@typescript-eslint/parser": "^4.23.0",
"assert-never": "^1.2.1",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.26.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-jsdoc": "^34.0.2",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"json": "^11.0.0",
"obsidian": "^0.12.0",
"path-browserify": "^1.0.1",
"prettier": "^2.3.0",
"release-it": "^14.11.8",
"rollup": "^2.32.1",
"rollup-plugin-import-css": "^2.0.1",
"tslib": "^2.2.0",
"typescript": "^4.2.4"
},
"release-it": {
"hooks": {
"before:init": [
"npm run prettier",
"npm run eslint"
],
"after:bump": [
"json -I -f manifest.json -e \"this.version='${version}'\" -o json-4",
"json -I -f versions.json -e \"this['${version}']='$(cat manifest.json | json minAppVersion)'\" -o json-4",
"git add .",
"npm run build"
],
"after:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
},
"git": {
"commitMessage": "chore: release v${version}",
"tagName": "${version}",
"tagAnnotation": "Release v${version}"
},
"npm": {
"publish": false
},
"github": {
"release": true,
"assets": [
"main.js",
"manifest.json",
"styles.css"
],
"releaseName": "${version}"
},
"plugins": {
"@release-it/bumper": {
"out": "manifest.json"
},
"@release-it/conventional-changelog": {
"preset": "angular",
"infile": "CHANGELOG.md"
}
}
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}