queue/package.json

83 lines
2.2 KiB
JSON
Raw Normal View History

2020-11-11 17:17:37 +00:00
{
"private": true,
2023-03-26 12:32:57 +00:00
"type": "module",
2020-11-11 17:17:37 +00:00
"scripts": {
2022-03-05 13:10:45 +00:00
"start": "vite build -m development --watch",
"start:chromium": "VITE_BROWSER=chromium pnpm start",
2022-03-05 13:10:45 +00:00
"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 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-10-03 16:44:28 +00:00
"@holllo/migration-helper": "^0.1.3",
"@holllo/preact-components": "^0.2.3",
"@holllo/test": "^0.2.1",
"@holllo/webextension-storage": "^0.2.0",
2022-09-27 10:49:00 +00:00
"htm": "^3.1.1",
"modern-normalize": "^1.1.0",
2023-03-26 12:32:16 +00:00
"preact": "^10.13.1",
2022-09-27 10:49:00 +00:00
"webextension-polyfill": "^0.10.0"
2020-11-11 17:17:37 +00:00
},
"devDependencies": {
2023-03-26 12:32:16 +00:00
"@preact/preset-vite": "^2.5.0",
"@types/babel__core": "^7.20.0",
"@types/webextension-polyfill": "^0.10.0",
"ava": "^5.2.0",
"c8": "^7.13.0",
"postcss": "^8.4.21",
"sass": "^1.60.0",
"stylelint": "^15.3.0",
"stylelint-config-standard-scss": "^7.0.1",
2022-03-05 13:10:45 +00:00
"trash-cli": "^5.0.0",
2022-09-27 10:49:00 +00:00
"ts-node": "^10.9.1",
2023-03-26 12:32:16 +00:00
"typescript": "^5.0.2",
"vite": "^4.2.1",
"vite-plugin-web-extension": "^3.0.2",
"web-ext": "^7.6.0",
"xo": "^0.53.1"
2020-11-11 17:17:37 +00:00
},
2022-03-05 13:10:45 +00:00
"ava": {
2023-03-26 12:32:57 +00:00
"extensions": {
"ts": "module"
},
2022-03-05 13:10:45 +00:00
"files": [
"tests/**/*.test.ts"
2020-11-11 17:17:37 +00:00
],
2023-03-26 12:32:57 +00:00
"nodeArguments": [
"--loader=ts-node/esm"
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": {
2023-04-02 10:09:01 +00:00
"@typescript-eslint/triple-slash-reference": "off"
2022-03-05 13:10:45 +00:00
}
}
2020-11-11 17:17:37 +00:00
],
"prettier": true,
2022-09-27 10:49:00 +00:00
"rules": {
"@typescript-eslint/consistent-type-definitions": "off",
2023-04-02 10:09:01 +00:00
"n/file-extension-in-import": "off",
"no-await-in-loop": "off"
2022-09-27 10:49:00 +00:00
},
2020-11-11 17:17:37 +00:00
"space": true
2022-03-05 13:10:45 +00:00
}
2020-11-11 17:17:37 +00:00
}