From 09e2e537390225c1d1a6912be64267eaec6ea367 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Tue, 28 Jan 2020 22:15:15 -0800 Subject: [PATCH] [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape`; add `safe-publish-latest` --- package.json | 10 ++++++---- test.js => test/index.js | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) rename test.js => test/index.js (96%) diff --git a/package.json b/package.json index 050b046..da75759 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "license": "MIT", "main": "index.js", "scripts": { + "prepublish": "safe-publish-latest", "pretest": "npm run lint", "test": "npm run tests-only", "tests-only": "node test", @@ -41,14 +42,15 @@ ], "dependencies": {}, "devDependencies": { - "@ljharb/eslint-config": "^15.0.2", + "@ljharb/eslint-config": "^16.0.0", "auto-changelog": "^1.16.2", "covert": "^1.1.1", - "eslint": "^6.6.0", - "tape": "^4.11.0" + "eslint": "^6.8.0", + "safe-publish-latest": "^1.1.4", + "tape": "^5.0.0-next.4" }, "testling": { - "files": "test.js", + "files": "test/index.js", "browsers": [ "iexplore/6.0..latest", "firefox/3.0..6.0", diff --git a/test.js b/test/index.js similarity index 96% rename from test.js rename to test/index.js index 18c3f7c..8fd7d16 100644 --- a/test.js +++ b/test/index.js @@ -1,7 +1,7 @@ 'use strict'; var test = require('tape'); -var isNegativeZero = require('./'); +var isNegativeZero = require('../'); test('not negative zero', function (t) { t.notOk(isNegativeZero(), 'undefined is not negative zero');