Sfoglia il codice sorgente

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

Kamil Piechaczek 9 anni fa
parent
commit
8d669a8d4a

+ 25 - 0
packages/ckeditor5-list/.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-list/README.md

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

+ 13 - 1
packages/ckeditor5-list/package.json

@@ -3,9 +3,21 @@
   "version": "0.2.0",
   "description": "Introduces ordered and unordered lists feature to CKEditor 5.",
   "keywords": [],
-  "dependencies": {},
+  "dependencies": {
+    "ckeditor5-engine": "ckeditor/ckeditor5-engine",
+    "ckeditor5-core": "ckeditor/ckeditor5-core",
+    "ckeditor5-ui": "ckeditor/ckeditor5-ui",
+    "ckeditor5-ui-default": "ckeditor/ckeditor5-ui-default",
+    "ckeditor5-utils": "ckeditor/ckeditor5-utils"
+  },
   "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"
   },