Skip to content

Commit 51ee3da

Browse files
author
danielcaldas
committed
Add ci step to update sandbox dist. Link to repo on sandbox
1 parent 79904c3 commit 51ee3da

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ install:
66
script:
77
- npm run lint
88
- npm run test
9+
- npm run dist:sandbox

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"dev": "node_modules/.bin/webpack-dev-server -d --content-base sandbox --inline --hot --port 3002",
99
"dist": "node_modules/.bin/npm-run-all --parallel dist:*",
1010
"dist:rd3g": "webpack --config webpack.config.dist.js -p --display-modules",
11-
"dist:sandbox": "webpack --config webpack.config.js -p --display-modules",
11+
"dist:sandbox": "webpack --config webpack.config.js -p",
1212
"docs": "node_modules/documentation/bin/documentation.js build src/**/*.js -f html -o docs && node_modules/documentation/bin/documentation.js build src/**/*.js -f md > DOCUMENTATION.md",
1313
"lint": "node_modules/eslint/bin/eslint.js --config=.eslintrc.js \"src/**/*.js\"",
1414
"test": "jest --verbose --coverage",

sandbox/Sandbox.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export default class Sandbox extends React.Component {
133133
<Graph ref='graph' {...graphProps}/>
134134
</div>
135135
<div className='container__form'>
136-
<h4>react-d3-graph configurations</h4>
136+
<h4><a href="https://github.com/danielcaldas/react-d3-graph"><img width="40" height="40" src="https://a248.e.akamai.net/assets.github.com/images/icons/emoji/octocat.png"></img> react-d3-graph</a> configurations </h4>
137137
<Form className='form-wrapper'
138138
schema={this.state.schema}
139139
uiSchema={this.uiSchema}

sandbox/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
<title>react-d3-graph</title>
66
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
77
</head>
8-
98
<body>
109
<div id="app"></div>
1110
<script src="rd3g.sandbox.bundle.js"></script>

0 commit comments

Comments
 (0)