✨ Add NPM test script
This commit is contained in:
@@ -9,13 +9,13 @@ 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
|
||||||
this.path.full = this.path.directory + '/' + this.name
|
this.path.full = this.path.directory + '/' + this.name
|
||||||
this.versions = []
|
this.versions = []
|
||||||
this.socket = _options.socket
|
this.socket = _options.socket
|
||||||
|
|
||||||
const nameParts = this.name.split('.')
|
const nameParts = this.name.split('.')
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user