Skip to content

Commit 6049bf5

Browse files
committed
included context-api support
1 parent 404aa79 commit 6049bf5

File tree

3 files changed

+30
-3
lines changed

3 files changed

+30
-3
lines changed

package.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,20 @@
2020
"type": "git",
2121
"url": "https://github.com/oslabs-beta/reactime"
2222
},
23-
"author": "Bryan Lee, Josh Kim, Ryan Dang, Sierra Swaby",
23+
"contributors": [
24+
"Andy Wong",
25+
"Bryan Lee",
26+
"David Chai",
27+
"Josh Kim",
28+
"Ruthba Anam",
29+
"Ryan Dang",
30+
"Sierra Swaby",
31+
"Yujin Kang"
32+
],
2433
"license": "ISC",
2534
"devDependencies": {
2635
"@babel/core": "^7.5.5",
36+
"@babel/plugin-proposal-class-properties": "^7.5.5",
2737
"@babel/plugin-proposal-decorators": "^7.4.4",
2838
"@babel/preset-env": "^7.5.5",
2939
"@babel/preset-react": "^7.0.0",

package/package.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,16 @@
2121
"reactime",
2222
"react devtool"
2323
],
24-
"author": "Bryan Lee, Josh Kim, Ryan Dang, Sierra Swaby",
24+
"contributors": [
25+
"Andy Wong",
26+
"Bryan Lee",
27+
"David Chai",
28+
"Josh Kim",
29+
"Ruthba Anam",
30+
"Ryan Dang",
31+
"Sierra Swaby",
32+
"Yujin Kang"
33+
],
2534
"license": "MIT",
2635
"dependencies": {}
2736
}

webpack.config.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,15 @@ const config = {
2222
use: {
2323
loader: 'babel-loader',
2424
options: {
25-
presets: ['@babel/preset-env', '@babel/preset-react'],
25+
presets: [
26+
'@babel/preset-env',
27+
'@babel/preset-react',
28+
{
29+
plugins: [
30+
'@babel/plugin-proposal-class-properties',
31+
],
32+
},
33+
],
2634
},
2735
},
2836
},

0 commit comments

Comments
 (0)