|
28 | 28 | "build:node": "cross-env NODE_OPTIONS='--import=tsx' webpack --config webpack.node.config.ts", |
29 | 29 | "build": "npm run clean && npm run build:node && npm run build:types && npm run build:browser", |
30 | 30 | "dev": "cross-env NODE_OPTIONS='--import=tsx' webpack serve --config webpack.dev.config.ts", |
31 | | - "lint:eslint": "eslint -c eslint.config.mjs", |
32 | | - "lint": "tsc --noEmit && prettier . --check --experimental-cli", |
33 | | - "lint:fix": "prettier . --write --experimental-cli && npm run lint:eslint --fix", |
| 31 | + "lint": "oxfmt --check . && oxlint", |
| 32 | + "lint:fix": "oxfmt --write . && oxlint --fix", |
| 33 | + "prepare": "husky", |
34 | 34 | "prepublishOnly": "npm run build", |
35 | 35 | "test": "mocha spec-electron-setup/scripts/mocha-cli.ts" |
36 | 36 | }, |
| 37 | + "lint-staged": { |
| 38 | + "*.{js,ts,jsx,tsx}": [ |
| 39 | + "oxfmt --write", |
| 40 | + "oxlint --fix" |
| 41 | + ], |
| 42 | + "*.{json,css,html}": [ |
| 43 | + "oxfmt --write" |
| 44 | + ] |
| 45 | + }, |
37 | 46 | "author": "Hitarth Rajput", |
38 | 47 | "license": "MIT", |
39 | 48 | "keywords": [ |
|
55 | 64 | "node": ">=22.12.0" |
56 | 65 | }, |
57 | 66 | "devDependencies": { |
58 | | - "@eslint/js": "^9.27.0", |
59 | 67 | "@tsconfig/node22": "^22.0.2", |
60 | 68 | "@types/chai": "^5.2.2", |
61 | 69 | "@types/chrome": "^0.0.326", |
|
75 | 83 | "electron38": "npm:electron@^38", |
76 | 84 | "electron39": "npm:electron@^39", |
77 | 85 | "electron40": "npm:electron@^40", |
78 | | - "eslint": "^9.28.0", |
79 | | - "eslint-plugin-chai-friendly": "^1.1.0", |
80 | | - "eslint-plugin-react": "^7.37.5", |
81 | | - "eslint-plugin-react-hooks": "^5.2.0", |
82 | | - "eslint-plugin-unicorn": "^59.0.1", |
83 | | - "globals": "^16.2.0", |
84 | 86 | "html-webpack-plugin": "^5.6.3", |
| 87 | + "husky": "^9.1.7", |
| 88 | + "lint-staged": "^16.4.0", |
85 | 89 | "mocha": "^11.7.1", |
| 90 | + "oxfmt": "^0.44.0", |
| 91 | + "oxlint": "^1.59.0", |
| 92 | + "oxlint-tsgolint": "^0.20.0", |
86 | 93 | "postcss": "^8.5.4", |
87 | 94 | "postcss-loader": "^8.1.1", |
88 | 95 | "postcss-preset-env": "^10.2.1", |
89 | | - "prettier": "^3.6.2", |
90 | | - "prettier-plugin-tailwindcss": "^0.6.13", |
91 | 96 | "style-loader": "^4.0.0", |
92 | 97 | "tailwindcss": "^3.4.17", |
93 | 98 | "ts-loader": "^9.5.2", |
94 | 99 | "ts-node": "^10.9.2", |
95 | 100 | "tsx": "^4.20.3", |
96 | | - "typescript": "^5.8.3", |
97 | | - "typescript-eslint": "^8.34.0", |
| 101 | + "typescript": "^6.0.2", |
98 | 102 | "webpack": "^5.99.9", |
99 | 103 | "webpack-cli": "^6.0.1", |
100 | 104 | "webpack-dev-server": "^5.2.2" |
|
0 commit comments