{
	"name": "codemirror",
	"private": true,
	"scripts": {
		"build": "rollup -c && npm run build:stylelint && npm run build:eslint && npm run build:luacheck && npm run build:wikilint && npm run minify-svg",
		"build:stylelint": "esbuild resources/workers/css/worker.js --charset=utf8 --bundle --minify --target=es2019 --format=iife --outfile=resources/workers/css/worker.min.js",
		"build:eslint": "esbuild resources/workers/javascript/worker.js --charset=utf8 --bundle --minify --target=es2019 --format=iife --outfile=resources/workers/javascript/worker.min.js",
		"build:luacheck": "esbuild resources/workers/lua/worker.js --charset=utf8 --bundle --minify --target=es2019 --format=iife --outfile=resources/workers/lua/worker.min.js",
		"build:wikilint": "esbuild resources/workers/mediawiki/worker.js --charset=utf8 --bundle --minify --target=es2019 --format=iife --outfile=resources/workers/mediawiki/worker.min.js",
		"test": "npm run test:lint && npm run test:unit && npm run check-built-assets",
		"test:lint": "npm run test:lint:styles && npm run test:lint:js && npm run test:lint:i18n",
		"test:lint:js": "ESLINT_USE_FLAT_CONFIG=false eslint --cache --ext .js,.vue .",
		"test:lint:styles": "stylelint --cache \"resources/**/*.{less,vue}\"",
		"test:lint:i18n": "banana-checker i18n/",
		"test:unit": "jest",
		"update-parser-tests": "UPDATE_PARSER_TESTS=1 jest --coverage=false --silent tests/jest/modes/codemirror.mediawiki.parser.test.js 2>/dev/null",
		"coverage": "npm run test:unit",
		"check-built-assets": "{ git status resources/lib/ | grep \"nothing to commit, working tree clean\"; } && { echo 'CHECKING BUILD SOURCES ARE COMMITTED' && npm run build && git status resources/lib/ | grep \"nothing to commit, working tree clean\" || { npm run node-debug; false; }; }",
		"node-debug": "node -v && npm -v && echo 'ERROR: Please ensure that production assets have been built with `npm run build` and committed. For the recommended Node.js version, see .nvmrc.'",
		"selenium-test": "wdio tests/selenium/wdio.conf.js",
		"doc": "jsdoc -c jsdoc.json",
		"minify-svg": "svgo --config=.svgo.config.js -q -r -f resources/images/"
	},
	"overrides": {
		"eslint-plugin-wdio": {
			"eslint": "$eslint"
		}
	},
	"devDependencies": {
		"@babel/core": "7.29.7",
		"@babel/preset-env": "7.28.3",
		"@bhsd/codemirror-css-color-picker": "9.0.0",
		"@bhsd/common": "4.1.0",
		"@bhsd/eslint-browserify": "8.57.1",
		"@bhsd/lezer-abusefilter": "0.4.0",
		"@bhsd/lezer-json": "2.1.1",
		"@bhsd/stylelint-browserify": "16.24.0",
		"@codemirror/autocomplete": "6.18.6",
		"@codemirror/commands": "6.10.3",
		"@codemirror/lang-angular": "0.1.4",
		"@codemirror/lang-cpp": "6.0.3",
		"@codemirror/lang-css": "6.3.1",
		"@codemirror/lang-go": "6.0.1",
		"@codemirror/lang-html": "6.4.9",
		"@codemirror/lang-java": "6.0.2",
		"@codemirror/lang-javascript": "6.2.2",
		"@codemirror/lang-json": "6.0.1",
		"@codemirror/lang-less": "6.0.2",
		"@codemirror/lang-liquid": "6.3.2",
		"@codemirror/lang-markdown": "6.5.0",
		"@codemirror/lang-php": "6.0.2",
		"@codemirror/lang-python": "6.2.1",
		"@codemirror/lang-rust": "6.0.2",
		"@codemirror/lang-sass": "6.0.2",
		"@codemirror/lang-sql": "6.10.0",
		"@codemirror/lang-vue": "0.1.3",
		"@codemirror/lang-wast": "6.0.2",
		"@codemirror/lang-xml": "6.1.0",
		"@codemirror/lang-yaml": "6.1.3",
		"@codemirror/language": "6.11.0",
		"@codemirror/legacy-modes": "6.5.3",
		"@codemirror/lint": "6.8.4",
		"@codemirror/search": "6.5.10",
		"@codemirror/state": "6.6.0",
		"@codemirror/theme-one-dark": "6.1.2",
		"@codemirror/view": "6.36.8",
		"@grumptech/lezer-mustache": "1.0.2",
		"@lezer/common": "1.5.2",
		"@lezer/css": "1.2.1",
		"@lezer/highlight": "1.2.3",
		"@lezer/lr": "1.4.10",
		"@plutojl/lang-julia": "0.12.2",
		"@replit/codemirror-lang-nix": "6.0.1",
		"@rollup/plugin-alias": "5.1.1",
		"@rollup/plugin-node-resolve": "15.2.3",
		"@vue/test-utils": "2.4.6",
		"@vue/vue3-jest": "29.2.6",
		"@wdio/cli": "9.31.8",
		"@wdio/junit-reporter": "9.30.1",
		"@wdio/local-runner": "9.31.8",
		"@wdio/mocha-framework": "9.32.0",
		"@wdio/spec-reporter": "9.30.1",
		"@wikimedia/mw-node-qunit": "7.2.0",
		"@xiechao/codemirror-lang-handlebars": "1.0.4",
		"codemirror-lang-elixir": "4.0.1",
		"codemirror-lang-pkl": "0.1.0",
		"codemirror-lang-r": "0.1.1",
		"codemirror-lang-sparql": "2.1.0",
		"dotenv": "8.2.0",
		"esbuild": "0.25.4",
		"eslint-config-wikimedia": "0.32.6",
		"grunt-banana-checker": "0.13.0",
		"jest": "29.7.0",
		"jest-environment-jsdom": "29.7.0",
		"jquery": "3.7.1",
		"jsdoc-wmf-theme": "1.3.1",
		"luacheck-browserify": "0.10.0",
		"rollup": "4.59.0",
		"stylelint-config-wikimedia": "0.18.0",
		"svgo": "4.1.0",
		"vue": "3.5.43",
		"wdio-mediawiki": "6.5.3",
		"wikiparser-node": "1.40.0"
	}
}
