2020-11-11 17:17:37 +00:00
|
|
|
{
|
|
|
|
"name": "queue",
|
|
|
|
"description": "A WebExtension for queueing links.",
|
|
|
|
"license": "AGPL-3.0-or-later",
|
2022-03-05 13:10:45 +00:00
|
|
|
"author": "Holllo <helllo@holllo.cc>",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/Holllo/queue"
|
|
|
|
},
|
2020-11-11 17:17:37 +00:00
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
2022-03-05 13:10:45 +00:00
|
|
|
"start": "vite build -m development --watch",
|
2022-03-20 18:02:37 +00:00
|
|
|
"start:chromium": "VITE_BROWSER=chromium pnpm start",
|
2022-03-05 13:10:45 +00:00
|
|
|
"clean": "trash build web-ext-artifacts",
|
2022-03-20 18:02:37 +00:00
|
|
|
"build": "pnpm clean && pnpm build:chromium && pnpm build:firefox && pnpm zip-source",
|
|
|
|
"build:chromium": "VITE_BROWSER=chromium vite build && web-ext build -n queue-chromium-{version}.zip -s build/chromium",
|
|
|
|
"build:firefox": "VITE_BROWSER=firefox vite build && web-ext build -n queue-firefox-{version}.zip -s build/firefox",
|
2022-03-05 13:10:45 +00:00
|
|
|
"zip-source": "git archive --format zip --output web-ext-artifacts/queue-source.zip HEAD",
|
|
|
|
"test": "xo && stylelint 'source/**/*.scss' && tsc && c8 ava"
|
2020-11-11 17:17:37 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2022-03-17 13:03:35 +00:00
|
|
|
"@holllo/gram": "^0.1.0",
|
2021-09-01 10:46:29 +00:00
|
|
|
"htm": "^3.1.0",
|
2022-03-05 13:10:45 +00:00
|
|
|
"migration-helper": "^0.1.2",
|
2021-09-01 10:46:29 +00:00
|
|
|
"modern-normalize": "^1.1.0",
|
2022-03-05 13:10:45 +00:00
|
|
|
"preact": "^10.6.6",
|
2021-09-01 10:46:29 +00:00
|
|
|
"webextension-polyfill": "^0.8.0"
|
2020-11-11 17:17:37 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-03-05 13:10:45 +00:00
|
|
|
"@preact/preset-vite": "^2.1.7",
|
|
|
|
"@types/webextension-polyfill": "^0.8.2",
|
|
|
|
"ava": "^4.0.1",
|
|
|
|
"c8": "^7.11.0",
|
|
|
|
"postcss": "^8.4.7",
|
|
|
|
"sass": "^1.49.9",
|
|
|
|
"stylelint": "^14.5.3",
|
|
|
|
"stylelint-config-standard-scss": "^3.0.0",
|
|
|
|
"trash-cli": "^5.0.0",
|
|
|
|
"ts-node": "^10.6.0",
|
|
|
|
"typescript": "^4.5.5",
|
|
|
|
"vite": "^2.8.4",
|
|
|
|
"vite-plugin-web-extension": "^1.1.2",
|
|
|
|
"web-ext": "^6.7.0",
|
|
|
|
"xo": "^0.48.0"
|
2020-11-11 17:17:37 +00:00
|
|
|
},
|
2022-03-05 13:10:45 +00:00
|
|
|
"ava": {
|
|
|
|
"extensions": [
|
|
|
|
"ts"
|
|
|
|
],
|
|
|
|
"files": [
|
|
|
|
"tests/**/*.test.ts"
|
2020-11-11 17:17:37 +00:00
|
|
|
],
|
2022-03-05 13:10:45 +00:00
|
|
|
"require": [
|
|
|
|
"ts-node/register"
|
2020-11-11 17:17:37 +00:00
|
|
|
],
|
2022-03-05 13:10:45 +00:00
|
|
|
"snapshotDir": "tests/snapshots"
|
|
|
|
},
|
|
|
|
"c8": {
|
|
|
|
"include": [
|
|
|
|
"source",
|
|
|
|
"tests"
|
|
|
|
],
|
|
|
|
"reportDir": "coverage",
|
|
|
|
"reporter": [
|
|
|
|
"text",
|
|
|
|
"html"
|
|
|
|
]
|
2020-11-11 17:17:37 +00:00
|
|
|
},
|
|
|
|
"xo": {
|
2022-03-05 13:10:45 +00:00
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"files": "tests/**/*.test.ts",
|
|
|
|
"rules": {
|
|
|
|
"@typescript-eslint/triple-slash-reference": "off",
|
|
|
|
"import/extensions": "off",
|
|
|
|
"no-await-in-loop": "off"
|
|
|
|
}
|
|
|
|
}
|
2020-11-11 17:17:37 +00:00
|
|
|
],
|
|
|
|
"prettier": true,
|
|
|
|
"space": true
|
2022-03-05 13:10:45 +00:00
|
|
|
}
|
2020-11-11 17:17:37 +00:00
|
|
|
}
|