diff --git a/README.md b/README.md index 86f6e1b..843ac6a 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,15 @@ console.log(path.map(function(e) { return e.data; }).join()); [API](doc/API.md) ------ +Developing +------- +To get started developing in this package, install dependencies and use npm to run tests + +```bash +npm install +npm test +``` + License ------- MIT. diff --git a/package.json b/package.json index 7b040a8..cac048b 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "babel": "babel ./src/ --out-dir ./dist --source-maps", "browserify": "browserify ./dist/jKstra.js -o ./build/jKstra.js --standalone jKstra", "build": "npm run babel && npm run browserify", - "test": "mocha --compilers js:babel-register tests" + "test": "mocha --require babel-core/register tests" }, "babel": { "presets": [ @@ -38,7 +38,8 @@ "babel-register": "^6.7.2", "browserify": "^13.0.0", "chai": "^3.5.0", - "eslint": "^2.7.0" + "eslint": "^2.7.0", + "mocha": "^6.1.1" }, "directories": { "test": "test"