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",
|
2020-03-05 12:33:30 +00:00
|
|
|
"version": "0.3.1",
|
2019-11-10 17:38:47 +00:00
|
|
|
"repository": "https://gitlab.com/tildes-community/tildes-reextended",
|
|
|
|
"authors": [
|
|
|
|
"Bauke <me@bauke.xyz>"
|
|
|
|
],
|
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
|
|
|
"watch": "NODE_ENV=development parcel source/assets/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\"",
|
2019-11-10 17:55:19 +00:00
|
|
|
"build": "yarn clean && parcel build source/assets/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/ scripts/ .vscode/",
|
2019-11-10 17:38:47 +00:00
|
|
|
"clean": "trash .cache build/ web-ext-artifacts/",
|
|
|
|
"bump": "ts-node scripts/bump-version.ts && yarn build",
|
2020-03-03 15:49:20 +00:00
|
|
|
"test": "xo && stylelint 'source/scss/**/*.scss'"
|
2019-11-10 17:38:47 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"debounce": "^1.2.0",
|
2020-03-03 15:49:20 +00:00
|
|
|
"modern-normalize": "^0.6.0",
|
2019-11-10 17:38:47 +00:00
|
|
|
"platform": "^1.3.5",
|
2020-03-03 15:49:20 +00:00
|
|
|
"webextension-polyfill-ts": "^0.12.0"
|
2019-11-10 17:38:47 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@types/debounce": "^1.2.0",
|
|
|
|
"@types/platform": "^1.3.2",
|
|
|
|
"@types/prompts": "^2.0.3",
|
2020-03-03 15:49:20 +00:00
|
|
|
"@types/semver": "^7.1.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",
|
|
|
|
"prompts": "^2.3.1",
|
|
|
|
"sass": "^1.26.2",
|
|
|
|
"semver": "^7.1.3",
|
|
|
|
"simple-git": "^1.131.0",
|
|
|
|
"stylelint": "^13.2.0",
|
|
|
|
"stylelint-config-xo-scss": "^0.12.0",
|
|
|
|
"stylelint-config-xo-space": "^0.14.0",
|
2019-11-10 17:38:47 +00:00
|
|
|
"trash-cli": "^3.0.0",
|
2020-03-03 15:49:20 +00:00
|
|
|
"ts-node": "^8.6.2",
|
|
|
|
"type-fest": "^0.11.0",
|
|
|
|
"typescript": "^3.8.3",
|
|
|
|
"web-ext": "^4.1.0",
|
2019-11-10 17:38:47 +00:00
|
|
|
"web-ext-types": "^3.2.1",
|
2020-03-03 15:49:20 +00:00
|
|
|
"xo": "^0.27.2"
|
2019-11-10 17:38:47 +00:00
|
|
|
},
|
|
|
|
"stylelint": {
|
|
|
|
"extends": [
|
|
|
|
"stylelint-config-xo-scss",
|
|
|
|
"stylelint-config-xo-space"
|
|
|
|
],
|
|
|
|
"ignoreFiles": [
|
|
|
|
"build/**"
|
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"scss/at-rule-no-unknown": null,
|
|
|
|
"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": {
|
|
|
|
"global": [
|
2019-11-11 14:40:30 +00:00
|
|
|
"Blob",
|
2019-11-10 17:38:47 +00:00
|
|
|
"confirm",
|
|
|
|
"document",
|
2019-11-11 14:40:30 +00:00
|
|
|
"FileReader",
|
2019-11-10 17:38:47 +00:00
|
|
|
"performance",
|
|
|
|
"window"
|
|
|
|
],
|
|
|
|
"ignores": [
|
|
|
|
"build/",
|
|
|
|
"public/"
|
|
|
|
],
|
|
|
|
"prettier": true,
|
|
|
|
"rules": {
|
|
|
|
"@typescript-eslint/indent": [
|
|
|
|
"error",
|
|
|
|
2,
|
|
|
|
{
|
|
|
|
"SwitchCase": 1
|
|
|
|
}
|
|
|
|
],
|
2020-03-03 18:16:40 +00:00
|
|
|
"@typescript-eslint/member-ordering": "off",
|
|
|
|
"unicorn/prefer-modern-dom-apis": "off",
|
2019-11-10 17:38:47 +00:00
|
|
|
"capitalized-comments": "off",
|
|
|
|
"no-await-in-loop": "off"
|
|
|
|
},
|
|
|
|
"space": true
|
|
|
|
},
|
|
|
|
"browserslist": [
|
|
|
|
"last 2 Chrome versions"
|
|
|
|
]
|
|
|
|
}
|