UNPKG

linted

Version:

ESLint mono-plugin bundler with strict, opinionated defaults for JavaScript, TypeScript, Svelte, HTML, CSS, JSON, JSONC, and YAML.

90 lines (89 loc) 2.87 kB
{ "$pkg": "2414.0.0", "$help": "https://docs.npmjs.com/cli/configuring-npm/package-json", "$schema": "https://json.schemastore.org/package", "name": "linted", "version": "41.11.1", "repository": "github:jimmy-zhening-luo/linted", "description": "ESLint mono-plugin bundler with strict, opinionated defaults for JavaScript, TypeScript, Svelte, HTML, CSS, JSON, JSONC, and YAML.", "keywords": [ "eslint", "eslint-config", "eslint-plugin", "linter", "typescript", "javascript", "svelte", "sveltekit", "html", "css", "json", "jsonc", "yaml" ], "license": "MIT", "private": false, "engineStrict": true, "engines": { "node": "^24", "npm": "^11" }, "type": "module", "exports": { ".": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "./tool": { "types": "./dist/tool/index.d.ts", "default": "./dist/tool/index.js" } }, "types": "dist/index.d.ts", "main": "dist/index.js", "peerDependencies": { "eslint-plugin-svelte": "~3.18.0", "typescript": "^5.9.3 || ^6.0.2" }, "peerDependenciesMeta": { "eslint-plugin-svelte": { "optional": true }, "typescript": { "optional": true } }, "dependencies": { "@eslint/css": "1.3.0", "@eslint/json": "2.0.0", "@eslinted/core": "34.0.1", "@eslinted/defaults": "22.2.0", "@html-eslint/eslint-plugin": "0.61.0", "@stylistic/eslint-plugin": "5.10.0", "eslint": "10.4.1", "eslint-plugin-jsonc": "3.2.0", "eslint-plugin-yml": "3.4.0", "typescript-eslint": "8.60.0" }, "devDependencies": { "ts-add-js-extension": "^1.6.6", "typescript": "^6.0.3" }, "scripts": { "clean": "cmd /q /c \"for %G in (types dist build packed .svelte-kit) do (if exist %G rmdir /s /q %G) & for %G in (.eslintcache) do (if exist %G del /f /q %G)\" || rm -rf types dist build packed .svelte-kit .eslintcache", "build": "tsc -b src && ts-add-js-extension --showprogress=false --dir=dist", "build:svelte": "svelte-kit sync && svelte-check && vite build", "prestart": "npm run build", "start": "node .", "start:svelte": "vite preview --open", "lint": "eslint --cache --fix", "pretest": "npm run build", "test": "", "posttest": "npm run lint || exit 0", "prepublishOnly": "npm run clean && npm test", "publish:release": "cmd /q /c \"for /f \"delims=-\" %a in (\"%npm_package_version%\") do if \"%a\" == \"%npm_package_version%\" (npm publish) else (npm publish --tag=next)\" || bash -c 'if [ \"${npm_package_version#*-}\" = \"${npm_package_version}\" ]; then npm publish; else npm publish --tag=next; fi'", "predeploy": "npm run clean && npm test", "deploy": "" }, "author": "Jimmy Zhening Luo <1450044+jimmy-zhening-luo@users.noreply.github.com> (https://jimm.my/)" }