Add NPM test script

This commit is contained in:
brunosimon
2017-07-18 04:03:47 +02:00
parent 2b49b8a847
commit 2770fad856
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ class File
constructor(_options) constructor(_options)
{ {
// Set up // Set up
this.id = ids.get_id() this.id = ids.getId()
this.name = _options.name this.name = _options.name
this.path = {} this.path = {}
this.path.directory = _options.path this.path.directory = _options.path
+1 -1
View File
@@ -7,7 +7,7 @@
}, },
"main": "bin/index.js", "main": "bin/index.js",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1" "demo-folder": "cd test/demo-folder && node ../../bin 'Demo folder'"
}, },
"repository": { "repository": {
"type": "git", "type": "git",