-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
82 lines (82 loc) · 2.18 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
{
"name": "replace_maps",
"description": "Replace Google Maps iFrames with OSM",
"author": "nobkd",
"license": "MPL-2.0",
"version": "0.0.7",
"type": "module",
"private": true,
"homepage": "https://github.com/nobkd/replace-maps#readme",
"bugs": {
"url": "https://github.com/nobkd/replace-maps/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nobkd/replace-maps.git"
},
"scripts": {
"postinstall": "bun build-icons.js",
"lint": "prettier . --check",
"lint:fix": "prettier . --write",
"test": "vitest run",
"test:watch": "vitest",
"test:cov": "vitest run --coverage",
"dev": "run-p -rl build:dev serve",
"build": "vite build",
"build:dev": "vite build --watch --mode development --minify false",
"serve": "web-ext run -s dist",
"bundle": "web-ext build -s dist -a out --overwrite-dest -n replace_maps.zip",
"release": "release-it"
},
"devDependencies": {
"@types/leaflet": "^1.9.12",
"@types/leaflet-fullscreen": "^1.0.9",
"@types/webextension-polyfill": "^0.10.7",
"@vitest/coverage-v8": "^1.6.0",
"npm-run-all": "^4.1.5",
"oslllo-svg2": "^2.0.2",
"prettier": "^3.3.2",
"release-it": "^17.4.0",
"release-it-changelogen": "^0.1.0",
"vite": "^5.3.2",
"vite-plugin-static-copy": "^1.0.5",
"vitest": "^1.6.0",
"web-ext": "^8.2.0",
"webextension-polyfill": "^0.12.0"
},
"dependencies": {
"leaflet": "^1.9.4",
"leaflet-fullscreen": "^1.0.2"
},
"release-it": {
"git": {
"tagName": "v${version}",
"commitMessage": "chore(release): v${version}",
"tagAnnotation": "v${version}"
},
"github": {
"release": true,
"releaseName": "v${version}"
},
"plugins": {
"release-it-changelogen": {
"disableVersion": true,
"templates": {
"commitMessage": "chore(release): v{{newVersion}}",
"tagMessage": "v{{newVersion}}",
"tagBody": "v{{newVersion}}"
}
}
},
"hooks": {
"before:init": [
"bun run lint",
"bun run test",
"bun run build"
],
"after:bump": [
"sh scripts/bump.sh"
]
}
}
}