-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
47 lines (47 loc) · 1.9 KB
/
package.json
File metadata and controls
47 lines (47 loc) · 1.9 KB
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
{
"name": "github-notifier-pro",
"version": "1.0.5",
"description": "GitHub notifications in the browser toolbar",
"keywords": [
"chrome-extension",
"github",
"notifications",
"webextension"
],
"license": "MIT",
"author": "euxx",
"repository": {
"type": "git",
"url": "https://github.com/euxx/github-notifier-pro"
},
"type": "module",
"scripts": {
"ci": "npm run test && npm run lint && npm run format",
"dev": "npm run ci && npm run dev:firefox",
"all": "npm run ci && npm run build",
"build": "rm -rf dist/tmp-firefox dist/github-notifier-pro-chrome.zip dist/github-notifier-pro-firefox.zip && mkdir -p dist && zip -r dist/github-notifier-pro-chrome.zip manifest.json src/ images/ -x '*.DS_Store' '*.git*' '*node_modules*' '*.md' && mkdir -p dist/tmp-firefox && cp manifest-firefox.json dist/tmp-firefox/manifest.json && cp -r src images dist/tmp-firefox/ && (cd dist/tmp-firefox && zip -r ../github-notifier-pro-firefox.zip manifest.json src/ images/ -x '*.DS_Store' '*.git*' '*node_modules*' '*.md') && rm -rf dist/tmp-firefox && echo '✨ Build complete! Chrome & Firefox packages in dist/'",
"dev:firefox": "rm -rf dist/firefox-dev && mkdir -p dist/firefox-dev && cp manifest-firefox.json dist/firefox-dev/manifest.json && cp -r src dist/firefox-dev/ && cp -r images dist/firefox-dev/ && echo '🦊 Firefox dev environment ready at dist/firefox-dev/'",
"test": "vitest run",
"lint": "oxlint --deny-warnings src/ tests/",
"format": "oxfmt --write .",
"format:check": "oxfmt --check .",
"prepare": "husky"
},
"devDependencies": {
"husky": "latest",
"jsdom": "latest",
"lint-staged": "latest",
"oxfmt": "latest",
"oxlint": "latest",
"prettier": "latest",
"vitest": "latest"
},
"lint-staged": {
"*.{js,html,css,md,yml,yaml,json}": [
"oxfmt --write"
],
"*.js": [
"oxlint --deny-warnings"
]
}
}