{ "name": "fangs", "license": "GPL-3.0-or-later", "repository": "https://github.com/Holllo/fangs", "private": true, "scripts": { "start": "vite build -m development --watch", "clean": "trash build web-ext-artifacts", "build": "pnpm clean && vite build && web-ext build --source-dir build && pnpm zip-source", "zip-source": "git archive --format zip --output web-ext-artifacts/fangs-source.zip HEAD", "test": "xo && stylelint 'source/**/*.scss' && tsc && c8 ava" }, "dependencies": { "@holllo/gram": "^0.2.0", "htm": "^3.1.0", "modern-normalize": "^1.1.0", "preact": "^10.6.6", "webextension-polyfill": "^0.8.0" }, "devDependencies": { "@preact/preset-vite": "^2.1.7", "@types/webextension-polyfill": "^0.8.2", "ava": "^4.1.0", "c8": "^7.11.0", "postcss": "^8.4.8", "sass": "^1.49.9", "stylelint": "^14.5.3", "stylelint-config-standard-scss": "^3.0.0", "trash-cli": "^5.0.0", "ts-node": "^10.7.0", "typescript": "^4.6.2", "vite": "^2.8.6", "vite-plugin-web-extension": "^1.1.3", "web-ext": "^6.7.0", "xo": "^0.48.0" }, "ava": { "extensions": [ "ts" ], "files": [ "tests/**/*.test.ts" ], "require": [ "ts-node/register" ], "snapshotDir": "tests/snapshots" }, "c8": { "include": [ "source", "tests" ], "reportDir": "coverage", "reporter": [ "text", "html" ] }, "xo": { "overrides": [ { "files": "tests/**/*.test.ts", "rules": { "import/extensions": "off", "no-await-in-loop": "off" } } ], "prettier": true, "space": true } }