diff --git a/package.json b/package.json index d6f4462..0772c27 100644 --- a/package.json +++ b/package.json @@ -3,9 +3,8 @@ "version": "1.0.2", "main": "index.js", "scripts": { - "test": "tape test/*.js", - "posttest": "jshint *.js", - "preversion": "npm test" + "lint": "jshint *.js", + "preversion": "npm run lint" }, "keywords": [ "ffmpeg", @@ -22,9 +21,7 @@ "@ffmpeg-installer/win32-x64": "3.0.1" }, "devDependencies": { - "jshint": "^2.9.3", - "semver": "^5.3.0", - "tape": "^4.6.0" + "jshint": "^2.9.3" }, "directories": { "test": "test" diff --git a/test/test-path-version.js b/test/test-path-version.js deleted file mode 100644 index 9611ab5..0000000 --- a/test/test-path-version.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; - -const os = require('os'); -const path = require('path'); - -const test = require('tape'); -const semver = require('semver'); - -const ffmpegInstaller = require('../index'); - -const platform = os.platform() + '-' + os.arch(); -const binary = platform === 'win32' ? 'ffmpeg.exe' : 'ffmpeg'; - -test('', (t) => { - //console.log(ffmpegInstaller.path); - //console.log(ffmpegInstaller.version); - - t.equals(path.resolve(__dirname, '../..', platform, binary), ffmpegInstaller.path, 'Valid path'); - t.true(semver.valid(ffmpegInstaller.version), 'Valid version number'); - t.end(); -}); \ No newline at end of file