linted
Version:
ESLint mono-plugin bundler with strict, opinionated defaults for (Stylistic) JavaScript, TypeScript, Svelte, HTML, Tailwind/CSS, JSON, JSONC, YAML, and Mocha.
105 lines (104 loc) • 3.75 kB
JSON
{
"$pkg": "2211.2.1",
"$schema": "https://json.schemastore.org/package",
"$help": "https://docs.npmjs.com/cli/configuring-npm/package-json",
"name": "linted",
"version": "30.13.0",
"repository": "github:jimmy-zhening-luo/linted",
"private": false,
"engineStrict": true,
"engines": {
"node": "^22",
"npm": "^10 || ^11"
},
"type": "module",
"peerDependencies": {
"eslint": "~9.33.0",
"eslint-plugin-svelte": "~3.11.0",
"mocha": "^11.7.1",
"typescript": "^5.9.2"
},
"peerDependenciesMeta": {
"eslint-plugin-svelte": {
"optional": true
},
"mocha": {
"optional": true
},
"typescript": {
"optional": true
}
},
"dependencies": {
"@eslint/css": "0.10.0",
"@eslint/json": "0.13.1",
"@eslinted/core": "23.0.6",
"@eslinted/defaults": "12.11.2",
"@html-eslint/eslint-plugin": "0.44.0",
"@stylistic/eslint-plugin": "5.2.3",
"eslint-plugin-chai-expect": "3.1.0",
"eslint-plugin-chai-friendly": "1.1.0",
"eslint-plugin-jsonc": "2.20.1",
"eslint-plugin-mocha": "11.1.0",
"eslint-plugin-yml": "1.18.0",
"typescript-eslint": "8.40.0"
},
"devDependencies": {
"@types/chai": "^5.2.2",
"@types/mocha": "^10.0.10",
"chai": "^5.3.1",
"mocha": "^11.7.1",
"ts-add-js-extension": "^1.6.6",
"typescript": "^5.9.2"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"clean": "cmd --% /c \"(if exist dist rmdir /s /q dist) & (if exist build rmdir /s /q build) & (if exist .svelte-kit rmdir /s /q .svelte-kit) & (if exist .eslintcache del /f /q .eslintcache)\" || rm -rf dist build .svelte-kit .eslintcache",
"prebuild": "npm run clean",
"build": "cmd --% /c \"(if exist svelte.config.js (npm run build:svelte) else (npm run build:ts))\" || npm run build-unix",
"build-unix": "if [ -f svelte.config.js ]; then npm run build:svelte; else npm run build:ts; fi",
"build:ts": "tsc && ts-add-js-extension --dir=dist",
"build:svelte": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json && vite build",
"postbuild": "npm run lint || echo \"Lint failed. Continuing...\"",
"lint": "eslint --cache --fix",
"pretest": "npm run build",
"test": "npm run --if-present test:mocha",
"test:mocha": "mocha",
"prestart": "npm test",
"start": "cmd --% /c \"(if exist svelte.config.js (npm run start:svelte) else (npm run start:ts))\" || npm run start-unix",
"start-unix": "if [ -f svelte.config.js ]; then npm run start:svelte; else npm run start:ts; fi",
"start:ts": "node .",
"start:svelte": "vite preview --open",
"prepublishOnly": "npm test",
"postpublish": "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\" || npm run postpublish-unix",
"postpublish-unix": "if [ \"${npm_package_version#*-}\" = \"${npm_package_version}\" ]; then npm dist-tag add \"$npm_package_name@$npm_package_version\" latest; fi",
"predeploy": "npm test",
"deploy": ""
},
"publishConfig": {
"tag": "next"
},
"license": "MIT",
"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"
],
"author": "Jimmy Zhening Luo <jimmy-zhening-luo@users.noreply.github.com> (https://jimm.my/)"
}