浏览代码

Merge branch 't/410'

Internal: Introduced `npm t` script. Closes #410.
Piotrek Koszuliński 8 年之前
父节点
当前提交
240c90ebfd
共有 2 个文件被更改,包括 4 次插入1 次删除
  1. 1 1
      .travis.yml
  2. 3 0
      package.json

+ 1 - 1
.travis.yml

@@ -19,4 +19,4 @@ install:
   - mgit bootstrap --resolver-url-template="https://github.com/\${ path }.git"
   - lerna bootstrap
 script:
-  - node --max_old_space_size=4096 ./node_modules/.bin/ckeditor5-dev-tests --reporter=dots
+  - npm t

+ 3 - 0
package.json

@@ -48,5 +48,8 @@
   "repository": {
     "type": "git",
     "url": "https://github.com/ckeditor/ckeditor5.git"
+  },
+  "scripts": {
+    "test": "node --max_old_space_size=4096 ./node_modules/.bin/ckeditor5-dev-tests --reporter=dots"
   }
 }