a5753b5e4c
* replaced () with {} to fix implicit return error * added first version of fetching generative-design examples * ignore local testing files * formatting * updated examples-gg-latest * updated examples-gg-latest.js - data files not served via rawgit - hallelujah! - added jquery * updated p5 version * refactoring and code cleanup * added comment * comment out link to svgFiles - unused * moved commented code * fixed conflicts * linted examples-gg-latest * removed console.log of response.data to prevent logging user data to console * fixed linting error * initial commit for setting up automated ml5 example fetching * rm logs from .env replaced with placeholder * added functions for retrieving all assets from examples sketches * added recursive walk through to get all directories and files * added functions t format files for making project * added full working test * added comments and formated code * added comments * set username at to of code * added process.exit() on complete * added linting and fixed errors * rm await in return * added es lint disable for reduce() * rm package-lock.json * reset package-lock.json to master * "updated .env.example with dummy logins" * updated .env.example for consistency * added p5 user checking * fixed linting issues * add webpack config to build ml5 example fetching bundle
8 lines
186 B
JavaScript
8 lines
186 B
JavaScript
require('babel-register');
|
|
require('babel-polyfill');
|
|
const dotenv = require('dotenv');
|
|
|
|
if (process.env.NODE_ENV === 'development') {
|
|
dotenv.config();
|
|
}
|
|
require('./examples-ml5.js');
|