remove unused index.html, move example fetch to own folder
This commit is contained in:
parent
2fe11eb707
commit
752b804c55
6 changed files with 8 additions and 25 deletions
17
index.html
17
index.html
|
@ -1,17 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="keywords" content="p5.js, p5.js web editor, web editor, processing, code editor" />
|
||||
<meta name="description" content="A web editor for sketching using p5.js library." />
|
||||
<title>p5.js Web Editor</title>
|
||||
<link href='https://fonts.googleapis.com/css?family=Inconsolata' rel='stylesheet' type='text/css'>
|
||||
<link href='https://fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css'>
|
||||
</head>
|
||||
<body>
|
||||
<div id="root" class="root-app">
|
||||
</div>
|
||||
<script src="/dist/vendor.js"></script>
|
||||
<script src="/dist/app.js"></script>
|
||||
</body>
|
||||
</html>
|
|
@ -12,8 +12,8 @@
|
|||
"build:client": "cross-env NODE_ENV=production webpack --config webpack.config.prod.js --progress",
|
||||
"build:server": "cross-env NODE_ENV=production webpack --config webpack.config.server.js --progress",
|
||||
"test": "npm run lint",
|
||||
"fetch-examples": "node fetch-examples.js",
|
||||
"fetch-examples-gg": "node fetch-examples-gg.js"
|
||||
"fetch-examples": "node server/scripts/fetch-examples.js",
|
||||
"fetch-examples-gg": "node server/scripts/fetch-examples-gg.js"
|
||||
},
|
||||
"main": "index.js",
|
||||
"author": "Cassie Tarakajian",
|
||||
|
|
|
@ -5,8 +5,8 @@ import objectID from 'bson-objectid';
|
|||
import shortid from 'shortid';
|
||||
|
||||
import eachSeries from 'async/eachSeries';
|
||||
import User from './models/user';
|
||||
import Project from './models/project';
|
||||
import User from '../models/user';
|
||||
import Project from '../models/project';
|
||||
|
||||
// TODO: change to true when testing!
|
||||
const testMake = false;
|
|
@ -4,8 +4,8 @@ import mongoose from 'mongoose';
|
|||
import objectID from 'bson-objectid';
|
||||
import shortid from 'shortid';
|
||||
import eachSeries from 'async/eachSeries';
|
||||
import User from './models/user';
|
||||
import Project from './models/project';
|
||||
import User from '../models/user';
|
||||
import Project from '../models/project';
|
||||
|
||||
const defaultHTML =
|
||||
`<!DOCTYPE html>
|
|
@ -1,4 +1,4 @@
|
|||
require('babel-register');
|
||||
require('babel-polyfill');
|
||||
require('dotenv').config();
|
||||
require('./server/examples-gg-latest.js');
|
||||
require('./examples-gg-latest.js');
|
|
@ -1,4 +1,4 @@
|
|||
require('babel-register');
|
||||
require('babel-polyfill');
|
||||
require('dotenv').config();
|
||||
require('./server/examples.js');
|
||||
require('./examples.js');
|
Loading…
Reference in a new issue