Skip to content

Commit

Permalink
Clean up dependencies & switch to nyc for code coverage.
Browse files Browse the repository at this point in the history
  • Loading branch information
jails committed Nov 5, 2016
1 parent a98c093 commit 310e682
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 22 deletions.
3 changes: 0 additions & 3 deletions .babelrc

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
lib/
coverage/
node_modules/
.nyc_output
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ coverage/
node_modules/
spec/
test/
.nyc_output
31 changes: 12 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chaos-database-sqlite",
"version": "6.0.0",
"version": "7.0.0",
"description": "SQLite adapter for Chaos ORM.",
"license": "MIT",
"repository": {
Expand All @@ -12,33 +12,26 @@
"database",
"sql"
],
"scripts": {
"compile": "babel -d lib/ src/",
"prepublish": "npm run compile",
"test": "mocha --compilers babel:babel-core/register",
"coverage-report": "babel-node node_modules/isparta/bin/isparta cover _mocha --i \"src/**/*.js\"",
"push-coverage": "cat ./coverage/lcov.info | coveralls",
"cleanup": "rm -rf ./coverage"
},
"main": "lib/index.js",
"jsnext:main": "src/index.js",
"main": "src/index.js",
"dependencies": {
"chaos-database": "^8.0",
"chaos-database": "^9.0",
"co": "^4.6.0",
"extend-merge": "^1.0.3",
"sql-dialect": "^1.1",
"sql-dialect": "^2.0",
"sqlite3": "^3.1.8"
},
"devDependencies": {
"babel-cli": "^6.18.0",
"babel-core": "^6.18.2",
"babel-polyfill": "^6.16.0",
"babel-preset-es2015": "^6.18.0",
"bluebird": "^3.4.6",
"chai-kahlan": "^1.0.4",
"coveralls": "^2.11.14",
"isparta": "^4.0.0",
"jasmine-kahlan": "^1.0.2",
"mocha": "^3.1.2"
"mocha": "^3.1.2",
"nyc": "^8.4.0"
},
"scripts": {
"coverage-report": "nyc --reporter=lcov mocha",
"push-coverage": "cat ./coverage/lcov.info | coveralls",
"cleanup": "rm -rf ./coverage",
"test": "mocha"
}
}

0 comments on commit 310e682

Please sign in to comment.