{
  "_schemaVersion": "22.11.0",
  "name": "@eslinted/config",
  "version": "2.0.0",
  "description": "Default config for `linted`.",
  "keywords": [],
  "repository": "github:jimmy-zhening-luo/linted-config",
  "homepage": "https://github.com/jimmy-zhening-luo/linted-config#readme",
  "bugs": "https://github.com/jimmy-zhening-luo/linted-config/issues",
  "license": "MIT",
  "private": false,
  "publishConfig": {
    "access": "public",
    "tag": "next"
  },
  "type": "module",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "config": {
    "language": "ts",
    "fix": "true",
    "lint": "false"
  },
  "engineStrict": true,
  "engines": {
    "node": ">=22.11.0",
    "npm": ">=10.9.0"
  },
  "peerDependencies": {
    "@eslinted/core": "13.4.0"
  },
  "peerDependenciesMeta": {},
  "dependencies": {},
  "devDependencies": {
    "@types/chai": "^5.0.1",
    "@types/mocha": "^10.0.9",
    "chai": "^5.1.2",
    "mocha": "^10.8.2",
    "npm-run-all": "^4.1.5",
    "run-script-os": "^1.1.6",
    "ts-add-js-extension": "^1.6.5",
    "typescript": "^5.6.3"
  },
  "scripts": {
    "build": "run-os",
    "build:default": "npm run rebuild -- $npm_package_config_language $npm_package_config_fix $npm_package_config_lint default",
    "build:windows": "npm run rebuild -- %npm_package_config_language% %npm_package_config_fix% %npm_package_config_lint% windows",
    "rebuild": "run-s \"clean:{1}:{4}\" \"compile:{1}:*\" \"fix:{2} -- {1}\" \"lint:{3}\" \"test:{1}\" --",
    "clean:ts:default": "rm -rf dist",
    "clean:ts:windows": "cmd /c if exist dist rmdir /s /q dist",
    "clean:svelte:default": "rm -rf build .svelte-kit",
    "clean:svelte:windows": "run-s clean:svelte:windows:*",
    "clean:svelte:windows:build": "cmd /c if exist build rmdir /s /q build",
    "clean:svelte:windows:kit": "cmd /c if exist .svelte-kit rmdir /s /q .svelte-kit",
    "compile:ts:compile": "tsc",
    "compile:svelte:sync": "svelte-kit sync",
    "compile:svelte:check": "svelte-check --tsconfig ./tsconfig.json",
    "compile:svelte:compile": "vite build",
    "fix:true": "run-s \"fix:dist:{1}\" --",
    "fix:false": "echo \"Fix skipped (fix=false)\"",
    "fix:dist:ts": "ts-add-js-extension --dir=dist",
    "fix:dist:svelte": "echo \"Fix skipped for Svelte (handled by SvelteKit)\"",
    "li": "eslint --cache --fix",
    "lint": "npm run build",
    "lint:true": "run-os",
    "lint:true:default": "run-s lint:scope:global:* \"lint:scope:$npm_package_config_language\"",
    "lint:true:windows": "run-s lint:scope:global:* \"lint:scope:%npm_package_config_language%\"",
    "lint:false": "(npm run lint:true) || (echo \"Skipped linting (lint=false)\")",
    "lint:scope:global:configs": "npm run li -- {*,.github/**/*}.{json,jsonc,yml,yaml,js,cjs,mjs,ts,cts,mts}",
    "lint:scope:global:code": "npm run li -- {src,tests,static,typings}/**/*.{html,js,cjs,mjs,ts,cts,mts}",
    "lint:scope:ts": "exit 0",
    "lint:scope:svelte": "npm run li -- {src,tests,static}/**/*.svelte",
    "postbuild": "echo \"Build (+lint) complete.\"",
    "pretest": "npm run build",
    "test": "",
    "test:ts": "mocha",
    "test:svelte": "",
    "start": "run-os",
    "start:default": "npm run starter:$npm_package_config_language",
    "start:windows": "npm run starter:%npm_package_config_language%",
    "starter:ts": "node .",
    "starter:svelte": "vite preview",
    "prestart": "npm test",
    "prepublishOnly": "npm test",
    "postpublish": "run-os",
    "postpublish:default": "if [ \"${npm_package_version#*-}\" = \"${npm_package_version}\" ]; then npm dist-tag add \"$npm_package_name@$npm_package_version\" latest; fi",
    "postpublish:windows": "cmd /c for /f \"delims=-\" %a in (\"%npm_package_version%\") do if \"%a\" == \"%npm_package_version%\" npm dist-tag add \"%npm_package_name%@%npm_package_version%\" latest",
    "predeploy": "npm test",
    "deploy": ""
  },
  "mocha": {
    "spec": [
      "dist/**/*.spec.js"
    ]
  },
  "author": "Jimmy Zhening Luo <1450044+jimmy-zhening-luo@users.noreply.github.com> (https://jimm.my/)"
}
