瀏覽代碼

accelerate build on travis by removing npm install in pretest command

pull/2/head
Guillaume Vincent 9 年之前
父節點
當前提交
96abf78e5f
共有 2 個文件被更改,包括 11 次插入4 次删除
  1. +11
    -3
      README.md
  2. +0
    -1
      package.json

+ 11
- 3
README.md 查看文件

@@ -27,12 +27,20 @@ start application
open the application in a browser: [http://localhost:5000](http://localhost:5000)
## contribute
## run tests
### run tests
install dependencies
npm install
run tests
npm run test
### build for production
run test in watch mode
npm run test:watch
## build for production
npm run build:production

+ 0
- 1
package.json 查看文件

@@ -4,7 +4,6 @@
"description": "lesspass is like keepass without the need to persist passwords",
"main": "app/app.js",
"scripts": {
"pretest": "npm install",
"test": "mocha --compilers js:babel-core/register tests",
"test:watch": "npm run test -- -w",
"lint": "jshint app/**",


Loading…
取消
儲存