diff --git a/CHANGELOG.md b/CHANGELOG.md index 4ae40226bfdbb83cd8b35fbbfacff41fe82bd9eb..a34a8e5bc35cf0fe71cf45e9b3a32e27a0ed4a13 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +UPCOMING v0.3: + changes: + - faker and chance are not longer required as dependencies +UPCOMING: + changes: + - inline code docs + module separation v0.2.11: date: 2016-02-13 changes: diff --git a/README.md b/README.md index d4a56956c2f3d22c456e8f821cf98d42d72124a2..32371e8858cff3dcb0ca5e1fcf0c8d1ae6695fb9 100644 --- a/README.md +++ b/README.md @@ -238,6 +238,11 @@ You can also use standard JSON Schema keywords, e.g. `pattern`: } ``` +**BREAKING CHANGES** + +> Since `0.3.0` the `faker` and `chance` dependencies aren't shipped by default, +> in order to use both generators you MUST install them with `npm install faker chance --save`. + ## Custom formats Additionally, you can add custom generators for those: diff --git a/package.json b/package.json index a34758e03c8df5ca952f5dcd2dba6baaf4c3a661..6c80799956f9c5df7d727c77a8470e72267598c4 100644 --- a/package.json +++ b/package.json @@ -31,16 +31,16 @@ "bugs": "https://github.com/json-schema-faker/json-schema-faker/issues", "license": "MIT", "dependencies": { - "chance": "^1.0.0", "deref": "^0.6.3", - "faker": "^3.0.1", "randexp": "^0.4.2" }, "devDependencies": { "browserify": "^13.0.0", + "chance": "^1.0.0", "clone": "^1.0.2", "codecov": "^1.0.1", "eslint": "^2.0.0", + "faker": "^3.0.1", "fs-extra": "^0.26.5", "glob": "^7.0.0", "istanbul": "^0.4.2",