gotsentimental
Advanced tools
Comparing version 0.0.2 to 0.0.3
"use strict"; | ||
const fs = require('fs'), | ||
path = require('path'), | ||
debug = require('../core/debug')('core/config', true); | ||
const cfgPath = path.resolve(__dirname, '../defaults.json'); | ||
// read config | ||
var cfg; | ||
try { | ||
cfg = JSON.parse(fs.readFileSync('defaults.json', 'utf8')); | ||
cfg = JSON.parse(fs.readFileSync(cfgPath, 'utf8')); | ||
} catch (e) { | ||
@@ -11,0 +14,0 @@ if (e.code === 'ENOENT') { |
@@ -6,2 +6,3 @@ "use strict"; | ||
debug = require('./core/debug')('main', true), | ||
asset = require('./core/asset'), | ||
got = require('./crawler/got'), | ||
@@ -84,2 +85,5 @@ mobile = require('./crawler/mobile'), | ||
pkg.css = asset('public/chart.css'); | ||
pkg.js = asset('public/chart.js'); | ||
/* | ||
@@ -86,0 +90,0 @@ (function test() { |
{ | ||
"name": "gotsentimental", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "GoT Twitter Sentiment Analysis", | ||
@@ -8,4 +8,3 @@ "main": "index.js", | ||
"test": "gulp test", | ||
"hookup": "gulp hook", | ||
"start": "node app.js" | ||
"hookup": "gulp hook" | ||
}, | ||
@@ -31,6 +30,3 @@ "repository": { | ||
"dependencies": { | ||
"Sentimental": "^1.0.1", | ||
"agentkeepalive": "^2.0.5", | ||
"express": "^4.13.4", | ||
"express-handlebars": "^3.0.0", | ||
"mongoose": "^4.4.6", | ||
@@ -37,0 +33,0 @@ "request": "^2.69.0", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
237808
7
30
2070
2
- RemovedSentimental@^1.0.1
- Removedexpress@^4.13.4
- Removedexpress-handlebars@^3.0.0
- RemovedSentimental@1.0.1(transitive)
- Removedaccepts@1.3.8(transitive)
- Removedarray-flatten@1.1.1(transitive)
- Removedasap@2.0.6(transitive)
- Removedbalanced-match@1.0.2(transitive)
- Removedbody-parser@1.20.3(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedbytes@3.1.2(transitive)
- Removedcall-bind@1.0.7(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedcontent-disposition@0.5.4(transitive)
- Removedcontent-type@1.0.5(transitive)
- Removedcookie@0.7.1(transitive)
- Removedcookie-signature@1.0.6(transitive)
- Removeddefine-data-property@1.1.4(transitive)
- Removeddefine-properties@1.2.1(transitive)
- Removeddepd@2.0.0(transitive)
- Removeddestroy@1.2.0(transitive)
- Removedee-first@1.1.1(transitive)
- Removedencodeurl@1.0.22.0.0(transitive)
- Removedes-define-property@1.0.0(transitive)
- Removedes-errors@1.3.0(transitive)
- Removedescape-html@1.0.3(transitive)
- Removedetag@1.8.1(transitive)
- Removedexpress@4.21.1(transitive)
- Removedexpress-handlebars@3.1.0(transitive)
- Removedfinalhandler@1.3.1(transitive)
- Removedforwarded@0.2.0(transitive)
- Removedfresh@0.5.2(transitive)
- Removedfs.realpath@1.0.0(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedget-intrinsic@1.2.4(transitive)
- Removedglob@7.2.3(transitive)
- Removedgopd@1.0.1(transitive)
- Removedgraceful-fs@4.2.11(transitive)
- Removedhandlebars@4.7.8(transitive)
- Removedhas-property-descriptors@1.0.2(transitive)
- Removedhas-proto@1.0.3(transitive)
- Removedhas-symbols@1.0.3(transitive)
- Removedhasown@2.0.2(transitive)
- Removedhttp-errors@2.0.0(transitive)
- Removediconv-lite@0.4.24(transitive)
- Removedinflight@1.0.6(transitive)
- Removedipaddr.js@1.9.1(transitive)
- Removedmedia-typer@0.3.0(transitive)
- Removedmerge-descriptors@1.0.3(transitive)
- Removedmethods@1.1.2(transitive)
- Removedminimatch@3.1.2(transitive)
- Removedminimist@1.2.8(transitive)
- Removedms@2.1.3(transitive)
- Removednegotiator@0.6.3(transitive)
- Removedneo-async@2.6.2(transitive)
- Removedobject-inspect@1.13.3(transitive)
- Removedobject-keys@1.1.1(transitive)
- Removedobject.assign@4.1.5(transitive)
- Removedon-finished@2.4.1(transitive)
- Removedonce@1.4.0(transitive)
- Removedparseurl@1.3.3(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedpath-to-regexp@0.1.10(transitive)
- Removedpromise@8.3.0(transitive)
- Removedproxy-addr@2.0.7(transitive)
- Removedqs@6.13.0(transitive)
- Removedrange-parser@1.2.1(transitive)
- Removedraw-body@2.5.2(transitive)
- Removedsend@0.19.0(transitive)
- Removedserve-static@1.16.2(transitive)
- Removedset-function-length@1.2.2(transitive)
- Removedsetprototypeof@1.2.0(transitive)
- Removedside-channel@1.0.6(transitive)
- Removedsource-map@0.6.1(transitive)
- Removedstatuses@2.0.1(transitive)
- Removedtoidentifier@1.0.1(transitive)
- Removedtype-is@1.6.18(transitive)
- Removeduglify-js@3.19.3(transitive)
- Removedunpipe@1.0.0(transitive)
- Removedutils-merge@1.0.1(transitive)
- Removedvary@1.1.2(transitive)
- Removedwordwrap@1.0.0(transitive)
- Removedwrappy@1.0.2(transitive)