UNPKG

@world-vision-canada/wvc-design-system

Version:

WVC Vue Design system is a fork of Vue Design System, an open-source tool for building Design Systems with Vue.js

243 lines (242 loc) 7.44 kB
{ "name": "@world-vision-canada/wvc-design-system", "version": "1.3.3", "source": "https://bitbucket.org/wvcanada/vue-design-system/src", "description": "WVC Vue Design system is a fork of Vue Design System, an open-source tool for building Design Systems with Vue.js", "publishConfig": { "access": "public" }, "author": "Michael Peto", "scripts": { "build": "vue-cli-service build --no-clean", "lint": "vue-cli-service lint", "prebuild": "yarn babel node_modules/@vue/web-component-wrapper/dist/vue-wc-wrapper.js -o node_modules/@vue/web-component-wrapper/dist/vue-wc-wrapper.js && yarn babel node_modules/vue-style-loader/lib/addStylesShadow.js -o node_modules/vue-style-loader/lib/addStylesShadow.js", "build:components": "yarn prebuild && yarn build --target lib --inline-vue --name wvc src/components.js", "build:js": "npm run build:tokens && npm run build:system & npm run build:components", "build:js-local": "npm run build:tokens && npm run build:system-local & npm run build:components", "build:storybook": "yarn chromatic", "build-storybook": "build-storybook", "build:system": "cross-env VUE_CLI_SERVICE_CONFIG_PATH=$PWD/vue.system.config.js yarn build --target lib ./src/system.js", "build:system-local": "cross-env VUE_CLI_SERVICE_CONFIG_PATH=%cd%/vue.system.config.js yarn build --target lib ./src/system.js", "build:tokens": "node ./src/utils/export-tokens.js", "chromatic": "npx chromatic --project-token 75d5x1dqyu5 --exit-once-uploaded", "dev": "vue-cli-service serve", "i18n:report": "vue-cli-service i18n:report --src './src/**/*.?(js|vue)' --locales './src/locales/**/*.json'", "start": "yarn storybook", "storybook": "yarn start-storybook -p 6006", "sync": "yarn zeplin connect --verbose", "test": "vue-cli-service test:unit --config ./test/unit/jest.conf.js", "test:coverage": "vue-cli-service test:unit --config ./test/unit/jest.conf.js --coverage" }, "main": "dist/@world-vision-canada/wvc-design-system.common.js", "unpkg": "dist/wvc.umd.min.js", "files": [ "dist" ], "dependencies": { "@vue/web-component-wrapper": "^1.3.0", "vue": "^2.6.14", "vue-i18n": "^8.17.3", "vue-router": "^3.0.1" }, "devDependencies": { "@babel/cli": "^7.1.2", "@babel/core": "^7.1.2", "@babel/plugin-proposal-class-properties": "^7.7.4", "@babel/plugin-proposal-decorators": "^7.7.4", "@babel/plugin-proposal-object-rest-spread": "^7.12.1", "@babel/plugin-proposal-optional-chaining": "^7.12.7", "@babel/plugin-transform-arrow-functions": "^7.12.1", "@babel/plugin-transform-react-jsx": "^7.12.1", "@babel/polyfill": "^7.12.1", "@babel/preset-env": "^7.7.4", "@intlify/vue-i18n-loader": "^1.0.0", "@storybook/addon-a11y": "^6.1.5", "@storybook/addon-actions": "^6.1.1", "@storybook/addon-essentials": "^6.1.1", "@storybook/addon-links": "^6.1.1", "@storybook/addons": "^6.1.1", "@storybook/theming": "^6.1.1", "@storybook/vue": "^6.1.1", "@vue/cli-plugin-babel": "^3.0.1", "@vue/cli-plugin-eslint": "^3.0.1", "@vue/cli-plugin-unit-jest": "^3.0.1", "@vue/cli-service": "^3.0.1", "@vue/eslint-config-prettier": "^3.0.5", "@vue/test-utils": "^1.0.0-beta.20", "@webcomponents/webcomponentsjs": "2.0.4", "@zeplin/cli": "^1.1.6", "@zeplin/cli-connect-storybook-plugin": "^0.5.1", "babel-core": "^7.0.0-bridge.0", "babel-eslint": "^10.1.0", "babel-jest": "^23.6.0", "babel-loader": "^8.0.4", "babel-plugin-transform-custom-element-classes": "^0.1.0", "chromatic": "^5.3.0", "concat": "^1.0.3", "core-js": "^3.8.2", "cross-env": "^7.0.3", "eslint": "^7.11.0", "eslint-config-standard": "^14.1.1", "eslint-plugin-compat": "^2.6.2", "eslint-plugin-es5": "^1.3.1", "eslint-plugin-import": "^2.22.1", "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^4.2.1", "eslint-plugin-standard": "^4.0.1", "eslint-plugin-vue": "^7.1.0", "file-loader": "^2.0.0", "friendly-errors-webpack-plugin": "^1.7.0", "glob": "^7.1.6", "http-proxy-middleware": "^0.19.0", "husky": "^4.3.0", "jest": "^24.9", "jest-serializer-vue": "^2.0.2", "lint-staged": "^10.5.1", "node-sass": "^4.14.1", "pretty-quick": "^1.7.0", "react": "^16.0.1", "react-dom": "^16.0.1", "react-is": "^16.0.1", "sass-loader": "^7.1.0", "sass-resources-loader": "^2.1.1", "style-loader": "^2.0.0", "svg-jest": "^1.0.1", "ts-loader": "^8.0.7", "vue-cli-plugin-i18n": "~1.0.1", "vue-cli-plugin-webpack-bundle-analyzer": "~2.0.0", "vue-eslint-parser": "^7.1.1", "vue-jest": "^3.0.7", "vue-svg-loader": "^0.16.0", "vue-template-compiler": "^2.6.14", "zeplin-cli-connect-plugin-vue": "^1.1.0" }, "eslintConfig": { "root": true, "parser": "vue-eslint-parser", "extends": [ "standard", "plugin:vue/recommended", "plugin:compat/recommended" ], "env": { "browser": true, "node": true }, "rules": { "vue/multiline-html-element-content-newline": [ "error", { "ignoreWhenEmpty": true, "ignores": [ "WvcLink", "a", "abbr", "audio", "b", "bdi", "bdo", "canvas", "cite", "code", "data", "del", "dfn", "em", "i", "iframe", "ins", "kbd", "label", "map", "mark", "noscript", "object", "output", "picture", "q", "ruby", "s", "samp", "small", "span", "strong", "sub", "sup", "svg", "time", "u", "var", "video" ], "allowEmptyLines": false } ], "indent": [ "error", 2 ], "vue/no-unused-vars": "warn", "quotes": [ "error", "single", { "avoidEscape": true, "allowTemplateLiterals": true } ], "no-extra-semi": "warn", "semi": [ "error", "never" ], "no-console": "off", "vue/custom-event-name-casing": "warn", "space-before-function-paren": "off" }, "parserOptions": { "parser": "babel-eslint", "sourceType": "module", "ecmaVersion": 8, "ecmaFeatures": { "jsx": true }, "allowImportExportEverywhere": true } }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "browserslist": [ "> 1%", "last 2 versions", "IE 11", "not ExplorerMobile > 0", "not BlackBerry > 0", "not OperaMini all", "not OperaMobile > 0" ], "engines": { "node": ">= 8.6.0", "npm": ">= 3.0.0" }, "keywords": [ "vue design system", "design system", "vue.js", "vue", "design", "system" ], "license": "UNLICENSED", "repository": { "type": "git", "url": "git+https://bitbucket.org/wvcanada/vue-design-system/src/master/" }, "lint-staged": { "*.js": "eslint --cache --fix", "*.vue": "eslint --cache --fix" } }