diff --git a/.gitignore b/.gitignore index 8da8ea55..cd84243f 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ .eslintcache node_modules/ dist/ +/test/unit/coverage/ npm-debug.log* yarn-debug.log* yarn-error.log* diff --git a/.travis.yml b/.travis.yml index 4a21a697..8131f0c2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,8 +8,6 @@ env: install: # Use npm 5.7.x since it has introduced `npm ci` - if [[ `npm -v` != 5.7* ]]; then npm install -g npm@'>=5.7.1'; fi - # Take care of styleguidist from a fork for now (will be replaced soonish) - - npm install git+https://git@github.com/viljamis/vue-styleguidist.git - npm ci before_script: # Install Webpack version @@ -19,14 +17,19 @@ branches: - /^v\d+\.\d+\.\d+$/ stages: - lint - - integration + - test + - build jobs: include: - stage: lint script: # Run linter - npm run lint - - stage: integration + - stage: test + script: + # Run tests + - npm run test + - stage: build script: # Build all - npm run build:docs diff --git a/docs/components/status/Components.vue b/docs/components/status/Components.vue index 44488073..d78f73c0 100644 --- a/docs/components/status/Components.vue +++ b/docs/components/status/Components.vue @@ -31,7 +31,7 @@ - + {{component.name}} diff --git a/docs/components/tokens/All.vue b/docs/components/tokens/All.vue index e7ef0c1b..da5e6c99 100644 --- a/docs/components/tokens/All.vue +++ b/docs/components/tokens/All.vue @@ -9,7 +9,7 @@ - + ${{token.name.replace(/_/g, "-")}} diff --git a/docs/components/tokens/Color.vue b/docs/components/tokens/Color.vue index 8613c4a5..52827d30 100644 --- a/docs/components/tokens/Color.vue +++ b/docs/components/tokens/Color.vue @@ -1,8 +1,8 @@