fixturify-project
Advanced tools
Comparing version 1.8.1 to 1.8.2
{ | ||
"name": "fixturify-project", | ||
"version": "1.8.1", | ||
"version": "1.8.2", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "repository": "git@github.com:stefanpenner/node-fixturify-project", |
@@ -29,3 +29,3 @@ # node-fixturify-project | ||
project.addFile('index.js', 'module.exports = "Hello, World!"'); | ||
project.files['index.js'] = 'module.exports = "Hello, World!"'; | ||
@@ -91,2 +91,4 @@ project.writeSync('some/root/'); | ||
* `Project.fromDir(root, name)` consume a given project from disk, assuming it has been written to by `Project.prototype.writeSync(root)`; | ||
* `Project.prototype.root` the path that `Project.prototype.writeSync` will write to by default, if not specified as constructor argument will default to a temp directory | ||
* `Project.prototype.files` a POJO (in the format of `fixturify`) representing the files within the project root | ||
* `Project.prototype.clone()` deep clone a given project | ||
@@ -93,0 +95,0 @@ * `Project.prototype.readSync(root)` assumes the state of the given root (symmetrical to `Project.prototype.writeSync(root)`) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19727
98