File tree 2 files changed +7
-34
lines changed
2 files changed +7
-34
lines changed Original file line number Diff line number Diff line change 6
6
"scripts" : {
7
7
"pretest" : " dep-check" ,
8
8
"test" : " ava -c 4" ,
9
- "build" : " cross-env NODE_ENV=production babel src --out-dir lib" ,
9
+ "build" : " cross-env NODE_ENV=production babel src --out-dir lib --source-maps" ,
10
+ "watch" : " babel src --out-dir lib --watch --source-maps" ,
10
11
"clean" : " rimraf lib" ,
11
12
"prepublish" : " npm run build"
12
13
},
31
32
"sourceMaps" : " inline" ,
32
33
"plugins" : [
33
34
" add-module-exports" ,
34
- " istanbul" ,
35
35
[
36
36
" transform-runtime" ,
37
37
{
40
40
}
41
41
]
42
42
]
43
- },
44
- "production" : {
45
- "ignore" : [
46
- " **/*.test.js"
47
- ]
48
43
}
49
44
},
50
45
"presets" : [
55
50
"node" : 4
56
51
}
57
52
}
58
- ],
59
- " stage-0"
53
+ ]
60
54
],
61
55
"plugins" : [
62
56
" add-module-exports" ,
106
100
"ava" : " 0.18.2" ,
107
101
"babel-cli" : " ^6.18.0" ,
108
102
"babel-plugin-add-module-exports" : " 0.2.1" ,
103
+ "babel-plugin-async-to-promises" : " ^1.0.5" ,
109
104
"babel-plugin-istanbul" : " 4.1.3" ,
110
105
"babel-plugin-transform-runtime" : " 6.23.0" ,
111
106
"babel-polyfill" : " ^6.20.0" ,
112
107
"babel-preset-env" : " ^1.2.1" ,
113
- "babel-preset-stage-0" : " ^6.16.0" ,
114
108
"babel-register" : " 6.24.1" ,
115
109
"conventional-changelog-cli" : " 1.2.0" ,
116
110
"conventional-recommended-bump" : " 0.3.0" ,
Original file line number Diff line number Diff line change 4
4
"description" : " commitizen prompt using commitlint.config.js" ,
5
5
"main" : " ./lib/index.js" ,
6
6
"scripts" : {
7
- "build" : " cross-env NODE_ENV=production babel src --out-dir lib" ,
7
+ "build" : " cross-env NODE_ENV=production babel src --out-dir lib --source-maps" ,
8
+ "watch" : " babel src --out-dir lib --watch --source-maps" ,
8
9
"clean" : " rimraf lib" ,
9
10
"commit" : " git-cz" ,
10
11
"pretest" : " dep-check" ,
24
25
]
25
26
},
26
27
"babel" : {
27
- "env" : {
28
- "development" : {
29
- "sourceMaps" : " inline" ,
30
- "plugins" : [
31
- " add-module-exports" ,
32
- [
33
- " transform-runtime" ,
34
- {
35
- "polyfill" : false ,
36
- "regenerator" : true
37
- }
38
- ]
39
- ]
40
- },
41
- "production" : {
42
- "ignore" : [
43
- " **/*.test.js"
44
- ]
45
- }
46
- },
47
28
"presets" : [
48
29
[
49
30
" env" ,
52
33
"node" : 4
53
34
}
54
35
}
55
- ],
56
- " stage-0"
36
+ ]
57
37
],
58
38
"plugins" : [
59
39
" add-module-exports" ,
96
76
"babel-plugin-add-module-exports" : " ^0.2.1" ,
97
77
"babel-plugin-transform-runtime" : " ^6.23.0" ,
98
78
"babel-preset-env" : " ^1.6.0" ,
99
- "babel-preset-stage-0" : " ^6.24.1" ,
100
79
"babel-register" : " ^6.24.1" ,
101
80
"commitizen" : " ^2.9.6" ,
102
81
"cross-env" : " ^5.0.1" ,
You can’t perform that action at this time.
0 commit comments