From 1e555dc562ada68c0b3441532b7947242c881ead Mon Sep 17 00:00:00 2001 From: Vladimir Agafonkin Date: Thu, 21 Dec 2017 11:36:59 +0200 Subject: [PATCH] update deps & publish scripts --- .npmignore | 4 ---- MIT-LICENSE => LICENSE | 2 ++ package.json | 24 +++++++++++++++--------- 3 files changed, 17 insertions(+), 13 deletions(-) delete mode 100644 .npmignore rename MIT-LICENSE => LICENSE (98%) diff --git a/.npmignore b/.npmignore deleted file mode 100644 index ecf30e1..0000000 --- a/.npmignore +++ /dev/null @@ -1,4 +0,0 @@ -bench -viz -test -.travis.yml diff --git a/MIT-LICENSE b/LICENSE similarity index 98% rename from MIT-LICENSE rename to LICENSE index 94d9eed..f74668a 100644 --- a/MIT-LICENSE +++ b/LICENSE @@ -1,3 +1,5 @@ +MIT License + Copyright (c) 2016 Vladimir Agafonkin Permission is hereby granted, free of charge, to any person obtaining a copy diff --git a/package.json b/package.json index 1ef3173..0d47b45 100644 --- a/package.json +++ b/package.json @@ -18,15 +18,17 @@ "author": "Vladimir Agafonkin", "license": "MIT", "main": "index.js", + "jsdelivr": "rbush.js", + "unpkg": "rbush.js", "devDependencies": { - "benchmark": "^2.1.0", - "browserify": "^14.1.0", - "eslint": "^3.18.0", - "eslint-config-mourner": "^2.0.1", + "benchmark": "^2.1.4", + "browserify": "^14.5.0", + "eslint": "^4.13.1", + "eslint-config-mourner": "^2.0.3", "faucet": "0.0.1", - "istanbul": "~0.4.3", - "tape": "^4.5.1", - "uglify-js": "^2.6.4" + "istanbul": "~0.4.5", + "tape": "^4.8.0", + "uglify-js": "^3.2.2" }, "scripts": { "test": "eslint index.js test/test.js && node test/test.js | faucet", @@ -34,8 +36,12 @@ "cov": "istanbul cover test/test.js -x test/test.js", "build": "browserify index.js -s rbush -o rbush.js", "build-min": "browserify index.js -s rbush | uglifyjs -c warnings=false -m > rbush.min.js", - "prepublish": "npm run build && npm run build-min" + "prepare": "npm run build && npm run build-min" }, + "files": [ + "rbush.js", + "rbush.min.js" + ], "eslintConfig": { "extends": "mourner", "rules": { @@ -44,6 +50,6 @@ } }, "dependencies": { - "quickselect": "^1.0.0" + "quickselect": "^1.0.1" } }