-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 3.47 KB
/
Copy pathpackage.json
File metadata and controls
73 lines (73 loc) · 3.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"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",
"doc": "jsdoc -c jsdoc.json"
},
"overrides": {
"eslint-plugin-wdio": {
"eslint": "$eslint"
}
},
"devDependencies": {
"@bhsd/eslint-browserify": "8.57.1",
"@bhsd/lezer-abusefilter": "0.4.0",
"@bhsd/stylelint-browserify": "16.24.0",
"@codemirror/autocomplete": "6.18.6",
"@codemirror/commands": "6.10.3",
"@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.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",
"@lezer/common": "1.2.3",
"@lezer/css": "1.2.1",
"@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.23.2",
"@wdio/junit-reporter": "9.23.2",
"@wdio/local-runner": "9.23.2",
"@wdio/mocha-framework": "9.23.2",
"@wdio/spec-reporter": "9.23.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.4",
"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.0",
"luacheck-browserify": "0.10.0",
"rollup": "4.59.0",
"stylelint-config-wikimedia": "0.18.0",
"wdio-mediawiki": "6.5.0",
"wikiparser-node": "1.40.0"
}
}