Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
version: 2
jobs:
build:
docker:
- image: circleci/node:10

working_directory: ~/repo

steps:
- checkout

- restore_cache:
keys:
- node-deps-{{ checksum "package.json" }}

- run:
name: install frontend packages
command: |
npm i

- save_cache:
paths:
- ./node_modules
key: node-deps-{{ checksum "package.json" }}

- run:
name: test
command: |
npm test
mkdir -p reports
npm run ci-test-lint

- run:
name: coverage
environment:
COVERALLS_REPO_TOKEN: "9tBxvG8hoJroIbSNdMMNY9kNKTFVgVhQd"
command: |
npm run cov
npm run cov-html

- store_test_results:
path: reports
- store_artifacts:
path: reports
11 changes: 11 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
engines:
eslint:
enabled: true

exclude_patterns:
- test
- dist

ratings:
paths:
- src
19 changes: 16 additions & 3 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,26 @@
"extends": "@dreipol/eslint-config",
"env": {
"browser": true,
"node": true
"node": true,
"mocha": true
},
"globals": {
"Vue": true,
"globals": true
},
"rules": {
"camelcase": ["error", { "properties": "never" }],
}
"camelcase": [
"error",
{
"properties": "never"
}
]
},
"overrides": [{
"files": ["*.spec.js"],
"rules": {
"no-unused-expressions": "off",
"max-nested-callbacks": "off"
}
}]
}
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ jspm_packages

# generated files
/dist/index.js
/dist/index.esm.js
.reify-cache/

# nyc test coverage
.nyc_output
reports

# editor files
.idea
16 changes: 11 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

Intro

[![Build Status][travis-image]][travis-url]
[![Build Status][circleci-image]][circleci-url]
[![Code quality][codeclimate-image]][codeclimate-url]
[![Code coverage][coveralls-image]][coveralls-url]
[![NPM version][npm-version-image]][npm-url]
[![NPM downloads][npm-downloads-image]][npm-url]
[![MIT License][license-image]][license-url]
Expand All @@ -15,19 +17,23 @@ Purpose
1. Install the module

```bash
npm install -S @dreipol/vue-ui
npm install -S @dreipol/vue-ui
```

## Plugin config

<!-- Generated by documentation.js. Update this documentation by updating the source code. -->


##
[travis-image]: https://img.shields.io/travis/dreipol/vue-ui.svg?style=flat-square
[travis-url]: https://travis-ci.org/dreipol/vue-ui
##
[circleci-image]: https://circleci.com/gh/dreipol/vue-ui.svg?style=svg
[circleci-url]: https://circleci.com/gh/dreipol/vue-ui
[license-image]: http://img.shields.io/badge/license-MIT-000000.svg?style=flat-square
[license-url]: LICENSE
[npm-version-image]: http://img.shields.io/npm/v/@dreipol/vue-ui.svg?style=flat-square
[npm-downloads-image]: http://img.shields.io/npm/dm/@dreipol/vue-ui.svg?style=flat-square
[npm-url]: https://npmjs.org/package/@dreipol/vue-ui
[codeclimate-image]: https://api.codeclimate.com/v1/badges/fb8c4a8a6043d9e73f7f/maintainability
[codeclimate-url]: https://codeclimate.com/github/dreipol/vue-ui/maintainability
[coveralls-image]: https://coveralls.io/repos/github/dreipol/vue-ui/badge.svg?branch=master
[coveralls-url]: https://coveralls.io/github/dreipol/vue-ui?branch=master
Loading