diff --git a/npmextra.json b/npmextra.json index b26f8eb..c84c23e 100644 --- a/npmextra.json +++ b/npmextra.json @@ -7,10 +7,10 @@ "projectType": "npm", "module": { "githost": "gitlab.com", - "gitscope": "pushrocks", + "gitscope": "push.rocks", "gitrepo": "smartdrive", "shortDescription": "a module for drive data and mount management", - "npmPackagename": "@pushrocks/smartdrive", + "npmPackagename": "@push.rocks/smartdrive", "license": "MIT" } } diff --git a/package.json b/package.json index fc7ff37..9372bb8 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "@pushrocks/smartdrive", + "name": "@push.rocks/smartdrive", "version": "1.0.9", "description": "do more with local and cloud drives", "main": "dist_ts/index.js", @@ -37,4 +37,4 @@ "npmextra.json", "readme.md" ] -} +} \ No newline at end of file diff --git a/ts/smartdrive.classes.localdrivelist.ts b/ts/smartdrive.classes.smartdrive.ts similarity index 92% rename from ts/smartdrive.classes.localdrivelist.ts rename to ts/smartdrive.classes.smartdrive.ts index 04ea149..82e4ac9 100644 --- a/ts/smartdrive.classes.localdrivelist.ts +++ b/ts/smartdrive.classes.smartdrive.ts @@ -31,6 +31,6 @@ export class SmartDrive { * @param devNameArg */ public async mountDeviceByName(devNameArg: string) { - + await this.smartshellInstance.exec(`mount -o dmask=000,fmask=111,user /dev/sdb1 /mnt/sdb1`); } } diff --git a/tslint.json b/tslint.json deleted file mode 100644 index d4ea2e9..0000000 --- a/tslint.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "extends": ["tslint:latest", "tslint-config-prettier"], - "rules": { - "semicolon": [true, "always"], - "no-console": false, - "ordered-imports": false, - "object-literal-sort-keys": false, - "member-ordering": { - "options":{ - "order": [ - "static-method" - ] - } - } - }, - "defaultSeverity": "warning" -}