2019-11-10 17:38:47 +00:00
|
|
|
{
|
|
|
|
"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": {
|
2020-10-10 23:32:27 +00:00
|
|
|
"watch": "NODE_ENV=development parcel 'source/manifest.json' -d 'build/' --no-hmr",
|
2019-11-10 17:38:47 +00:00
|
|
|
"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/",
|
2020-10-10 23:32:27 +00:00
|
|
|
"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"
|
2019-11-10 17:38:47 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2020-10-03 16:52:12 +00:00
|
|
|
"caret-pos": "^2.0.0",
|
2019-11-10 17:38:47 +00:00
|
|
|
"debounce": "^1.2.0",
|
2020-10-10 23:32:27 +00:00
|
|
|
"htm": "^3.0.4",
|
2020-10-02 14:38:48 +00:00
|
|
|
"modern-normalize": "^1.0.0",
|
|
|
|
"platform": "^1.3.6",
|
2020-10-10 23:32:27 +00:00
|
|
|
"preact": "^10.5.3",
|
2020-10-02 14:38:48 +00:00
|
|
|
"webextension-polyfill-ts": "^0.20.0"
|
2019-11-10 17:38:47 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@types/debounce": "^1.2.0",
|
2020-10-02 14:38:48 +00:00
|
|
|
"@types/platform": "^1.3.3",
|
|
|
|
"eslint-config-xo-typescript": "^0.33.0",
|
2020-10-10 23:32:27 +00:00
|
|
|
"husky": "^4.3.0",
|
2019-11-10 17:38:47 +00:00
|
|
|
"parcel-bundler": "^1.12.4",
|
2020-03-03 15:49:20 +00:00
|
|
|
"parcel-plugin-web-extension": "^1.6.1",
|
2020-10-02 14:38:48 +00:00
|
|
|
"sass": "^1.26.11",
|
|
|
|
"stylelint": "^13.7.2",
|
|
|
|
"stylelint-config-xo-scss": "^0.13.0",
|
2020-03-03 15:49:20 +00:00
|
|
|
"stylelint-config-xo-space": "^0.14.0",
|
2020-10-02 14:38:48 +00:00
|
|
|
"trash-cli": "^3.1.0",
|
|
|
|
"typescript": "^4.0.3",
|
|
|
|
"web-ext": "^5.1.0",
|
2019-11-10 17:38:47 +00:00
|
|
|
"web-ext-types": "^3.2.1",
|
2020-10-02 14:38:48 +00:00
|
|
|
"xo": "^0.33.1"
|
2019-11-10 17:38:47 +00:00
|
|
|
},
|
|
|
|
"stylelint": {
|
|
|
|
"extends": [
|
|
|
|
"stylelint-config-xo-scss",
|
|
|
|
"stylelint-config-xo-space"
|
|
|
|
],
|
|
|
|
"ignoreFiles": [
|
2020-10-10 23:32:27 +00:00
|
|
|
"source/**/*.ts",
|
2019-11-10 17:38:47 +00:00
|
|
|
"build/**"
|
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"scss/at-rule-no-unknown": null,
|
2020-10-10 23:32:27 +00:00
|
|
|
"at-rule-empty-line-before": null,
|
2019-11-10 17:38:47 +00:00
|
|
|
"at-rule-no-unknown": null,
|
2020-03-03 18:16:40 +00:00
|
|
|
"block-no-empty": null,
|
|
|
|
"no-descending-specificity": null
|
2019-11-10 17:38:47 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"xo": {
|
2020-10-10 23:32:27 +00:00
|
|
|
"globals": [
|
2019-11-10 17:38:47 +00:00
|
|
|
"document",
|
|
|
|
"window"
|
|
|
|
],
|
|
|
|
"prettier": true,
|
|
|
|
"rules": {
|
2020-10-02 14:38:48 +00:00
|
|
|
"@typescript-eslint/no-implicit-any-catch": "off",
|
2020-10-10 23:32:27 +00:00
|
|
|
"@typescript-eslint/no-loop-func": "off"
|
2019-11-10 17:38:47 +00:00
|
|
|
},
|
|
|
|
"space": true
|
|
|
|
},
|
|
|
|
"browserslist": [
|
|
|
|
"last 2 Chrome versions"
|
2020-10-10 23:32:27 +00:00
|
|
|
],
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "yarn test",
|
|
|
|
"pre-push": "yarn test"
|
|
|
|
}
|
|
|
|
}
|
2019-11-10 17:38:47 +00:00
|
|
|
}
|