just-random-integer
Advanced tools
Comparing version 1.0.0 to 2.1.0
declare function random(lower?: number, upper?: number): number; | ||
export = random; | ||
export default random; |
@@ -1,2 +0,2 @@ | ||
import random = require('./index'); | ||
import random from './index' | ||
@@ -3,0 +3,0 @@ // OK |
{ | ||
"name": "just-random-integer", | ||
"version": "1.0.0", | ||
"version": "2.1.0", | ||
"description": "Produces an integer between two values", | ||
"type": "commonjs", | ||
"main": "index.js", | ||
"module": "index.esm.js", | ||
"exports": { | ||
".": { | ||
"require": "./index.js", | ||
"default": "./index.esm.js" | ||
} | ||
}, | ||
"types": "index.d.ts", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"build": "rollup -c" | ||
}, | ||
@@ -10,0 +19,0 @@ "repository": "https://github.com/angus-c/just", |
3797
8
59