clean up index.js to not check for cov, revert package.json to use index.js

This commit is contained in:
Jake Luer 2012-11-29 03:19:45 -05:00
parent 86fe576d56
commit 0b8fff789f
2 changed files with 2 additions and 4 deletions

View file

@ -1,3 +1 @@
module.exports = (process && process.env && process.env.CHAI_COV)
? require('./lib-cov/chai')
: require('./lib/chai');
module.exports = require('./lib/chai');

View file

@ -19,7 +19,7 @@
"bugs": {
"url": "https://github.com/chaijs/chai/issues"
},
"main": "./lib/chai",
"main": "./index",
"scripts": {
"test": "mocha"
},