1. campgrounds-design-system

campgrounds-design-system

Campgrounds Design System

Setup

Install dependencies:

yarn
yarn start

Visit http://localhost:6060.

Run link in Campgrounds Design System directory.

cd campgrounds-design-system
yarn link

Run link in Campgrounds Web directory.

cd campgrounds-web
yarn link campgrounds-design-system

Publish to NPM

Run build first to test locally.

yarn build:system

Install np globally.

npm install -g np

Use np to publish to NPM. Follow semantic versioning.

np

Dependencies

@babel/cli: ^7.1.5@babel/core: ^7.1.6@babel/plugin-proposal-class-properties: ^7.1.0@babel/plugin-proposal-object-rest-spread: ^7.0.0@babel/plugin-syntax-dynamic-import: ^7.0.0@babel/plugin-transform-runtime: ^7.1.0@babel/preset-env: ^7.1.6@babel/register: ^7.0.0@vue/cli-plugin-eslint: ^4.5.6@vue/eslint-config-standard: ^5.1.2@vue/test-utils: ^1.0.0-beta.26autoprefixer: ^9.4.0babel-core: ^7.0.0-bridge.0babel-eslint: ^10.0.1babel-jest: ^23.6.0babel-loader: ^8.0.4chalk: ^2.4.1codemirror: ^5.42.0compression-webpack-plugin: ^2.0.0copy-webpack-plugin: ^4.6.0css-loader: ^1.0.1eslint: ^6.7.2eslint-plugin-compat: ^2.6.3eslint-plugin-es5: ^1.3.1eslint-plugin-import: ^2.20.2eslint-plugin-node: ^11.1.0eslint-plugin-promise: ^4.2.1eslint-plugin-standard: ^4.0.0eslint-plugin-vue: ^6.2.2file-loader: ^2.0.0friendly-errors-webpack-plugin: ^1.7.0html-loader: ^0.5.5html-webpack-plugin: ^3.2.0http-proxy-middleware: ^0.19.1husky: ^1.2.0jest: ^23.6.0jest-serializer-vue: ^2.0.2node-notifier: ^5.3.0node-sass: ^4.13.0npm-run-all: ^4.1.5onchange: ^5.1.3optimize-css-assets-webpack-plugin: ^5.0.1ora: ^3.0.0portfinder: ^1.0.20prettier: ^1.15.3pretty-quick: ^1.8.0rimraf: ^2.6.0sass-loader: ^7.1.0sass-resources-loader: ^2.0.0semver: ^5.6.0shelljs: ^0.8.3style-loader: ^0.23.1terser-webpack-plugin: ^1.1.0theo: ^8.0.1url-loader: ^1.1.2vue-jest: ^3.0.1vue-loader: ^15.4.2vue-style-loader: ^4.1.2vue-styleguidist: ^2.0.2vue-template-compiler: ^2.5.17webpack: ^4.26.1webpack-bundle-analyzer: ^3.0.3webpack-cli: ^3.1.2webpack-dev-server: ^3.1.10webpack-merge: ^4.1.4webpack-merge-and-include-globally: ^2.1.7