| 1 |
{ |
| 2 |
"name": "codemirror", |
| 3 |
"private": true, |
| 4 |
"scripts": { |
| 5 |
"build": "rollup -c", |
| 6 |
"test": "npm run test:lint && npm run test:unit && npm run check-built-assets", |
| 7 |
"test:lint": "npm run test:lint:styles && npm run test:lint:js && npm run test:lint:i18n", |
| 8 |
"test:lint:js": "eslint --cache .", |
| 9 |
"test:lint:styles": "stylelint \"resources/**/*.less\"", |
| 10 |
"test:lint:i18n": "banana-checker i18n/", |
| 11 |
"test:unit": "jest", |
| 12 |
"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; }; }", |
| 13 |
"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.'", |
| 14 |
"selenium-test": "wdio tests/selenium/wdio.conf.js", |
| 15 |
"doc": "jsdoc -c jsdoc.json" |
| 16 |
}, |
| 17 |
"engines": { |
| 18 |
"node": "18.20.4" |
| 19 |
}, |
| 20 |
"devDependencies": { |
| 21 |
"@codemirror/commands": "6.2.5", |
| 22 |
"@codemirror/language": "6.9.3", |
| 23 |
"@codemirror/search": "6.5.6", |
| 24 |
"@codemirror/state": "6.2.1", |
| 25 |
"@codemirror/view": "6.22.2", |
| 26 |
"@lezer/highlight": "1.2.0", |
| 27 |
"@rollup/plugin-node-resolve": "15.2.3", |
| 28 |
"@wdio/cli": "7.36.0", |
| 29 |
"@wdio/junit-reporter": "7.35.0", |
| 30 |
"@wdio/local-runner": "7.36.0", |
| 31 |
"@wdio/mocha-framework": "7.33.0", |
| 32 |
"@wdio/spec-reporter": "7.33.0", |
| 33 |
"@wikimedia/mw-node-qunit": "7.2.0", |
| 34 |
"dotenv": "8.2.0", |
| 35 |
"eslint-config-wikimedia": "0.28.2", |
| 36 |
"grunt-banana-checker": "0.13.0", |
| 37 |
"jest": "29.7.0", |
| 38 |
"jest-environment-jsdom": "29.7.0", |
| 39 |
"jquery": "3.7.1", |
| 40 |
"jsdoc": "4.0.3", |
| 41 |
"jsdoc-wmf-theme": "1.1.0", |
| 42 |
"rollup": "4.22.4", |
| 43 |
"stylelint-config-wikimedia": "0.17.2", |
| 44 |
"wdio-mediawiki": "2.5.0" |
| 45 |
} |
| 46 |
} |