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",
|
2019-11-10 21:44:33 +00:00
|
|
|
"version": "0.1.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",
|
|
|
|
"test": "xo && stylelint source/scss/"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"debounce": "^1.2.0",
|
|
|
|
"modern-normalize": "^0.5.0",
|
|
|
|
"platform": "^1.3.5",
|
|
|
|
"webextension-polyfill-ts": "^0.10.0"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@types/debounce": "^1.2.0",
|
|
|
|
"@types/platform": "^1.3.2",
|
|
|
|
"@types/prompts": "^2.0.3",
|
|
|
|
"@types/semver": "^6.2.0",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^2.6.1",
|
|
|
|
"@typescript-eslint/parser": "^2.6.1",
|
|
|
|
"eslint": "^6.6.0",
|
|
|
|
"eslint-config-xo": "^0.27.2",
|
|
|
|
"eslint-config-xo-typescript": "^0.19.0",
|
|
|
|
"parcel-bundler": "^1.12.4",
|
|
|
|
"parcel-plugin-web-extension": "^1.5.2",
|
|
|
|
"prompts": "^2.2.1",
|
|
|
|
"sass": "^1.23.3",
|
|
|
|
"semver": "^6.3.0",
|
|
|
|
"simple-git": "^1.126.0",
|
|
|
|
"stylelint": "^11.1.1",
|
|
|
|
"stylelint-config-xo-scss": "^0.9.0",
|
|
|
|
"stylelint-config-xo-space": "^0.13.0",
|
|
|
|
"trash-cli": "^3.0.0",
|
|
|
|
"ts-node": "^8.4.1",
|
|
|
|
"type-fest": "^0.8.1",
|
|
|
|
"typescript": "^3.7.2",
|
|
|
|
"web-ext": "^3.2.1",
|
|
|
|
"web-ext-types": "^3.2.1",
|
|
|
|
"xo": "^0.25.3"
|
|
|
|
},
|
|
|
|
"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
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"xo": {
|
|
|
|
"extends": [
|
|
|
|
"xo-typescript"
|
|
|
|
],
|
|
|
|
"extensions": [
|
|
|
|
"ts"
|
|
|
|
],
|
|
|
|
"global": [
|
|
|
|
"confirm",
|
|
|
|
"document",
|
|
|
|
"performance",
|
|
|
|
"window"
|
|
|
|
],
|
|
|
|
"ignores": [
|
|
|
|
"build/",
|
|
|
|
"public/"
|
|
|
|
],
|
|
|
|
"prettier": true,
|
|
|
|
"rules": {
|
|
|
|
"@typescript-eslint/indent": [
|
|
|
|
"error",
|
|
|
|
2,
|
|
|
|
{
|
|
|
|
"SwitchCase": 1
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"capitalized-comments": "off",
|
|
|
|
"no-await-in-loop": "off"
|
|
|
|
},
|
|
|
|
"space": true
|
|
|
|
},
|
|
|
|
"browserslist": [
|
|
|
|
"last 2 Chrome versions"
|
|
|
|
]
|
|
|
|
}
|