Skip to content

Commit f000fd5

Browse files
author
Cameron Knight
committed
v2.1.0
1 parent f8b7b79 commit f000fd5

File tree

2 files changed

+14
-7
lines changed

2 files changed

+14
-7
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# 2.1.0 (2019-05-30)
2+
3+
- Changed `dist/` outputs:
4+
- `random-js.js` => `random-js.umd.js`
5+
- `random-js.mjs` => `random-js.esm.js`
6+
- `random-js.min.js` => `random-js.umd.min.js`
7+
18
# 2.0.0 (2019-04-01)
29

310
- Release 2.0.0 (no code changes from 2.0.0-rc5)

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "random-js",
33
"description": "A mathematically correct random number generator library for JavaScript.",
4-
"version": "2.0.0",
4+
"version": "2.1.0",
55
"author": {
66
"name": "Cameron Kenneth Knight",
77
"email": "ckknight@gmail.com"
@@ -13,9 +13,9 @@
1313
"bugs": "https://github.com/ckknight/random-js/issues",
1414
"license": "MIT",
1515
"repository": "git://github.com/ckknight/random-js",
16-
"main": "dist/random-js.js",
17-
"module": "dist/random-js.mjs",
18-
"unpkg": "dist/random-js.min.js",
16+
"main": "dist/random-js.umd.js",
17+
"module": "dist/random-js.esm.js",
18+
"unpkg": "dist/random-js.umd.min.js",
1919
"types": "dist/index.d.ts",
2020
"files": [
2121
"dist"
@@ -39,11 +39,11 @@
3939
},
4040
"scripts": {
4141
"clean": "rimraf dist",
42-
"build:umd": "rollup -c rollup.config.es3.js --format umd -o dist/random-js.js --name Random -m",
43-
"build:esm": "rollup -c rollup.config.js --format esm --sourcemap true -o dist/random-js.mjs",
42+
"build:umd": "rollup -c rollup.config.es3.js --format umd -o dist/random-js.umd.js --name Random -m",
43+
"build:esm": "rollup -c rollup.config.js --format esm --sourcemap true -o dist/random-js.esm.js",
4444
"prebuild": "yarn clean",
4545
"build": "yarn build:umd && yarn build:esm",
46-
"minify": "terser --source-map content=dist/random-js.js.map --compress --mangle --output dist/random-js.min.js dist/random-js.js",
46+
"minify": "terser --source-map content=dist/random-js.umd.js.map --compress --mangle --output dist/random-js.umd.min.js dist/random-js.umd.js",
4747
"postbuild": "yarn minify",
4848
"benchmark": "for k in benchmark/*.js; do node $k; done",
4949
"test": "jest",

0 commit comments

Comments
 (0)