{ "name": "web-ext-template", "license": "Unlicense", "repository": "https://github.com/Holllo/web-ext-template", "private": true, "scripts": { "start": "vite build -m development --watch", "start:chromium": "VITE_BROWSER=chromium pnpm start", "clean": "trash build web-ext-artifacts", "build": "pnpm clean && pnpm build:chromium && pnpm build:firefox && pnpm zip-source", "build:chromium": "VITE_BROWSER=chromium vite build && web-ext build -n web-ext-template-chromium-{version}.zip -s build/chromium", "build:firefox": "VITE_BROWSER=firefox vite build && web-ext build -n web-ext-template-firefox-{version}.zip -s build/firefox", "zip-source": "git archive --format zip --output web-ext-artifacts/webextension_template-source.zip HEAD", "test": "xo && stylelint 'source/**/*.scss' && tsc" }, "dependencies": { "htm": "^3.1.1", "modern-normalize": "^1.1.0", "preact": "^10.10.6", "webextension-polyfill": "^0.10.0" }, "devDependencies": { "@preact/preset-vite": "^2.3.1", "@types/babel__core": "^7.1.19", "@types/webextension-polyfill": "^0.9.0", "postcss": "^8.4.16", "sass": "^1.54.8", "stylelint": "^14.11.0", "stylelint-config-standard-scss": "^5.0.0", "trash-cli": "^5.0.0", "typescript": "^4.8.2", "vite": "^3.1.0", "vite-plugin-web-extension": "^1.4.4", "web-ext": "^7.2.0", "xo": "^0.52.3" }, "xo": { "prettier": true, "rules": { "@typescript-eslint/consistent-type-definitions": "off", "@typescript-eslint/consistent-type-imports": "off", "n/file-extension-in-import": "off" }, "space": true } }