2015-11-24 16:03:00 +00:00
{
2023-09-19 17:59:29 +00:00
"name" : "codemirror" ,
2017-08-01 13:45:07 +00:00
"private" : true ,
2017-07-18 18:13:46 +00:00
"scripts" : {
2023-09-19 17:59:29 +00:00
"start" : "webpack -w --mode=development" ,
"build" : "webpack --mode=production" ,
"test" : "npm run test:lint && npm run test:unit && npm run check-built-assets && bundlesize" ,
"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" ,
"test:bundlesize" : "bundlesize" ,
"check-built-assets" : "{ git status src/ | grep \"nothing to commit, working tree clean\"; } && { echo 'CHECKING BUILD SOURCES ARE COMMITTED' && npm run build && git status resources/dist/ | 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.'" ,
2020-12-18 16:32:22 +00:00
"selenium-test" : "wdio tests/selenium/wdio.conf.js"
2017-07-18 18:13:46 +00:00
} ,
2023-09-19 17:59:29 +00:00
"engines" : {
2024-01-11 15:49:16 +00:00
"node" : "18.17.0"
2023-09-19 17:59:29 +00:00
} ,
2017-07-18 18:13:46 +00:00
"devDependencies" : {
2023-09-19 17:59:29 +00:00
"@babel/core" : "7.22.20" ,
2023-12-06 18:49:40 +00:00
"@babel/plugin-transform-private-methods" : "^7.22.5" ,
2023-09-19 17:59:29 +00:00
"@babel/plugin-transform-runtime" : "7.22.15" ,
2023-12-06 05:41:18 +00:00
"@babel/preset-env" : "7.3.0" ,
2023-09-19 17:59:29 +00:00
"@codemirror/commands" : "6.2.5" ,
2023-12-06 05:52:51 +00:00
"@codemirror/language" : "6.9.3" ,
2023-09-19 17:59:29 +00:00
"@codemirror/search" : "6.5.4" ,
"@codemirror/state" : "6.2.1" ,
"@codemirror/view" : "6.18.1" ,
2023-12-06 18:49:40 +00:00
"@lezer/highlight" : "1.2.0" ,
2023-04-03 17:14:23 +00:00
"@wdio/cli" : "7.30.1" ,
"@wdio/junit-reporter" : "7.29.1" ,
"@wdio/local-runner" : "7.30.1" ,
"@wdio/mocha-framework" : "7.26.0" ,
"@wdio/spec-reporter" : "7.29.1" ,
2023-09-19 17:59:29 +00:00
"@wikimedia/mw-node-qunit" : "7.2.0" ,
2024-01-11 15:49:16 +00:00
"babel-loader" : "9.1.3" ,
2023-09-19 17:59:29 +00:00
"bundlesize" : "0.18.1" ,
"clean-webpack-plugin" : "3.0.0" ,
2020-12-18 16:32:22 +00:00
"dotenv" : "8.2.0" ,
2023-12-06 05:41:18 +00:00
"eslint-config-wikimedia" : "0.26.0" ,
2024-02-09 13:44:10 +00:00
"grunt-banana-checker" : "0.11.1" ,
2023-09-19 17:59:29 +00:00
"jest" : "29.7.0" ,
"jest-environment-jsdom" : "29.7.0" ,
"jquery" : "3.7.1" ,
2023-09-13 13:02:43 +00:00
"stylelint-config-wikimedia" : "0.16.1" ,
2023-09-19 17:59:29 +00:00
"wdio-mediawiki" : "2.3.0" ,
2023-12-06 05:41:18 +00:00
"webpack" : "5.89.0" ,
"webpack-cli" : "5.1.4"
2023-09-19 17:59:29 +00:00
} ,
"bundlesize" : [
{
"path" : "resources/dist/main.js" ,
2024-02-13 21:51:04 +00:00
"maxSize" : "105.0kB"
2023-09-19 17:59:29 +00:00
}
]
2015-11-24 16:03:00 +00:00
}