| 
14 | 14 |     "mocha_reporter": "dot"  | 
15 | 15 |   },  | 
16 | 16 |   "scripts": {  | 
17 |  | -    "clean": "rm -rf generated dist lib && git checkout -- dist",  | 
 | 17 | +    "clean": "rm -rf generated dist lib .coverage && git checkout -- dist",  | 
18 | 18 |     "compile:node": "coffee --output lib --compile src",  | 
19 | 19 |     "compile:test": "coffee --output generated/test --compile test",  | 
20 | 20 |     "compile:browser": "browserify . --standalone td --outfile $npm_package_config_build_file --ignore 'quibble' -p headerify",  | 
21 | 21 |     "compile": "npm run compile:node && npm run compile:test && npm run compile:browser",  | 
22 |  | -    "test": "mocha --ui mocha-given --reporter $npm_package_config_mocha_reporter --compilers coffee:coffee-script --recursive test/node-helper.coffee test/src",  | 
 | 22 | +    "test": "mocha --ui mocha-given --reporter $npm_package_config_mocha_reporter --compilers coffee:coffee-script $EXTRA_MOCHA_ARGS --recursive test/node-helper.coffee test/src",  | 
 | 23 | +    "test:cover:instrument": "istanbul instrument lib -o .coverage/lib",  | 
 | 24 | +    "test:cover:run": "EXTRA_MOCHA_ARGS=\"--reporter mocha-istanbul\" COVER=.coverage/lib ISTANBUL_REPORT_DIR=.coverage ISTANBUL_REPORTERS=lcov,html npm run test",  | 
 | 25 | +    "test:cover:report": "codeclimate-test-reporter < .coverage/lcov.info",  | 
 | 26 | +    "test:cover": "npm run compile:node && npm run test:cover:instrument && npm run test:cover:run",  | 
23 | 27 |     "test:browser": "npm run compile && testem ci",  | 
24 | 28 |     "test:example:webpack": "cd examples/webpack && npm i && npm test & cd ../..",  | 
25 | 29 |     "test:example:node": "cd examples/node && npm i && npm test && cd ../..",  | 
 | 
46 | 50 |   "devDependencies": {  | 
47 | 51 |     "browserify": "^11.0.1",  | 
48 | 52 |     "chai": "^3.2.0",  | 
 | 53 | +    "codeclimate-test-reporter": "^0.3.1",  | 
49 | 54 |     "coffee-script": "^1.10.0",  | 
50 | 55 |     "disc": "^1.3.2",  | 
51 | 56 |     "headerify": "^1.0.1",  | 
 | 57 | +    "istanbul": "^0.4.2",  | 
52 | 58 |     "mocha": "^2.3.1",  | 
53 | 59 |     "mocha-given": "^0.1.3",  | 
 | 60 | +    "mocha-istanbul": "arikon/mocha-istanbul",  | 
54 | 61 |     "testem": "^0.9.4"  | 
55 | 62 |   },  | 
56 | 63 |   "keywords": [  | 
 | 
0 commit comments