@wikimedia/wvui
Version:
Wikimedia Vue UI (WVUI) – Wikimedia Foundation's Vue.js shared user-interface components for Wikipedia, MediaWiki, and beyond.
130 lines (129 loc) • 4.76 kB
JSON
{
"name": "@wikimedia/wvui",
"author": "Wikimedia",
"description": "Wikimedia Vue UI (WVUI) – Wikimedia Foundation's Vue.js shared user-interface components for Wikipedia, MediaWiki, and beyond.",
"version": "0.4.0",
"keywords": [
"Vue.js",
"components",
"user-interface",
"Wikimedia",
"Wikipedia",
"MediaWiki",
"TypeScript"
],
"homepage": "https://gerrit.wikimedia.org/r/plugins/gitiles/wvui",
"repository": "https://gerrit.wikimedia.org/r/admin/repos/wvui",
"bugs": "https://phabricator.wikimedia.org/tag/wvui",
"license": "GPL-2.0+",
"main": "dist/wvui.js",
"types": "types/src/entries/wvui.d.ts",
"files": [
"dist",
"types",
"!dist/.eslintrc.json"
],
"directories": {
"lib": "dist/lib",
"doc": "docs"
},
"scripts": {
"start": "start-storybook --quiet -p 3003",
"build": "webpack --config .webpack/config.js -p",
"test": "npm -s run build && npm -s run test:all && npm -s run doc:all",
"test:all": "npm -s run test:unit && npm -s run test:lint && npm -s run test:size",
"test:unit": "jest -c .jest/jest.config.json",
"test:lint": "npm -s run test:lint:etc && npm run -s test:lint:styles && npm run -s test:lint:js",
"test:lint:etc": "npm -s run linter:etc -- . --check",
"test:lint:js": "npm -s run linter:js -- .",
"test:lint:styles": "npm -s run linter:styles -- .",
"test:size": "bundlesize",
"doc": "npm -s run build && npm -s run doc:all",
"doc:all": "npm -s run doc:ui && npm -s run doc:size && npm -s run doc:sourceMap:wvuiMin && npm -s run doc:sourceMap:wvuiMinGzip",
"doc:ui": "build-storybook --quiet --loglevel warn -o docs/ui",
"doc:size": "npm -s run test:size > docs/minGzipBundleSize.txt",
"doc:sourceMap:wvuiMin": "source-map-explorer --html docs/sourceMaps/wvuiMin.html dist/wvui.{js,css}",
"doc:sourceMap:wvuiMinGzip": "source-map-explorer --gzip --html docs/sourceMaps/wvuiMinGzip.html dist/wvui.{js,css}",
"version": "npm t",
"format": "npm -s run format:etc && npm -s run format:js && npm -s run format:styles",
"format:etc": "npm -s run linter:etc -- . --write",
"format:js": "npm -s run linter:js -- --fix .",
"format:styles": "npm -s run linter:styles -- --fix .",
"linter:etc": "prettier",
"linter:js": "eslint --cache --max-warnings 0 --ext .js,.json,.ts,.vue",
"linter:styles": "stylelint --cache --report-needless-disables --max-warnings 0",
"preversion": "[ -z \"$(git status -z)\" ]",
"prepublishOnly": "! git symbolic-ref -q HEAD || git push --follow-tags origin \"$(git rev-parse --abbrev-ref HEAD)\"",
"prepare": "husky install"
},
"peerDependencies": {
"@vue/composition-api": "^1.3.3",
"vue": "^2.6.11"
},
"pre-commit": "precommit",
"devDependencies": {
"@babel/core": "7.11.6",
"@storybook/addon-a11y": "6.2.9",
"@storybook/addon-actions": "6.2.9",
"@storybook/addon-backgrounds": "6.2.9",
"@storybook/addon-controls": "6.2.9",
"@storybook/addon-docs": "6.2.9",
"@storybook/addon-links": "6.2.9",
"@storybook/addon-storysource": "6.2.9",
"@storybook/addon-viewport": "6.2.9",
"@storybook/vue": "6.2.9",
"@types/jest": "26.0.14",
"@types/mini-css-extract-plugin": "0.9.1",
"@types/optimize-css-assets-webpack-plugin": "5.0.1",
"@types/terser-webpack-plugin": "4.2.0",
"@types/webpack-bundle-analyzer": "3.8.0",
"@typescript-eslint/eslint-plugin": "4.2.0",
"@typescript-eslint/parser": "4.2.0",
"@vue/composition-api": "1.0.0-rc.10",
"@vue/test-utils": "1.1.0",
"babel-core": "6.26.3",
"babel-loader": "8.1.0",
"babel-preset-vue": "2.0.2",
"browserslist": "4.16.6",
"browserslist-config-wikimedia": "0.2.0",
"bundlesize": "0.18.1",
"clean-webpack-plugin": "3.0.0",
"css-loader": "4.3.0",
"eslint": "7.31.0",
"eslint-config-wikimedia": "0.20.0",
"eslint-plugin-jest": "24.0.2",
"fork-ts-checker-webpack-plugin": "5.2.0",
"husky": "6.0.0",
"jest": "26.4.2",
"less": "3.12.2",
"less-loader": "7.0.1",
"lint-staged": "10.5.4",
"mini-css-extract-plugin": "0.11.2",
"node-gyp": "7.1.2",
"optimize-css-assets-webpack-plugin": "5.0.4",
"postcss": "8.3.5",
"postcss-loader": "4.0.2",
"pre-commit": "1.2.2",
"prettier": "2.2.1",
"source-map-explorer": "2.5.0",
"stylelint": "13.9.0",
"stylelint-config-wikimedia": "0.11.1",
"stylelint-no-unsupported-browser-features": "4.1.4",
"stylelint-order": "4.1.0",
"terser-webpack-plugin": "4.2.2",
"ts-jest": "26.4.0",
"ts-loader": "8.0.4",
"typescript": "4.0.3",
"vue": "2.6.11",
"vue-jest": "3.0.7",
"vue-loader": "15.9.3",
"vue-template-compiler": "2.6.11",
"webpack": "4.44.2",
"webpack-bundle-analyzer": "3.9.0",
"webpack-cli": "3.3.12",
"wikimedia-ui-base": "0.19.0"
},
"lint-staged": {
"*.{json,md,yaml}": "npm -s run format:etc"
}
}