File tree Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Original file line number Diff line number Diff line change 44 "description" : " These are some commands and assertion I use when I'm testing with nightwatch.js and selenium." ,
55 "main" : " none" ,
66 "scripts" : {
7- "test" : " ./runTests.sh" ,
8- "preinstall" : " npm install -g gulp coffeelint nightwatch"
7+ "test" : " ./runTests.sh"
98 },
109 "repository" : {
1110 "type" : " git" ,
3231 "gulp-rename" : " ^1.2.0" ,
3332 "gulp-util" : " ^3.0.4" ,
3433 "mockserver-client" : " ^1.0.3" ,
35- "selenium-server" : " 2.45.0"
34+ "selenium-server" : " 2.45.0" ,
35+ "coffeelint" : " latest" ,
36+ "nightwatch" : " latest"
3637 },
3738 "dependencies" : {
3839 "easyimage" : " ^1.2.2"
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3+ if ! which coffeelint ; then
4+ echo " Coffeelint not installed globally. This is necessary for running tests"
5+ echo " npm install coffeelint -g"
6+ echo " Please note that nightwatch is also necessary globally"
7+ exit 1
8+ fi
9+
10+ if ! which nightwatch ; then
11+ echo " Nightwatch not installed globally. This is necessary for running tests"
12+ echo " npm install nightwatch -g"
13+ exit 1
14+ fi
15+
316NIGHTWATCH_ENV=${NIGHTWATCH_ENV:- default}
417
518# Lint the coffee files
You can’t perform that action at this time.
0 commit comments