/
package.json
177 lines (177 loc) · 10.2 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
{
"name": "joola",
"preferGlobal": true,
"version": "0.8.18",
"author": "Joola <info@joo.la>",
"description": "Custom data analytics solution built for today's market needs and scale.",
"private": false,
"repository": {
"type": "git",
"url": "http://github.com/joola/joola.git"
},
"bugs": "http://github.com/joola/joola/issues",
"contributors": [
{
"name": "Itay Weinberger",
"email": "itay@joo.la",
"url": "http://joo.la"
},
{
"name": "Or Weinberger",
"email": "or@joo.la",
"url": "http://joo.la"
}
],
"scripts": {
"start": "node ./joola.js --debug",
"start:detached": "node ./joola.js --debug &",
"start:watch": "watch 'node ./joola.js --trace' --wait=1",
"stop": "killall node",
"test": "JOOLA_CONFIG_STORE_LOGGER_CONSOLE_LEVEL=trace NODE_CONFIG_DIR=$(pwd)/test/config mocha test/ --reporter spec",
"test:scenario": "npm run pretest && npm run test:scenario:standalone && npm run test:scenario:mongodb && npm run test:scenario:elasticsearch && npm run test:scenario:cluster_node",
"test:scenario:standalone": "NODE_CONFIG_DIR=$(pwd)/test/config NODE_ENV=standalone npm run test:quiet",
"test:scenario:mongodb": "NODE_CONFIG_DIR=$(pwd)/test/config NODE_ENV=mongodb npm run test:quiet",
"test:scenario:elasticsearch": "NODE_CONFIG_DIR=$(pwd)/test/config NODE_ENV=elasticsearch npm run test:quiet",
"test:scenario:zookeeper": "NODE_CONFIG_DIR=$(pwd)/test/config NODE_ENV=zookeeper npm run test:quiet",
"test:scenario:cluster_node": "NODE_CONFIG_DIR=$(pwd)/test/config NODE_ENV=cluster_node npm run test:quiet",
"test:scenario:coverage": "npm run pretest && npm run test:scenario:standalone:coverage && npm run test:scenario:mongodb:coverage && npm run test:scenario:elasticsearch:coverage && npm run test:scenario:cluster_node:coverage && npm run aggregatecoverage",
"test:scenario:standalone:coverage": "redis-cli flushall && JOOLA_CONFIG_STORE_LOGGER_CONSOLE_LEVEL=error NODE_CONFIG_DIR=$(pwd)/test/config NODE_ENV=standalone istanbul cover --dir ./coverage/scenario_standalone ./node_modules/.bin/_mocha -- -R dot test",
"test:scenario:mongodb:coverage": "redis-cli flushall && JOOLA_CONFIG_STORE_LOGGER_CONSOLE_LEVEL=error NODE_CONFIG_DIR=$(pwd)/test/config NODE_ENV=mongodb istanbul cover --dir ./coverage/scenario_mongodb ./node_modules/.bin/_mocha -- -R dot test",
"test:scenario:elasticsearch:coverage": "redis-cli flushall && JOOLA_CONFIG_STORE_LOGGER_CONSOLE_LEVEL=error NODE_CONFIG_DIR=$(pwd)/test/config NODE_ENV=elasticsearch istanbul cover --dir ./coverage/scenario_elasticsearch ./node_modules/.bin/_mocha -- -R dot test",
"test:scenario:zookeeper:coverage": "redis-cli flushall && JOOLA_CONFIG_STORE_LOGGER_CONSOLE_LEVEL=error NODE_CONFIG_DIR=$(pwd)/test/config NODE_ENV=zookeeper istanbul cover --dir ./coverage/scenario_zookeeper ./node_modules/.bin/_mocha -- -R dot test",
"test:scenario:cluster_node:coverage": "redis-cli flushall && JOOLA_CONFIG_STORE_LOGGER_CONSOLE_LEVEL=error NODE_CONFIG_DIR=$(pwd)/test/config NODE_ENV=cluster_node istanbul cover --dir ./coverage/scenario_cluster_node ./node_modules/.bin/_mocha -- -R dot test",
"pretest": "npm run lint",
"test:coverage": "redis-cli flushall && JOOLA_CONFIG_STORE_LOGGER_CONSOLE_LEVEL=error NODE_CONFIG_DIR=$(pwd)/test/config NODE_ENV=coverage istanbul cover ./node_modules/.bin/_mocha -- -R dot test",
"test:quiet": "JOOLA_CONFIG_STORE_LOGGER_CONSOLE_LEVEL=error mocha test/ -b --reporter dot",
"test:md": "JOOLA_CONFIG_STORE_LOGGER_CONSOLE_LEVEL=error mocha test/ --reporter markdown",
"test:api": "(killall node || true) && redis-cli flushall && NODE_CONFIG_DIR=$(pwd)/test/config NODE_ENV=apiary npm run start:detached && sleep 2 && dredd ./apiary.apib http://localhost:8080",
"preinstall": "(build/scripts/preinstall.sh || true)",
"postinstall": "(build/scripts/postinstall.sh || true)",
"prepublish": "npm shrinkwrap",
"postpublish": "rm npm-shrinkwrap.json",
"publish:patch": "npm run prepublish && npm version patch --git-tag-version=false --sign-git-tag=true -m \"Version bumped to %s\" && npm run publish:do",
"publish:minor": "npm run prepublish && npm version minor --git-tag-version=false --sign-git-tag=true -m \"Version bumped to %s\" && npm run publish:do",
"publish:major": "npm run prepublish && npm version major --git-tag-version=false --sign-git-tag=true -m \"Version bumped to %s\" && npm run publish:do",
"docker:build": "npm run git:check && git checkout docker/latest && (git merge develop || true) && git checkout --ours -- README.md && git add --force -- README.md && (git commit -am \"Merge develop branch on docker/lastest\" || true) && docker build -t joola/joola . && git checkout develop",
"docker:publish": "npm run git:check && git checkout docker/latest && docker push joola/joola:latest & git checkout develop",
"vagrant:build": "",
"vagrant:deploy": "",
"vagrant:publish": "",
"gh-pages": "npm run gh-pages:init && npm run gh-pages:docs && npm run gh-pages:site && npm run gh-pages:git",
"gh-pages:init": "npm run git:check",
"gh-pages:docs": "npm run gh-pages:docs:cleanup:before && npm run gh-pages:docs:gollum-site && npm run gh-pages:docs:cleanup:after",
"gh-pages:docs:cleanup:before": "rm -rf ./pages/docs/*",
"gh-pages:docs:cleanup:after": "rm -rf ./tmp",
"gh-pages:docs:gollum-site": "npm run gh-pages:docs:gollum-site:init && npm run gh-pages:docs:gollum-site:build && npm run gh-pages:docs:gollum-site:refactor",
"gh-pages:docs:gollum-site:init": "mkdir -p ./tmp/wiki && cp -R ./wiki/* ./tmp/wiki && cp -R ./build/pages/resources/gollum-site/* ./tmp/wiki",
"gh-pages:docs:gollum-site:build": "cp -R ./wiki/* ./pages/docs",
"gh-pages:docs:gollum-site:build.bak": "cd ./tmp/wiki && git init && gollum-site generate --output_path=../../pages/docs --base_path /docs/ --working",
"gh-pages:docs:gollum-site:refactor": "mv ./pages/docs/Home.md ./pages/docs/index.md",
"gh-pages:site": "npm run gh-pages:site:cleanup:before && npm run gh-pages:site:jekyll && npm run gh-pages:site:cleanup:after",
"gh-pages:site:cleanup:before": "rm -rf ./about ./blog ./css ./docs ./demo ./fonts ./gettingstarted ./services ./img ./javascripts ./news ./stylesheets ./feed.xml ./index.html ./params.json",
"gh-pages:site:cleanup:after": "npm run gh-pages:site:cleanup:before",
"gh-pages:site:jekyll": "npm run gh-pages:site:jekyll:init && npm run gh-pages:site:jekyll:build && npm run gh-pages:site:jekyll:search-index",
"gh-pages:site:jekyll:init": "cp -R ./build/pages/resources/jekyll/* ./pages",
"gh-pages:site:jekyll:build": "cd ./pages && jekyll build",
"gh-pages:site:jekyll:search-index": "node ./build/pages/build_search_index.js && cp ./pages/docs/search_index.json ./pages/_site/docs/search_index.json",
"gh-pages:git": "npm run gh-pages:git:branch-and-prep && npm run gh-pages:git:shape&& npm run gh-pages:git:commit && echo npm run gh-pages:git:push",
"gh-pages:git:branch-and-prep": "(git branch -qD gh-pages || true) && git checkout --orphan gh-pages && git rm -rf --cached . && cp -R ./build/pages/resources/.gitignore ./.gitignore",
"gh-pages:git:shape": "mv ./pages/_site/* . && rm -rf ./pages/_site",
"gh-pages:git:commit": "git add . && git commit -am \"updated gh-pages.\"",
"gh-pages:git:push": "git push -f origin gh-pages",
"git:commit": "git commit",
"git:push": "git push",
"git:check": "count=$(expr $(git status --porcelain 2>/dev/null | egrep \"^(M| M)\" | wc -l)) && if [ $count -ne 0 ]; then echo Git repository is dirty [$count change\\(s\\) found].; exit 1; fi; exit 0",
"changelist": "github-changes -o joola -r joola --token 864b65f829914e80f16c41d3cb70ad0841344329 --only-pulls --use-commit-body --file HISTORY.md",
"lint": "jshint --exclude ./lib/webserver/public ./lib ./test",
"coveralls": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"codeclimate": "CODECLIMATE_REPO_TOKEN=b0cf984d93693c3e827901f766ca1f13b6acca03a3786b5e187356e66e8ffbec codeclimate-test-reporter < ./coverage/lcov.info",
"env": "env",
"aggregatecoverage": "node ./build/coverage/aggregate.js"
},
"bin": {
"joola": "./joola.js"
},
"main": "./joola.js",
"keywords": [
"data",
"analytics",
"big-data",
"visualization",
"nosql",
"cluster",
"mongodb",
"elasticsearch",
"realtime",
"chart",
"graph"
],
"dependencies": {
"async": "^1.5.0",
"body-parser": "^1.14.2",
"bunyan": "^1.5.1",
"bunyan-format": "^0.2.1",
"bunyan-loggly": "^0.0.5",
"circular-json": "~0.1.6",
"cloneextend": "0.0.3",
"coffee-script": "^1.10.0",
"compression": "^1.6.0",
"config": "1.12.0",
"connect": "^3.4.0",
"connect-restreamer": "^1.0.3",
"deep-diff": "^0.3.3",
"deep-equal": "^1.0.1",
"describe-json": "^0.0.6",
"eventemitter2": "*",
"express": "^4.13.3",
"geoip-lite": "^1.1.6",
"hiredis": "^0.4.1",
"htpasswd": "^2.2.1",
"joola.datastore-devnull": "^0.0.2",
"joola.datastore-elasticsearch": "^0.1.3",
"joola.datastore-embedded": "^0.0.3",
"joola.datastore-mongodb": "^0.0.15",
"joola.sdk": "^0.8.10",
"js-yaml": "^3.4.6",
"json-prune": "^1.0.1",
"kindof": "^1.0.0",
"localeval": "^15.2.3",
"node-zookeeper-client": "^0.2.2",
"notevil": "^1.0.0",
"punt": "^2.3.0",
"redis": "^0.12.0",
"repl.history": "^0.1.3",
"semver": "^4.3.6",
"socket.io": "^1.3.7",
"socket.io-client": "^1.3.7",
"socket.io-redis": "^0.1.3",
"stomp": "https://github.com/joola/stomp-js/tarball/master",
"traverse": "http://registry.npmjs.org/traverse/-/traverse-0.6.6.tgz",
"underscore": "^1.8.3"
},
"devDependencies": {
"bench-rest": "latest",
"chai": "latest",
"cheerio": "latest",
"codeclimate-test-reporter": "latest",
"coveralls": "latest",
"istanbul": "latest",
"jsdox": "https://github.com/joola/jsdox/tarball/master",
"jshint": "latest",
"mkdirp": "latest",
"mocha": "latest",
"dredd": "latest",
"request": "latest",
"sleep": "latest",
"should": "latest",
"sinon": "latest",
"sinon-chai": "latest",
"socket.io-browserify": "latest",
"watch": "latest",
"github-changes": "latest"
},
"engines": {
"node": "0.12.*"
},
"license": "GPL-3.0"
}