File tree 4 files changed +25
-61
lines changed
4 files changed +25
-61
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " simply-uuid" ,
3
- "version" : " 1 .0.1 " ,
3
+ "version" : " 2 .0.0 " ,
4
4
"description" : " Simple UUID generation" ,
5
5
"main" : " index.js" ,
6
6
"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"
9
12
},
10
13
"repository" : {
11
14
"type" : " git" ,
21
24
"url" : " https://github.com/TylerGarlick/simple-uuid/issues"
22
25
},
23
26
"homepage" : " https://github.com/TylerGarlick/simple-uuid" ,
27
+ "dependencies" : {
28
+ "babel-polyfill" : " ^6.23.0" ,
29
+ "babel-preset-env" : " ^1.5.2"
30
+ },
24
31
"devDependencies" : {
25
32
"ava" : " ^0.19.1" ,
26
33
"babel-cli" : " ^6.24.1" ,
27
- "babel-polyfill" : " ^6.23.0" ,
28
34
"babel-preset-pundits" : " ^2.0.3" ,
29
35
"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"
33
39
},
34
40
"ava" : {
35
41
"files" : [
45
51
"tap" : true ,
46
52
"powerAssert" : false ,
47
53
"require" : [
54
+ " babel-polyfill" ,
48
55
" babel-register"
49
56
],
50
57
"babel" : " inherit"
51
- }
58
+ },
59
+ "transform" : [
60
+ [
61
+ " babelify" ,
62
+ {
63
+ "comments" : false ,
64
+ "sourceType" : " module" ,
65
+ "entry" : true
66
+ }
67
+ ]
68
+ ]
52
69
}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments