UNPKG

linted

Version:

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

101 lines (100 loc) 3.29 kB
{ "$pkg": "2412.0.0", "$schema": "https://json.schemastore.org/package", "$help": "https://docs.npmjs.com/cli/configuring-npm/package-json", "name": "linted", "version": "37.0.3", "repository": "github:jimmy-zhening-luo/linted", "description": "ESLint mono-plugin bundler with strict, opinionated defaults for JavaScript, TypeScript, Svelte, HTML, Tailwind/CSS, JSON, JSONC, YAML, and Mocha.", "keywords": [ "eslint", "eslint-config", "eslint-plugin", "linter", "typescript", "javascript", "svelte", "sveltekit", "html", "css", "mocha", "tailwindcss", "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": "9.39.2", "eslint-plugin-svelte": "~3.13.1", "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.16", "@eslinted/defaults": "19.0.9", "@html-eslint/eslint-plugin": "0.52.1", "@stylistic/eslint-plugin": "5.6.1", "eslint-plugin-jsonc": "2.21.0", "eslint-plugin-yml": "1.19.1", "typescript-eslint": "^8.51.0" }, "devDependencies": { "@types/chai": "^5.2.3", "@types/mocha": "^10.0.10", "chai": "^6.2.2", "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/)" }