-
Notifications
You must be signed in to change notification settings - Fork 18
/
package.json
91 lines (91 loc) · 3.06 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": "file-explorer-note-count",
"version": "1.2.3",
"description": "You can see the number of notes under each folder within 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": "NODE_ENV=production rollup --config rollup.config.js"
},
"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",
"monkey-around": "^2.2.0",
"obsidian": "^0.12.0",
"path-browserify": "^1.0.1",
"prettier": "^2.3.0",
"rollup": "^2.32.1",
"rollup-plugin-copy": "^3.4.0",
"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": [
"build/main.js",
"build/manifest.json",
"build/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"
}
}
}