diff --git a/package-lock.json b/package-lock.json index 14464e38..6d3fa6eb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1978,6 +1978,12 @@ "glob": "7.1.2" } }, + "run-script-os": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/run-script-os/-/run-script-os-1.0.3.tgz", + "integrity": "sha512-CRZRyBfQBh+kHq32rZ6A6zxq6Hx3LzgwgcJ8crozey4Va4IMGsTo+agfmlx3/q2As7egn+Jo9w2T6P0//BJg3A==", + "dev": true + }, "safe-buffer": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.1.tgz", diff --git a/package.json b/package.json index fe5518b0..5790b7b6 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,9 @@ "main": "index.js", "typings": "index.d.ts", "scripts": { - "test": "jasmine 'test/**/*.js'", + "test": "run-script-os", + "test:darwin:linux": "jasmine 'test/**/*.js'", + "test:win32": "jasmine test/**/*.js", "install": "prebuild-install || node-gyp rebuild" }, "repository": { @@ -43,6 +45,7 @@ "devDependencies": { "jasmine": "^2.99.0", "prebuild": "v6.1.0", + "run-script-os": "^1.0.3", "targetpractice": "0.0.7" } }