Repurpose React app as artifact editor (#89)

Summary:
We’ll now start creating the artifact plugin. A large part of this will
be the user interface, including a GUI. For now, our build system just
builds a single React app, so we’re cannibalizing the main explorer to
serve this purpose.

Paired with @dandelionmane.

Test Plan:
The following still work:
  - `yarn test`
  - `yarn start`
  - `yarn build; (cd build; python -m SimpleHTTPServer)`

wchargin-branch: repurpose-react-app-as-artifact-editor
This commit is contained in:
William Chargin 2018-03-19 15:25:23 -07:00 committed by GitHub
parent 8f8d9c4564
commit bbecf00615
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 3 additions and 3 deletions

View File

@ -42,9 +42,9 @@ function getServedPath(appPackageJson) {
module.exports = {
dotenv: resolveApp(".env"),
appBuild: resolveApp("build"),
appPublic: resolveApp("public"),
appHtml: resolveApp("public/index.html"),
appIndexJs: resolveApp("src/explorer/index.js"),
appPublic: resolveApp("src/plugins/artifact/editor/public"),
appHtml: resolveApp("src/plugins/artifact/editor/public/index.html"),
appIndexJs: resolveApp("src/plugins/artifact/editor/index.js"),
appPackageJson: resolveApp("package.json"),
appSrc: resolveApp("src"),
yarnLockFile: resolveApp("yarn.lock"),