2020-11-11 17:17:37 +00:00
|
|
|
{
|
|
|
|
"name": "queue",
|
|
|
|
"description": "A WebExtension for queueing links.",
|
|
|
|
"author": "Holllo <helllo@holllo.cc>",
|
|
|
|
"repository": "https://github.com/Holllo/queue",
|
|
|
|
"license": "AGPL-3.0-or-later",
|
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
|
|
|
"watch": "NODE_ENV=development parcel 'source/manifest.json' -d 'build/' --no-hmr",
|
2020-11-20 02:40:43 +00:00
|
|
|
"start": "web-ext run --source-dir 'build/' --bc",
|
|
|
|
"start:chromium": "mkdir -p 'chromium/' && yarn start --chromium-profile 'chromium/' --keep-profile-changes --target chromium --start-url \"chrome://extensions\"",
|
|
|
|
"start:firefox": "mkdir -p 'firefox/' && yarn start --firefox-profile 'firefox/' --keep-profile-changes --target firefox-desktop --start-url \"about:debugging#/runtime/this-firefox\"",
|
|
|
|
"clean": "trash '.cache/' 'build/' 'web-ext-artifacts/'",
|
2020-11-11 17:17:37 +00:00
|
|
|
"build": "yarn clean && parcel build 'source/manifest.json' -d 'build/' && web-ext build --source-dir 'build/' && yarn zip-source",
|
2020-11-20 02:40:43 +00:00
|
|
|
"zip-source": "zip -r 'web-ext-artifacts/queue-source.zip' 'README.md' 'yarn.lock' 'tsconfig.json' 'package.json' '.gitignore' 'LICENSE' 'source/'",
|
2021-09-01 10:46:29 +00:00
|
|
|
"test": "xo && stylelint 'source/scss/**/*.scss' && tsc"
|
2020-11-11 17:17:37 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2021-09-01 10:46:29 +00:00
|
|
|
"htm": "^3.1.0",
|
|
|
|
"modern-normalize": "^1.1.0",
|
|
|
|
"preact": "^10.5.14",
|
|
|
|
"webextension-polyfill": "^0.8.0"
|
2020-11-11 17:17:37 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-09-01 10:46:29 +00:00
|
|
|
"@types/webextension-polyfill": "^0.8.0",
|
|
|
|
"parcel-bundler": "^1.12.5",
|
2020-11-11 17:17:37 +00:00
|
|
|
"parcel-plugin-web-extension": "^1.6.1",
|
2021-09-01 10:46:29 +00:00
|
|
|
"sass": "^1.38.2",
|
|
|
|
"stylelint": "^13.13.1",
|
2020-11-11 17:17:37 +00:00
|
|
|
"stylelint-config-xo-scss": "^0.14.0",
|
|
|
|
"stylelint-config-xo-space": "^0.15.1",
|
2021-09-01 10:46:29 +00:00
|
|
|
"trash-cli": "^4.0.0",
|
|
|
|
"typescript": "^4.4.2",
|
|
|
|
"web-ext": "^6.3.0",
|
|
|
|
"xo": "^0.44.0"
|
2020-11-11 17:17:37 +00:00
|
|
|
},
|
|
|
|
"stylelint": {
|
|
|
|
"extends": [
|
|
|
|
"stylelint-config-xo-scss",
|
|
|
|
"stylelint-config-xo-space"
|
|
|
|
],
|
|
|
|
"ignoreFiles": [
|
|
|
|
"source/**/*.ts",
|
|
|
|
"build/**"
|
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"scss/at-rule-no-unknown": null,
|
|
|
|
"at-rule-empty-line-before": null,
|
|
|
|
"at-rule-no-unknown": null,
|
|
|
|
"block-no-empty": null,
|
|
|
|
"no-descending-specificity": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"xo": {
|
|
|
|
"globals": [
|
|
|
|
"document",
|
|
|
|
"window"
|
|
|
|
],
|
|
|
|
"prettier": true,
|
|
|
|
"rules": {
|
|
|
|
"@typescript-eslint/no-implicit-any-catch": "off",
|
2021-09-01 10:46:29 +00:00
|
|
|
"@typescript-eslint/no-loop-func": "off",
|
|
|
|
"no-await-in-loop": "off"
|
2020-11-11 17:17:37 +00:00
|
|
|
},
|
|
|
|
"space": true
|
|
|
|
},
|
|
|
|
"browserslist": [
|
|
|
|
"last 2 Chrome versions"
|
2021-09-01 10:46:29 +00:00
|
|
|
]
|
2020-11-11 17:17:37 +00:00
|
|
|
}
|