mirror of
https://github.com/ItsVipra/ProToots
synced 2024-11-10 14:14:19 +00:00
42 lines
1.2 KiB
JSON
42 lines
1.2 KiB
JSON
{
|
|
"name": "protoots",
|
|
"scripts": {
|
|
"build:scripts": "node scripts/build.mjs",
|
|
"build:webext": "web-ext build --overwrite-dest --filename protoots-firefox.zip",
|
|
"start": "run-p -l -r watch:**",
|
|
"watch:scripts": "node scripts/watch.mjs",
|
|
"watch:webext": "web-ext run --keep-profile-changes --profile-create-if-missing --firefox-profile=.firefox-profile/",
|
|
"format": "prettier --write --ignore-path .gitignore .",
|
|
"package": "run-s -l build:**",
|
|
"archive": "git archive --format zip main -o protoots_source.zip",
|
|
"lint": "eslint src/",
|
|
"test": "uvu tests/"
|
|
},
|
|
"devDependencies": {
|
|
"@sprout2000/esbuild-copy-plugin": "1.1.8",
|
|
"@types/sanitize-html": "^2.9.0",
|
|
"@types/webextension-polyfill": "^0.10.1",
|
|
"esbuild": "0.17.19",
|
|
"eslint": "^8.42.0",
|
|
"eslint-config-prettier": "^8.8.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"prettier": "^2.8.8",
|
|
"typescript": "^5.1.6",
|
|
"uvu": "^0.5.6",
|
|
"web-ext": "^7.6.2"
|
|
},
|
|
"prettier": {
|
|
"endOfLine": "lf",
|
|
"printWidth": 100,
|
|
"useTabs": true,
|
|
"trailingComma": "all"
|
|
},
|
|
"type": "module",
|
|
"webExt": {
|
|
"sourceDir": "dist/"
|
|
},
|
|
"dependencies": {
|
|
"sanitize-html": "^2.11.0",
|
|
"webextension-polyfill": "^0.10.0"
|
|
}
|
|
}
|