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.
40 lines
873 B
JSON
40 lines
873 B
JSON
{
|
|
"type": "module",
|
|
"name": "misskey-reversi",
|
|
"version": "0.0.1",
|
|
"main": "./built/index.js",
|
|
"types": "./built/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"import": "./built/index.js",
|
|
"types": "./built/index.d.ts"
|
|
},
|
|
"./*": {
|
|
"import": "./built/*",
|
|
"types": "./built/*"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "node ./build.js",
|
|
"watch": "nodemon -w package.json -e json --exec \"node ./build.js --watch\"",
|
|
"eslint": "eslint './**/*.{js,jsx,ts,tsx}' --cache",
|
|
"typecheck": "tsc --noEmit",
|
|
"lint": "pnpm typecheck && pnpm eslint"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "20.11.5",
|
|
"@typescript-eslint/eslint-plugin": "7.1.0",
|
|
"@typescript-eslint/parser": "7.1.0",
|
|
"execa": "8.0.1",
|
|
"nodemon": "3.0.2",
|
|
"typescript": "5.3.3",
|
|
"esbuild": "0.19.11",
|
|
"glob": "10.3.10"
|
|
},
|
|
"files": [
|
|
"built"
|
|
],
|
|
"dependencies": {
|
|
"crc-32": "1.2.2"
|
|
}
|
|
}
|