81 lines
2.6 KiB
JSON
81 lines
2.6 KiB
JSON
{
|
|
"name": "tildes-reextended",
|
|
"description": "An updated and reimagined recreation of Tildes Extended to enhance and improve the experience of Tildes.net.",
|
|
"license": "MIT",
|
|
"repository": "https://gitlab.com/tildes-community/tildes-reextended",
|
|
"authors": [
|
|
"Bauke <me@bauke.xyz>"
|
|
],
|
|
"private": true,
|
|
"scripts": {
|
|
"watch": "NODE_ENV=development parcel 'source/manifest.json' -d 'build/' --no-hmr",
|
|
"start": "web-ext run --source-dir build/ --bc",
|
|
"start:chromium": "yarn start --chromium-profile chromium/ --keep-profile-changes --target chromium --start-url \"chrome://extensions\"",
|
|
"start: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/",
|
|
"build": "yarn clean && parcel build 'source/manifest.json' -d 'build/' && web-ext build --source-dir 'build/' && yarn zip-source",
|
|
"zip-source": "zip -r web-ext-artifacts/tildes_reextended-source.zip README.md yarn.lock tsconfig.json package.json .gitignore LICENSE source/",
|
|
"test": "xo && stylelint 'source/scss/**/*.scss' && tsc --noEmit",
|
|
"postinstall": "husky install"
|
|
},
|
|
"dependencies": {
|
|
"caret-pos": "^2.0.0",
|
|
"debounce": "^1.2.0",
|
|
"htm": "^3.0.4",
|
|
"modern-normalize": "^1.0.0",
|
|
"platform": "^1.3.6",
|
|
"preact": "^10.5.12",
|
|
"webextension-polyfill-ts": "^0.25.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/debounce": "^1.2.0",
|
|
"@types/platform": "^1.3.3",
|
|
"eslint-config-xo-typescript": "^0.38.0",
|
|
"husky": "5",
|
|
"parcel-bundler": "^1.12.4",
|
|
"parcel-plugin-web-extension": "^1.6.1",
|
|
"sass": "^1.32.8",
|
|
"stylelint": "^13.11.0",
|
|
"stylelint-config-xo-scss": "^0.14.0",
|
|
"stylelint-config-xo-space": "^0.15.1",
|
|
"trash-cli": "^4.0.0",
|
|
"typescript": "^4.1.5",
|
|
"web-ext": "^5.5.0",
|
|
"web-ext-types": "^3.2.1",
|
|
"xo": "^0.38.1"
|
|
},
|
|
"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",
|
|
"@typescript-eslint/no-loop-func": "off",
|
|
"node/file-extension-in-import": "off"
|
|
},
|
|
"space": true
|
|
},
|
|
"browserslist": [
|
|
"last 2 Chrome versions"
|
|
]
|
|
}
|