queue/package.json

81 lines
1.9 KiB
JSON
Raw Normal View History

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",
"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/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",
"htm": "^3.1.0",
2022-03-05 13:10:45 +00:00
"migration-helper": "^0.1.2",
"modern-normalize": "^1.1.0",
2022-03-05 13:10:45 +00:00
"preact": "^10.6.6",
"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
}