Browse Source

accelerate build on travis by removing npm install in pretest command

pull/2/head
Guillaume Vincent 9 years ago
parent
commit
96abf78e5f
2 changed files with 11 additions and 4 deletions
  1. +11
    -3
      README.md
  2. +0
    -1
      package.json

+ 11
- 3
README.md View File

@@ -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 View File

@@ -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…
Cancel
Save