mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-28 17:03:02 +00:00
0a8cb21e9b
This reduces the time for subsequent lints significantly. e.g. for `package/frontend`, the first run takes ~10min. With the cache, every subsequent run takes only a few seconds.
24 lines
623 B
JSON
24 lines
623 B
JSON
{
|
|
"name": "sw",
|
|
"private": true,
|
|
"scripts": {
|
|
"watch": "nodemon -w ../../package.json -e json --exec \"node build.js watch\"",
|
|
"build": "node build.js",
|
|
"typecheck": "tsc --noEmit",
|
|
"eslint": "eslint --quiet src/**/*.ts --cache",
|
|
"lint": "pnpm typecheck && pnpm eslint"
|
|
},
|
|
"dependencies": {
|
|
"esbuild": "0.23.0",
|
|
"idb-keyval": "6.2.1",
|
|
"misskey-js": "workspace:*"
|
|
},
|
|
"devDependencies": {
|
|
"@typescript-eslint/parser": "7.17.0",
|
|
"@typescript/lib-webworker": "npm:@types/serviceworker@0.0.67",
|
|
"eslint-plugin-import": "2.29.1",
|
|
"nodemon": "3.1.4",
|
|
"typescript": "5.5.4"
|
|
},
|
|
"type": "module"
|
|
}
|