350 open graph react #360
4 changed files with 6 additions and 5 deletions
|
@ -16,8 +16,8 @@ spee.ch is a single-serving site that reads and publishes images and videos to a
|
||||||
* run `npm install`
|
* run `npm install`
|
||||||
* create your `speechConfig.js` file
|
* create your `speechConfig.js` file
|
||||||
* copy `speechConfig.js.example` and name it `speechConfig.js`
|
* copy `speechConfig.js.example` and name it `speechConfig.js`
|
||||||
* replace the `null` values in the config file with the appropriate values for your environement
|
* replace the `null` values in the config file with the appropriate values for your environment
|
||||||
* to start the server, from your command line run `node serverBundle.js`
|
* to start the server, from your command line run `node index.js`
|
||||||
* visit [localhost:3000](http://localhost:3000)
|
* visit [localhost:3000](http://localhost:3000)
|
||||||
|
|
||||||
## Tests
|
## Tests
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "mocha --recursive",
|
"test": "mocha --recursive",
|
||||||
"test-all": "mocha --recursive",
|
"test-all": "mocha --recursive",
|
||||||
"start": "node server.js",
|
"start": "nodemon server.js",
|
||||||
"lint": "eslint .",
|
"lint": "eslint .",
|
||||||
"fix": "eslint . --fix",
|
"fix": "eslint . --fix",
|
||||||
"precommit": "eslint .",
|
"precommit": "eslint .",
|
||||||
|
@ -86,6 +86,7 @@
|
||||||
"eslint-plugin-standard": "^3.0.1",
|
"eslint-plugin-standard": "^3.0.1",
|
||||||
"husky": "^0.13.4",
|
"husky": "^0.13.4",
|
||||||
"mocha": "^4.0.1",
|
"mocha": "^4.0.1",
|
||||||
|
"nodemon": "^1.15.1",
|
||||||
"redux-devtools": "^3.4.1",
|
"redux-devtools": "^3.4.1",
|
||||||
"regenerator-transform": "^0.12.3",
|
"regenerator-transform": "^0.12.3",
|
||||||
"webpack": "^3.10.0"
|
"webpack": "^3.10.0"
|
||||||
|
|
|
@ -41,11 +41,11 @@ module.exports = [
|
||||||
__dirname: false,
|
__dirname: false,
|
||||||
},
|
},
|
||||||
externals: [nodeExternals()],
|
externals: [nodeExternals()],
|
||||||
entry : ['babel-polyfill', 'whatwg-fetch', './server.js'],
|
entry : ['babel-polyfill', 'whatwg-fetch', './index.js'],
|
||||||
output : {
|
output : {
|
||||||
path : Path.resolve(__dirname),
|
path : Path.resolve(__dirname),
|
||||||
publicPath: '/',
|
publicPath: '/',
|
||||||
filename : 'serverBundle.js',
|
filename : 'server.js',
|
||||||
},
|
},
|
||||||
watch : true,
|
watch : true,
|
||||||
module: {
|
module: {
|
||||||
|
|
Loading…
Reference in a new issue