-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
118 lines (118 loc) · 3.5 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"name": "foil",
"version": "1.0.0",
"description": "map of foil data points",
"main": "index.js",
"scripts": {
"help": "node server/loaderRunner.js",
"server": "npm start",
"server:help": "npm run help",
"load:help": "npm run help",
"load:db": "node server/loaderRunner.js load:db",
"load:csv": "node server/loaderRunner.js load:csv",
"load:pre:solr": "node --max-old-space-size=4096 server/loaderRunner.js load:pre:solr",
"load:solr": "curl http://ec2-52-90-1-20.compute-1.amazonaws.com:8983/solr/cluster_points/update?commit=true --data-binary @server/solr/tmp/centroided_solr_docs.csv -H 'Content-type:text/csv; charset=utf-8'",
"prestart": "gulp build",
"start": "node server/index.js start"
},
"author": "jeremy wells",
"license": "ISC",
"dependencies": {
"angular": "^1.4.8",
"angular-ui-bootstrap": "^0.14.3",
"angular-ui-router": "^0.2.15",
"body-parser": "^1.14.2",
"compression": "^1.6.1",
"core-util-is": "^1.0.2",
"curlrequest": "^0.5.7",
"express": "^4.13.4",
"express-router": "0.0.1",
"geo-hash": "0.0.2",
"http-post": "^0.1.1",
"lodash": "^3.10.1",
"moment": "^2.11.1",
"mysql": "mysqljs/mysql",
"node-serialize": "0.0.4",
"q": "^1.4.1",
"request": "^2.69.0",
"rxjs": "^5.0.0-beta.3"
},
"devDependencies": {
"babel-preset-es2015": "^6.3.13",
"babelify": "^7.2.0",
"del": "^2.2.0",
"gulp": "^3.9.0",
"gulp-babel": "^6.1.1",
"gulp-browserify": "^0.5.1",
"gulp-concat": "^2.6.0",
"gulp-if": "^2.0.0",
"gulp-nodemon": "^1.0.5",
"gulp-plumber": "^1.0.1",
"gulp-rename": "^1.2.2",
"gulp-uglify": "^1.5.1",
"gulp-watch": "^4.3.5",
"gulp-webserver": "^0.9.1",
"polygon-centroid": "^1.0.0"
},
"config": {
"server": {
"protocol": "http",
"host": "localhost",
"port": "8080"
},
"db": {
"user": {
"name": "geospatial",
"password": "ubuntu_dev_geospatial"
},
"address": "mysql-v5-7-11-geospatial.cavvhba9tzng.us-east-1.rds.amazonaws.com",
"port": "3306",
"name": "geospatial",
"connectionLimit": "20",
"connectTimeout": "10000"
},
"inputHttpData": {
"host": "raw.githubusercontent.com",
"path": "/fivethirtyeight/uber-tlc-foil-response/master/uber-trip-data/uber-raw-data-apr14.csv"
},
"solrServer": {
"hostname": "ec2-52-90-1-20.compute-1.amazonaws.com",
"port": "8983",
"collection": "cluster_points"
},
"solrDeletePoints": {
"path": "/solr/%s/update?wt=json&stream.body=<delete><query>*:*</query></delete>&commit=true"
},
"solrSelectPoints": {
"method": "POST",
"path": "/solr/%s/query",
"headers": {
"Content-Type": "application/json"
}
},
"solrUpdatePointsCSV": {
"method": "post",
"path": "/solr/%s/update?commit=true",
"filename": "server/solr/tmp/centroided_solr_docs.csv",
"headers": {
"Transfer-Encoding": "chunked",
"Content-Type": "text/plain; charset=utf-8"
}
},
"solrUpdatePointsJSON": {
"method": "post",
"path": "/solr/%s/update?commit=true",
"headers": {
"Content-Type": "application/json"
}
},
"centroidedSolrDocsCSVPath": "server/solr/tmp/centroided_solr_docs.csv",
"inputDataFilePath": "server/data/tmp/uber_raw_data_apr14",
"polygonStyle": {
"strokeColor": "gray",
"strokeWeight": 1,
"fillColor": "lightblue",
"opacity": 0.7
}
}
}