|
|
@@ -9,14 +9,14 @@
|
|
|
"scripts": {
|
|
|
"compile:app": "coffee -o app/js -c app/coffee && coffee -c app.coffee",
|
|
|
"start": "npm run compile:app && node app.js",
|
|
|
- "test:acceptance:run": "mocha --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js",
|
|
|
- "test:acceptance": "npm run compile:app && npm run compile:acceptance_tests && npm run test:acceptance:run -- $@",
|
|
|
- "test:unit:run": "mocha --recursive --reporter spec $@ test/unit/js",
|
|
|
- "test:unit": "npm run compile:app && npm run compile:unit_tests && npm run test:unit:run -- $@",
|
|
|
+ "test:acceptance": "npm run compile:app && npm run compile:acceptance_tests && npm run test:acceptance:_run -- $@",
|
|
|
+ "test:unit": "npm run compile:app && npm run compile:unit_tests && npm run test:unit:_run -- $@",
|
|
|
"compile:unit_tests": "[ -e test/unit ] && coffee -o test/unit/js -c test/unit/coffee || echo 'No unit tests to compile'",
|
|
|
"compile:acceptance_tests": "[ -e test/acceptance ] && coffee -o test/acceptance/js -c test/acceptance/coffee || echo 'No acceptance tests to compile'",
|
|
|
"compile:all": "npm run compile:app && npm run compile:unit_tests && npm run compile:acceptance_tests",
|
|
|
- "nodemon": "nodemon --config nodemon.json"
|
|
|
+ "nodemon": "nodemon --config nodemon.json",
|
|
|
+ "test:acceptance:_run": "mocha --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js",
|
|
|
+ "test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js"
|
|
|
},
|
|
|
"dependencies": {
|
|
|
"async": "0.2.9",
|