98 lines
2.9 KiB
JSON
98 lines
2.9 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",
|
|
"version": "0.3.1",
|
|
"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\"",
|
|
"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/",
|
|
"clean": "trash .cache build/ web-ext-artifacts/",
|
|
"bump": "ts-node scripts/bump-version.ts && yarn build",
|
|
"test": "xo && stylelint 'source/scss/**/*.scss'"
|
|
},
|
|
"dependencies": {
|
|
"debounce": "^1.2.0",
|
|
"modern-normalize": "^0.6.0",
|
|
"platform": "^1.3.5",
|
|
"webextension-polyfill-ts": "^0.16.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/debounce": "^1.2.0",
|
|
"@types/platform": "^1.3.2",
|
|
"@types/prompts": "^2.0.8",
|
|
"@types/semver": "^7.2.0",
|
|
"parcel-bundler": "^1.12.4",
|
|
"parcel-plugin-web-extension": "^1.6.1",
|
|
"prompts": "^2.3.2",
|
|
"sass": "^1.26.8",
|
|
"semver": "^7.3.2",
|
|
"simple-git": "^2.5.0",
|
|
"stylelint": "^13.6.0",
|
|
"stylelint-config-xo-scss": "^0.12.0",
|
|
"stylelint-config-xo-space": "^0.14.0",
|
|
"trash-cli": "^3.0.0",
|
|
"ts-node": "^8.10.2",
|
|
"type-fest": "^0.15.0",
|
|
"typescript": "^3.9.5",
|
|
"web-ext": "^4.2.0",
|
|
"web-ext-types": "^3.2.1",
|
|
"xo": "^0.32.0"
|
|
},
|
|
"stylelint": {
|
|
"extends": [
|
|
"stylelint-config-xo-scss",
|
|
"stylelint-config-xo-space"
|
|
],
|
|
"ignoreFiles": [
|
|
"build/**"
|
|
],
|
|
"rules": {
|
|
"scss/at-rule-no-unknown": null,
|
|
"at-rule-no-unknown": null,
|
|
"block-no-empty": null,
|
|
"no-descending-specificity": null
|
|
}
|
|
},
|
|
"xo": {
|
|
"global": [
|
|
"Blob",
|
|
"confirm",
|
|
"document",
|
|
"FileReader",
|
|
"performance",
|
|
"window"
|
|
],
|
|
"ignores": [
|
|
"build/",
|
|
"public/"
|
|
],
|
|
"prettier": true,
|
|
"rules": {
|
|
"@typescript-eslint/indent": [
|
|
"error",
|
|
2,
|
|
{
|
|
"SwitchCase": 1
|
|
}
|
|
],
|
|
"@typescript-eslint/member-ordering": "off",
|
|
"unicorn/prefer-modern-dom-apis": "off",
|
|
"capitalized-comments": "off",
|
|
"no-await-in-loop": "off"
|
|
},
|
|
"space": true
|
|
},
|
|
"browserslist": [
|
|
"last 2 Chrome versions"
|
|
]
|
|
}
|