Skip to content

Commit d53a00b

Browse files
committed
new structure
1 parent 15d9d5c commit d53a00b

File tree

9 files changed

+7365
-45
lines changed

9 files changed

+7365
-45
lines changed

.babelrc

Lines changed: 84 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,85 @@
11
{
2-
"presets": [
3-
["es2015", { "loose": true }],
4-
"stage-0",
5-
"react",
6-
],
7-
"plugins": [
8-
["transform-runtime", {
9-
"polyfill": false,
10-
"regenerator": true
11-
}],
12-
"transform-decorators-legacy",
13-
"transform-class-properties",
14-
"transform-proto-to-assign",
15-
]
16-
}
2+
"env": {
3+
"development": {
4+
"presets": [
5+
["babel-preset-env", {
6+
"targets": {
7+
"node": "6.10"
8+
}
9+
}],
10+
"stage-0",
11+
"react"
12+
],
13+
"plugins": [
14+
["transform-runtime", {
15+
"polyfill": false,
16+
"regenerator": true
17+
}],
18+
"transform-decorators",
19+
"transform-class-properties"
20+
]
21+
},
22+
"test": {
23+
"presets": [
24+
["babel-preset-env", {
25+
"targets": {
26+
"node": "6.10"
27+
}
28+
}],
29+
"stage-0",
30+
"react"
31+
],
32+
"plugins": [
33+
["transform-runtime", {
34+
"polyfill": false,
35+
"regenerator": true
36+
}],
37+
"transform-decorators",
38+
"transform-class-properties"
39+
]
40+
},
41+
"browser": {
42+
"presets": [
43+
["babel-preset-env", {
44+
"targets": {
45+
"browsers": "last 3 versions, > 1%"
46+
},
47+
"modules": false,
48+
"loose": true
49+
}],
50+
"stage-0",
51+
"react"
52+
],
53+
"plugins": [
54+
["transform-runtime", {
55+
"polyfill": false,
56+
"regenerator": true
57+
}],
58+
"transform-decorators-legacy",
59+
"transform-class-properties",
60+
"transform-proto-to-assign",
61+
]
62+
},
63+
"module": {
64+
"presets": [
65+
["babel-preset-env", {
66+
"targets": {
67+
"node": "6.10"
68+
},
69+
"modules": false
70+
}],
71+
"stage-0",
72+
"react"
73+
],
74+
"plugins": [
75+
["transform-runtime", {
76+
"polyfill": false,
77+
"regenerator": true
78+
}],
79+
"transform-decorators",
80+
"transform-class-properties"
81+
]
82+
}
83+
},
84+
"sourceMaps": true
85+
}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
coverage
22
dist
33
lib
4+
module
45
node_modules
56
.DS_Store

gulpfile.js

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)