{
	"name": "codemirror",
	"private": true,
	"scripts": {
		"build": "rollup -c",
		"build:eslint:bundle": "rollup -c resources/lib/eslint-linter-browserify/rollup.bundle.mjs",
		"build:eslint:minify": "rollup -c resources/lib/eslint-linter-browserify/rollup.minify.mjs",
		"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 --cache .",
		"test:lint:styles": "stylelint \"resources/**/*.less\"",
		"test:lint:i18n": "banana-checker i18n/",
		"test:unit": "jest",
		"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 commited, and that you are using the correct version of Node/NPM.'",
		"selenium-test": "wdio tests/selenium/wdio.conf.js",
		"doc": "jsdoc -c jsdoc.json"
	},
	"devDependencies": {
		"@codemirror/autocomplete": "^6.18.6",
		"@codemirror/commands": "^6.8.1",
		"@codemirror/lang-css": "6.3.1",
		"@codemirror/lang-javascript": "6.2.2",
		"@codemirror/lang-json": "6.0.1",
		"@codemirror/language": "^6.11.0",
		"@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.5",
		"@lezer/common": "1.2.3",
		"@lezer/highlight": "1.2.1",
		"@lezer/lr": "1.4.2",
		"@rollup/plugin-alias": "5.1.1",
		"@rollup/plugin-commonjs": "^28.0.3",
		"@rollup/plugin-json": "^6.1.0",
		"@rollup/plugin-node-resolve": "15.2.3",
		"@wdio/cli": "7.40.0",
		"@wdio/junit-reporter": "7.40.0",
		"@wdio/local-runner": "7.40.0",
		"@wdio/mocha-framework": "7.40.0",
		"@wdio/spec-reporter": "7.40.0",
		"@wikimedia/mw-node-qunit": "7.2.0",
		"dotenv": "8.2.0",
		"esbuild": "^0.25.3",
		"eslint-config-wikimedia": "0.29.1",
		"grunt-banana-checker": "0.13.0",
		"jest": "29.7.0",
		"jest-environment-jsdom": "29.7.0",
		"jquery": "3.7.1",
		"jsdoc": "4.0.4",
		"jsdoc-wmf-theme": "1.1.0",
		"process": "^0.11.10",
		"rollup": "4.22.4",
		"rollup-plugin-esbuild": "^6.2.1",
		"rollup-plugin-polyfill-node": "^0.13.0",
		"stylelint-config-wikimedia": "0.18.0",
		"wdio-mediawiki": "2.7.1"
	}
}
