This repository has been archived by the owner on Jan 23, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
executable file
·98 lines (98 loc) · 3.13 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
{
"name": "mx-bili-plugin",
"version": "0.3.1",
"description": "Add advanced bilibili videos support for Media Extended plugin",
"main": "main.js",
"scripts": {
"dev": "sed -i '' \"s#return adapter;#return require('./adapters/http');#\" node_modules/axios/lib/defaults.js && rollup --config rollup.config.js -w",
"build": "sed -i '' \"s#return adapter;#return require('./adapters/http');#\" node_modules/axios/lib/defaults.js && rollup --config rollup.config.js",
"prettier": "prettier --write 'src/**/*.+(ts|tsx|json|html|css)'",
"eslint": "eslint . --ext .ts,.tsx --fix",
"release": "release-it"
},
"keywords": [],
"author": "AidenLx",
"license": "MIT",
"devDependencies": {
"@release-it/bumper": "^3.0.1",
"@release-it/conventional-changelog": "^3.0.1",
"@rollup/plugin-commonjs": "^19.0.1",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.0.2",
"@rollup/plugin-typescript": "^8.2.3",
"@types/express": "^4.17.13",
"@types/json-schema": "^7.0.8",
"@types/node": "^16.4.0",
"@typescript-eslint/eslint-plugin": "^4.28.4",
"@typescript-eslint/parser": "^4.28.4",
"assert-never": "^1.2.1",
"axios": "^0.21.1",
"bili-api": "github:aidenlx/bili-api",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.31.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-jsdoc": "^35.5.0",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"express": "^4.17.1",
"get-port": "^5.1.1",
"http-proxy-middleware": "^2.0.1",
"json": "^11.0.0",
"obsidian": "^0.12.11",
"prettier": "^2.3.2",
"release-it": "^14.10.0",
"rollup": "^2.53.3",
"rollup-plugin-copy": "^3.4.0",
"tslib": "^2.3.0",
"typescript": "^4.3.5",
"xmlbuilder2": "^2.4.1"
},
"release-it": {
"hooks": {
"before:init": [
"npm run prettier",
"npm run eslint"
],
"after:bump": [
"json -I -f manifest.json -e \"this.version='${version}'\"",
"json -I -f versions.json -e \"this['${version}']='$(cat manifest.json | json minAppVersion)'\"",
"sed -i '' \"s/available for Obsidian v.*$/available for Obsidian v$(cat manifest.json | json minAppVersion)+./\" README.md",
"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"
],
"proxy": "http://127.0.0.1:7890",
"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"
}
}
}