wiki.techinc.nl/package.json
Timo Tijhof 0b4e24c995 build: Merge doc linting into 'npm test'
Whether JSDuck or JSDoc3, it's good to verify that there are no
regressions in the doc syntax. This has been enforced by WMF CI
for many years with a dedicated Jenkins job.

However, both 'grunt lint' and 'npm run doc' take a relatively
small amount of time in CI:

* grunt lint: ~ 35s (not incl 'npm install')
* npm run doc: ~ 10s (not incl 'npm install')

Bug: T225730
Change-Id: If22b7bc64266e43088c7dec8138d81c938687fb9
2020-03-18 18:40:57 +00:00

46 lines
1.5 KiB
JSON

{
"private": true,
"scripts": {
"api-testing": "npm run api-testing-lint && mocha --timeout 0 --recursive tests/api-testing",
"api-testing-lint": "eslint --cache --max-warnings 0 tests/api-testing/**",
"build": "grunt minify",
"test": "grunt lint && npm run doc",
"qunit": "grunt qunit",
"doc": "jsduck",
"postdoc": "grunt copy:jsduck",
"selenium": "bash ./tests/selenium/selenium.sh",
"selenium-daily": "npm run selenium-test -- --mochaOpts.grep @daily",
"selenium-test": "wdio ./tests/selenium/wdio.conf.js"
},
"devDependencies": {
"@wdio/cli": "5.13.2",
"@wdio/devtools-service": "5.13.2",
"@wdio/dot-reporter": "5.13.2",
"@wdio/junit-reporter": "5.13.2",
"@wdio/local-runner": "5.13.2",
"@wdio/mocha-framework": "5.13.2",
"@wdio/sauce-service": "5.13.2",
"@wdio/sync": "5.13.2",
"api-testing": "1.0.3",
"eslint-config-wikimedia": "0.15.0",
"eslint-plugin-vue": "^6.1.2",
"grunt": "1.0.4",
"grunt-banana-checker": "0.8.1",
"grunt-contrib-copy": "1.0.0",
"grunt-contrib-watch": "1.1.0",
"grunt-eslint": "22.0.0",
"grunt-karma": "3.0.2",
"grunt-stylelint": "0.14.0",
"grunt-svgmin": "5.0.0",
"karma": "4.4.1",
"karma-chrome-launcher": "3.1.0",
"karma-firefox-launcher": "1.3.0",
"karma-mocha-reporter": "2.2.5",
"karma-qunit": "4.0.0",
"postcss-less": "2.0.0",
"qunit": "2.9.3",
"stylelint-config-wikimedia": "0.9.0",
"wdio-mediawiki": "file:tests/selenium/wdio-mediawiki",
"webdriverio": "5.13.2"
}
}