Skip to content

Commit

Permalink
Merge pull request #694 from jchip/update-demo-component
Browse files Browse the repository at this point in the history
Update demo component
  • Loading branch information
jchip authored Jan 20, 2018
2 parents e70662b + 15c0037 commit 89d5358
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ module.exports = {
resolve: {
alias: {
"demo-component": Path.join(repoPackagesDir, "demo-component/src"),
"react": Path.dirname(require.resolve("react/package.json")),
react: Path.dirname(require.resolve("react/package.json")),
"react-dom": Path.dirname(require.resolve("react-dom/package.json"))
},
modules: [
Path.resolve("node_modules"),
Path.join(repoPackagesDir, "demo-component"),
Path.join(repoPackagesDir, "demo-component/node_modules")
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ module.exports = {
resolve: {
alias: {
"demo-component": Path.join(repoPackagesDir, "demo-component/src"),
"react": Path.dirname(require.resolve("react/package.json")),
react: Path.dirname(require.resolve("react/package.json")),
"react-dom": Path.dirname(require.resolve("react-dom/package.json"))
},
modules: [
Path.resolve("node_modules"),
Path.join(repoPackagesDir, "demo-component"),
Path.join(repoPackagesDir, "demo-component/node_modules")
]
Expand Down
3 changes: 2 additions & 1 deletion samples/demo-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,12 @@
},
"homepage": "https://github.com/electrode-io/electrode",
"scripts": {
"bootstrap": "lerna bootstrap",
"bootstrap": "eval `fyn bash` && fynpo",
"test": "npm run bootstrap && lerna run test"
},
"dependency": {},
"devDependencies": {
"fynpo": "^0.1.3",
"lerna": "^2.7.1",
"lodash": "^4.10.1",
"xclap": "^0.2.0"
Expand Down
2 changes: 1 addition & 1 deletion samples/demo-component/packages/demo-component/.babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "./node_modules/electrode-archetype-react-component/config/babel/.babelrc"
"extends": "electrode-archetype-react-component-dev/config/babel/.babelrc"
}

0 comments on commit 89d5358

Please sign in to comment.