{
	"name": "codemirror",
	"private": true,
	"scripts": {
		"build": "rollup -c && npm run build:stylelint && npm run build:eslint && npm run build:luacheck && npm run build:wikilint",
		"build:stylelint": "esbuild resources/workers/css/worker.js --charset=utf8 --bundle --minify --target=es2017 --format=iife --outfile=resources/workers/css/worker.min.js",
		"build:eslint": "esbuild resources/workers/javascript/worker.js --charset=utf8 --bundle --minify --target=es2017 --format=iife --outfile=resources/workers/javascript/worker.min.js",
		"build:luacheck": "esbuild resources/workers/lua/worker.js --charset=utf8 --bundle --minify --target=es2017 --format=iife --outfile=resources/workers/lua/worker.min.js",
		"build:wikilint": "esbuild resources/workers/mediawiki/worker.js --charset=utf8 --bundle --minify --target=es2017 --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 .",
		"test:lint:styles": "stylelint --cache \"resources/**/*.less\"",
		"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 --suite editor2010 && wdio tests/selenium/wdio.conf.js --suite editor2017",
		"doc": "jsdoc -c jsdoc.json"
	},
	"devDependencies": {
		"@bhsd/eslint-browserify": "8.57.1",
		"@bhsd/stylelint-browserify": "16.24.0",
		"@codemirror/autocomplete": "6.18.6",
		"@codemirror/commands": "6.10.2",
		"@codemirror/lang-css": "6.3.1",
		"@codemirror/lang-html": "6.4.9",
		"@codemirror/lang-javascript": "6.2.2",
		"@codemirror/lang-json": "6.0.1",
		"@codemirror/lang-vue": "0.1.3",
		"@codemirror/language": "6.11.0",
		"@codemirror/legacy-modes": "6.5.1",
		"@codemirror/lint": "6.8.4",
		"@codemirror/search": "6.5.10",
		"@codemirror/state": "6.5.2",
		"@codemirror/theme-one-dark": "6.1.2",
		"@codemirror/view": "6.36.8",
		"@lezer/common": "1.2.3",
		"@lezer/highlight": "1.2.1",
		"@lezer/lr": "1.4.2",
		"@rollup/plugin-alias": "5.1.1",
		"@rollup/plugin-node-resolve": "15.2.3",
		"@wdio/cli": "9.19.2",
		"@wdio/junit-reporter": "9.19.2",
		"@wdio/local-runner": "9.19.2",
		"@wdio/mocha-framework": "9.19.2",
		"@wdio/spec-reporter": "9.19.2",
		"@wikimedia/mw-node-qunit": "7.2.0",
		"dotenv": "8.2.0",
		"esbuild": "0.25.4",
		"eslint": "8.57.1",
		"eslint-config-wikimedia": "0.32.3",
		"grunt-banana-checker": "0.13.0",
		"jest": "29.7.0",
		"jest-environment-jsdom": "29.7.0",
		"jquery": "3.7.1",
		"jsdoc": "4.0.5",
		"jsdoc-wmf-theme": "1.2.0",
		"luacheck-browserify": "0.10.0",
		"rollup": "4.22.4",
		"stylelint-config-wikimedia": "0.18.0",
		"wdio-mediawiki": "4.1.3",
		"wikiparser-node": "1.27.1"
	}
}
