Просмотр исходного кода

chore: enable eslint cache (#16570)

tags/1.1.3
Ryosei Karaki 7 месяцев назад
Родитель
Сommit
e95f0fcceb
Аккаунт пользователя с таким Email не найден
1 измененных файлов: 3 добавлений и 3 удалений
  1. 3
    3
      web/package.json

+ 3
- 3
web/package.json Просмотреть файл

@@ -9,10 +9,10 @@
"dev": "cross-env NODE_OPTIONS='--inspect' next dev",
"build": "next build",
"start": "cp -r .next/static .next/standalone/.next/static && cp -r public .next/standalone/public && cross-env PORT=$npm_config_port HOSTNAME=$npm_config_host node .next/standalone/server.js",
"lint": "pnpm eslint",
"lint": "pnpm eslint --cache --cache-location node_modules/.cache/eslint/.eslint-cache",
"fix": "next lint --fix",
"eslint-fix": "eslint --fix",
"eslint-fix-only-show-error": "eslint --fix --quiet",
"eslint-fix": "eslint --cache --cache-location node_modules/.cache/eslint/.eslint-cache --fix",
"eslint-fix-only-show-error": "eslint --cache --cache-location node_modules/.cache/eslint/.eslint-cache --fix --quiet",
"prepare": "cd ../ && node -e \"if (process.env.NODE_ENV !== 'production'){process.exit(1)} \" || husky ./web/.husky",
"gen-icons": "node ./app/components/base/icons/script.mjs",
"uglify-embed": "node ./bin/uglify-embed",

Загрузка…
Отмена
Сохранить