wikimedia/mediawiki-extensions-Wikibase

View on GitHub
client/data-bridge/package.json

Summary

Maintainability
Test Coverage
{
  "name": "data-bridge",
  "version": "0.1.0",
  "private": true,
  "config": {
    "remoteVersion": {
      "vue": "https://raw.githubusercontent.com/wikimedia/mediawiki/#{ZUUL_BRANCH}/resources/lib/vue/vue.common.prod.js"
    }
  },
  "scripts": {
    "serve": "WEBPACK_TARGET=dev vue-cli-service serve src/dev-entry.ts --skip-plugins eslint",
    "prepare": "node build/wikimedia-ui-base.js",
    "build": "NODE_ENV=production vue-cli-service build --no-clean --skip-plugins eslint --report --report-json --no-module",
    "fix": "vue-cli-service lint --max-warnings 0 .",
    "test": "npm-run-all test:*",
    "test:lint": "vue-cli-service lint --max-warnings 0 --no-fix . && stylelint --syntax scss 'src/**/*.(vue|scss)'",
    "test:unit": "jest -c ./jest.config.unit.js",
    "test:integration": "jest -c ./jest.config.integration.js",
    "test:e2e": "jest -c ./jest.config.e2e.js",
    "test:distnodiff": "npm run build -- --dest /tmp/dist && diff -q ./dist/data-bridge.app.js /tmp/dist/data-bridge.app.js && diff -q ./dist/css/data-bridge.app.css /tmp/dist/css/data-bridge.app.css && diff -q ./dist/data-bridge.init.js /tmp/dist/data-bridge.init.js && diff -q ./dist/data-bridge.chunk-vendors.js /tmp/dist/data-bridge.chunk-vendors.js",
    "test:mwlibs": "echo 'disabled (T297381)' # ZUUL_BRANCH=${ZUUL_BRANCH:-master} lib-version-check",
    "test-unit-coverage": "jest -c ./jest.config.unit.js --coverage && sed -i 's|SF:/src/client/data-bridge/|SF:|g' coverage/lcov.info",
    "selenium-test": "wdio tests/selenium/wdio.conf.js"
  },
  "dependencies": {
    "core-js": "^3.18.2",
    "deep-equal": "^2.0.5",
    "events": "^3.3.0",
    "normalize.css": "^8.0.1",
    "serialize-error": "^7.0.1",
    "uuid": "^8.3.2",
    "vue": "3.3.9",
    "vuex-smart-module": "^1.0.0"
  },
  "devDependencies": {
    "@babel/core": "^7.15.8",
    "@types/deep-equal": "^1.0.1",
    "@types/jest": "^27.0.3",
    "@types/jquery": "^3.5.6",
    "@types/lodash": "^4.14.177",
    "@types/node": "^14.18.33",
    "@types/uuid": "^3.4.10",
    "@typescript-eslint/eslint-plugin": "^5.54.1",
    "@typescript-eslint/parser": "^5.54.1",
    "@vue/cli-plugin-babel": "~5.0.0-rc.1",
    "@vue/cli-plugin-eslint": "~5.0.0-rc.1",
    "@vue/cli-plugin-typescript": "~5.0.0-rc.1",
    "@vue/cli-service": "~5.0.0-rc.1",
    "@vue/eslint-config-typescript": "^9.1.0",
    "@vue/test-utils": "^2.3.0",
    "@vue/vue3-jest": "^28.1.0",
    "@wdio/cli": "^7.16.13",
    "@wdio/devtools-service": "^7.16.13",
    "@wdio/local-runner": "^7.16.13",
    "@wdio/mocha-framework": "^7.16.13",
    "@wdio/spec-reporter": "^7.16.13",
    "@wmde/eslint-config-wikimedia-typescript": "^0.2.1",
    "@wmde/lib-version-check": "^0.1.0",
    "@wmde/vuex-helpers": "^0.1.2",
    "@wmde/wikibase-datamodel-types": "^0.2.0",
    "babel-core": "7.0.0-bridge.0",
    "babel-eslint": "^10.1.0",
    "babel-loader": "^8.2.2",
    "babel-preset-vue": "^2.0.2",
    "bootstrap": "^4.6.0",
    "browserslist-config-wikimedia": "^0.2.0",
    "cssjanus": "^1.3.2",
    "eslint": "^7.32.0",
    "eslint-config-wikimedia": "^0.15.3",
    "eslint-plugin-filenames": "^1.3.2",
    "eslint-plugin-jest-formatting": "^1.2.0",
    "eslint-plugin-vue": "^8.2.0",
    "eslint-plugin-wdio": "^5.13.2",
    "gonzales-pe": "^4.3.0",
    "http-status-codes": "^1.4.0",
    "jest": "^28.1.3",
    "jest-environment-jsdom": "^29.4.3",
    "jest-serializer-vue": "^3.1.0",
    "jest-transform-stub": "^2.0.0",
    "jest-watch-typeahead": "^2.2.2",
    "jquery": "^3.6.0",
    "less-variable-resolver": "^0.1.2",
    "npm-run-all": "^4.1.5",
    "oojs-ui": "^0.43.0",
    "postcss-prefixwrap": "^1.24.0",
    "sass": "^1.48.0",
    "sass-loader": "^12.4.0",
    "sast": "^0.8.1",
    "stylelint": "^13.13.1",
    "stylelint-config-wikimedia": "^0.11.1",
    "stylelint-processor-html": "^1.0.0",
    "stylelint-scss": "^3.21.0",
    "terser-webpack-plugin": "^2.3.8",
    "ts-jest": "^28.0.8",
    "ts-loader": "^9.2.6",
    "typescript": "~4.6.4",
    "url-search-params-polyfill": "^8.1.1",
    "vue-eslint-parser": "^7.11.0",
    "vuex": "4.0.2",
    "wdio-mediawiki": "^1.2.0",
    "wdio-wikibase": "^5.2.0",
    "wikimedia-ui-base": "^0.19.0"
  }
}