[dev] Enable linter cache (#6406)
This commit is contained in:
parent
80ab048c29
commit
310eaf6812
1
package-lock.json
generated
1
package-lock.json
generated
@ -7,6 +7,7 @@
|
||||
"": {
|
||||
"name": "telegram-t",
|
||||
"version": "12.0.5",
|
||||
"hasInstallScript": true,
|
||||
"license": "GPL-3.0-or-later",
|
||||
"dependencies": {
|
||||
"@cryptography/aes": "^0.1.1",
|
||||
|
||||
@ -18,8 +18,8 @@
|
||||
"tauri:dev": "tauri dev",
|
||||
"tauri:build": "tauri build",
|
||||
"telegraph:update_changelog": "node ./dev/telegraphChangelog.js",
|
||||
"check": "tsc && stylelint \"**/*.{css,scss}\" && eslint",
|
||||
"check:fix": "stylelint \"**/*.{css,scss}\" --fix && eslint --fix",
|
||||
"check": "tsc && stylelint \"**/*.{css,scss}\" --cache --cache-location .cache/.stylelintcache && eslint --cache --cache-location .cache/.eslintcache",
|
||||
"check:fix": "stylelint \"**/*.{css,scss}\" --fix --cache --cache-location .cache/.stylelintcache && eslint --fix --cache --cache-location .cache/.eslintcache",
|
||||
"tl:rehash": "node ./dev/tlHash.js",
|
||||
"gramjs:tl": "tsx ./src/lib/gramjs/tl/generateModules.ts",
|
||||
"lang:ts": "tsx ./dev/generateLangTypes.js",
|
||||
@ -29,6 +29,7 @@
|
||||
"test:playwright": "playwright test",
|
||||
"test:record": "playwright codegen localhost:1235",
|
||||
"statoscope:validate-diff": "statoscope validate --input input.json --reference reference.json",
|
||||
"postinstall": "node -e \"require('fs').rmSync('.cache', { recursive: true, force: true })\"",
|
||||
"postversion": "echo $(node -p \"require('./package.json').version\") > public/version.txt && git commit --amend --no-verify --no-edit public/version.txt"
|
||||
},
|
||||
"engines": {
|
||||
|
||||
@ -26,7 +26,9 @@
|
||||
"paths": {
|
||||
"@teact": ["./src/lib/teact/teact.ts"],
|
||||
"@teact/*": ["./src/lib/teact/*"]
|
||||
}
|
||||
},
|
||||
"incremental": true,
|
||||
"tsBuildInfoFile": ".cache/.tsconfig.tsbuildinfo"
|
||||
},
|
||||
"include": [
|
||||
"src",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user