Skip to content

Commit 9d8b5a3

Browse files
committed
added package.json babelrc webpack.config, and index files
1 parent 9aa7302 commit 9d8b5a3

14 files changed

+849
-27
lines changed

.babelrc

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"presets": [
3+
"babel-preset-es2015",
4+
"babel-preset-react",
5+
"babel-preset-stage-0"
6+
],
7+
"plugins": [
8+
"transform-decorators-legacy",
9+
["transform-runtime", {
10+
"polyfill": false,
11+
"regenerator": true
12+
}],
13+
["inline-json-import", {}],
14+
[
15+
"module-resolver",
16+
{
17+
"root": [
18+
"./src"
19+
],
20+
"alias": {
21+
"test": "./test"
22+
}
23+
}
24+
]
25+
],
26+
"env": {
27+
"test": {
28+
"plugins": [
29+
"istanbul"
30+
]
31+
}
32+
}
33+
}

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ dist/
66

77
*/**/yarn.lock
88
yarn-error.log
9+
*/**/package-lock.json
910
package-lock.json
1011

1112
.DS_Store

0 commit comments

Comments
 (0)