|
4 | 4 | "type": "module", |
5 | 5 | "description": "GitHub notifications in the browser toolbar", |
6 | 6 | "scripts": { |
7 | | - "ci": "npm run test && npm run lint:fix && npm run format", |
| 7 | + "ci": "npm run test && npm run lint && npm run format", |
8 | 8 | "dev": "npm run ci && npm run dev:firefox", |
9 | 9 | "all": "npm run ci && npm run build", |
10 | 10 | "build": "rm -rf dist && 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/'", |
11 | 11 | "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/'", |
12 | 12 | "test": "vitest run", |
13 | | - "lint": "eslint src/ tests/", |
14 | | - "lint:fix": "eslint src/ tests/ --fix", |
15 | | - "format": "prettier --write \"src/**/*.{js,html,css}\" \"tests/**/*.js\"", |
16 | | - "format:check": "prettier --check \"src/**/*.{js,html,css}\" \"tests/**/*.js\"", |
| 13 | + "lint": "oxlint src/ tests/", |
| 14 | + "format": "oxfmt --write .", |
| 15 | + "format:check": "oxfmt --check .", |
17 | 16 | "prepare": "husky" |
18 | 17 | }, |
19 | 18 | "lint-staged": { |
|
44 | 43 | "url": "https://github.com/euxx/github-notifier-pro" |
45 | 44 | }, |
46 | 45 | "devDependencies": { |
47 | | - "@eslint/js": "latest", |
48 | | - "eslint": "latest", |
49 | | - "eslint-config-prettier": "latest", |
50 | | - "eslint-plugin-prettier": "latest", |
51 | | - "globals": "latest", |
52 | 46 | "husky": "latest", |
53 | 47 | "jsdom": "latest", |
54 | 48 | "lint-staged": "latest", |
55 | 49 | "oxfmt": "^0.42.0", |
56 | 50 | "oxlint": "^1.57.0", |
57 | | - "prettier": "latest", |
58 | 51 | "vitest": "latest" |
59 | 52 | } |
60 | 53 | } |
0 commit comments