UNPKG

linted

Version:

ESLint mono-plugin bundler with strict, opinionated defaults for (Stylistic) JavaScript, TypeScript, Svelte, HTML, Tailwind/CSS, JSON, JSONC, YAML, and Mocha.

93 lines (92 loc) 3.12 kB
{ "$pkg": "2411.7.0", "$schema": "https://json.schemastore.org/package", "$help": "https://docs.npmjs.com/cli/configuring-npm/package-json", "name": "linted", "version": "35.2.3", "repository": "github:jimmy-zhening-luo/linted", "description": "ESLint mono-plugin bundler with strict, opinionated defaults for (Stylistic) JavaScript, TypeScript, Svelte, HTML, Tailwind/CSS, JSON, JSONC, YAML, and Mocha.", "keywords": [ "eslint", "eslint-config", "eslint-plugin", "linter", "formatter", "typescript", "javascript", "stylistic", "svelte", "sveltekit", "html", "css", "mocha", "tailwindcss", "json", "jsonc", "yaml" ], "license": "MIT", "private": false, "engineStrict": true, "engines": { "node": "^24", "npm": "^11" }, "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts", "peerDependencies": { "eslint": "~9.39.1", "eslint-plugin-svelte": "~3.13.0", "typescript": "^5.9.3" }, "peerDependenciesMeta": { "eslint-plugin-svelte": { "optional": true }, "typescript": { "optional": true } }, "dependencies": { "@eslint/css": "0.14.1", "@eslint/json": "0.14.0", "@eslinted/core": "32.1.4", "@eslinted/defaults": "17.7.1", "@html-eslint/eslint-plugin": "0.50.0", "@stylistic/eslint-plugin": "5.6.1", "eslint-plugin-jsonc": "2.21.0", "eslint-plugin-yml": "1.19.0", "typescript-eslint": "8.48.1" }, "devDependencies": { "@types/chai": "^5.2.3", "@types/mocha": "^10.0.10", "chai": "^6.2.1", "mocha": "^11.7.5", "ts-add-js-extension": "^1.6.6", "typescript": "^5.9.3" }, "scripts": { "clean": "cmd --% /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": "npm run build:ts", "build:ts": "tsc -b src", "build:svelte": "svelte-kit sync && svelte-check && vite build", "postbuild:ts": "npm run --if-present stage && ts-add-js-extension --showprogress=false --dir=dist", "postbuild": "npm run lint || exit 0", "lint": "eslint --cache --fix", "pretest": "npm run build", "test": "npm run --if-present test:suite", "test:suite": "tsc -b tests && ts-add-js-extension --showprogress=false --dir=dist && mocha", "prestart": "npm run build", "start": "npm run start:ts", "start:ts": "node .", "start:svelte": "vite preview --open", "prepublishOnly": "npm run clean && npm test", "publish:release": "cmd --% /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", "stage": "", "deploy": "" }, "author": "Jimmy Zhening Luo <jimmy-zhening-luo@users.noreply.github.com> (https://jimm.my/)" }