浏览代码

Added Travis configuration, new badges (README) and filled deps/devDeps in package.json.

Kamil Piechaczek 9 年之前
父节点
当前提交
3b5b900eef
共有 3 个文件被更改,包括 42 次插入1 次删除
  1. 25 0
      packages/ckeditor5-link/.travis.yml
  2. 5 0
      packages/ckeditor5-link/README.md
  3. 12 1
      packages/ckeditor5-link/package.json

+ 25 - 0
packages/ckeditor5-link/.travis.yml

@@ -0,0 +1,25 @@
+sudo: required
+dist: trusty
+addons:
+  apt:
+    sources:
+      - google-chrome
+    packages:
+      - google-chrome-stable
+language: node_js
+node_js:
+  - "6"
+cache:
+  - node_modules
+before_install:
+  - export CHROME_BIN=chromium-browser
+  - export DISPLAY=:99.0
+  - sh -e /etc/init.d/xvfb start
+install:
+  - npm install
+  - npm install @ckeditor/ckeditor5-dev-tests
+  - npm install codeclimate-test-reporter
+script:
+  - node_modules/.bin/ckeditor5-dev-tests --coverage
+after_success:
+  - node_modules/.bin/codeclimate-test-reporter < .build/coverage/lcov.info

+ 5 - 0
packages/ckeditor5-link/README.md

@@ -1,6 +1,11 @@
 CKEditor 5 Link Feature
 ========================================
 
+[![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-link.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-link)
+[![Build Status](https://travis-ci.org/ckeditor/ckeditor5-link.svg?branch=master)](https://travis-ci.org/ckeditor/ckeditor5-link)
+[![Test Coverage](https://codeclimate.com/github/ckeditor/ckeditor5-link/badges/coverage.svg)](https://codeclimate.com/github/ckeditor/ckeditor5-link/coverage)
+[![Code Climate](https://codeclimate.com/github/ckeditor/ckeditor5-link/badges/gpa.svg)](https://codeclimate.com/github/ckeditor/ckeditor5-link)
+[![Dependency Status](https://david-dm.org/ckeditor/ckeditor5-link/status.svg)](https://david-dm.org/ckeditor/ckeditor5-link#info=dependencies)
 [![devDependency Status](https://david-dm.org/ckeditor/ckeditor5-link/dev-status.svg)](https://david-dm.org/ckeditor/ckeditor5-link#info=devDependencies)
 
 Link feature for CKEditor 5. More information about the project can be found at the following URL: <https://github.com/ckeditor/ckeditor5-link>.

+ 12 - 1
packages/ckeditor5-link/package.json

@@ -3,9 +3,20 @@
   "version": "0.2.0",
   "description": "Link feature for CKEditor 5.",
   "keywords": [],
-  "dependencies": {},
+  "dependencies": {
+    "ckeditor5-core": "ckeditor/ckeditor5-core",
+    "ckeditor5-engine": "ckeditor/ckeditor5-engine",
+    "ckeditor5-ui": "ckeditor/ckeditor5-ui",
+    "ckeditor5-ui-default": "ckeditor/ckeditor5-ui-default"
+  },
   "devDependencies": {
     "@ckeditor/ckeditor5-dev-lint": "^1.0.1",
+    "ckeditor5-editor-classic": "ckeditor/ckeditor5-editor-classic",
+    "ckeditor5-enter": "ckeditor/ckeditor5-enter",
+    "ckeditor5-heading": "ckeditor/ckeditor5-heading",
+    "ckeditor5-paragraph": "ckeditor/ckeditor5-paragraph",
+    "ckeditor5-typing": "ckeditor/ckeditor5-typing",
+    "ckeditor5-undo": "ckeditor/ckeditor5-undo",
     "gulp": "^3.9.0",
     "guppy-pre-commit": "^0.4.0"
   },