Skip to content

Commit 043edbc

Browse files
author
Tyler Garlick
committed
v2.0.0
1 parent 6357c5b commit 043edbc

File tree

4 files changed

+25
-61
lines changed

4 files changed

+25
-61
lines changed

lib/uuid-node.js

-24
This file was deleted.

package.json

+25-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
{
22
"name": "simply-uuid",
3-
"version": "1.0.1",
3+
"version": "2.0.0",
44
"description": "Simple UUID generation",
55
"main": "index.js",
66
"scripts": {
7-
"test": "mocha test",
8-
"build": "babel src -d build --source-maps inline"
7+
"test": "ava test",
8+
"clean": "trash build/**/*",
9+
"build": "npm run clean && npm run build:node && npm run build:browser",
10+
"build:node": "babel src -d build --source-maps inline",
11+
"build:browser": "browserify src/index.js -t ./node_modules/babelify --outfile build/browser.js --require babel-polyfill"
912
},
1013
"repository": {
1114
"type": "git",
@@ -21,15 +24,18 @@
2124
"url": "https://github.com/TylerGarlick/simple-uuid/issues"
2225
},
2326
"homepage": "https://github.com/TylerGarlick/simple-uuid",
27+
"dependencies": {
28+
"babel-polyfill": "^6.23.0",
29+
"babel-preset-env": "^1.5.2"
30+
},
2431
"devDependencies": {
2532
"ava": "^0.19.1",
2633
"babel-cli": "^6.24.1",
27-
"babel-polyfill": "^6.23.0",
2834
"babel-preset-pundits": "^2.0.3",
2935
"babel-register": "^6.24.1",
30-
"chai": "^1.10.0",
31-
"lodash": "^2.4.1",
32-
"mocha": "^2.1.0"
36+
"babelify": "^7.3.0",
37+
"browserify": "^14.4.0",
38+
"trash-cli": "^1.4.0"
3339
},
3440
"ava": {
3541
"files": [
@@ -45,8 +51,19 @@
4551
"tap": true,
4652
"powerAssert": false,
4753
"require": [
54+
"babel-polyfill",
4855
"babel-register"
4956
],
5057
"babel": "inherit"
51-
}
58+
},
59+
"transform": [
60+
[
61+
"babelify",
62+
{
63+
"comments": false,
64+
"sourceType": "module",
65+
"entry": true
66+
}
67+
]
68+
]
5269
}

test/uuid.js

-29
This file was deleted.

wallaby.config.js

Whitespace-only changes.

0 commit comments

Comments
 (0)