Skip to content

Instantly share code, notes, and snippets.

@bveliqi
Created January 4, 2018 10:51
Show Gist options
  • Save bveliqi/f9c05d47450d4303ea18d95dd3585fb6 to your computer and use it in GitHub Desktop.
Save bveliqi/f9c05d47450d4303ea18d95dd3585fb6 to your computer and use it in GitHub Desktop.
{
"name": "twitter-data-collector",
"version": "0.0.1",
"description": "a software to collect data from twitter",
"main": "index.js",
"bin": "./build/bundle.js",
"license": "MIT",
"scripts": {
"build": "npm run clean:build && npm run build:webpack && pkg ./build/bundle.js -t node8-linux-x64 -o build/twitter --debug",
"build:webpack": "webpack --config webpack.config.js --output-filename build/bundle.js",
"prod": "./build/twitter",
"start": "run-p -r start:db start:dev",
"start:dev": "nodemon index.js",
"start:db": "npm run check:docker && docker run -p 27017:27017 -v \"$(pwd)\"/local-mongodb:/data/db -i mongo:3.0.15-wheezy",
"install": "run-p install:db",
"install:db": "npm run check:docker && docker pull mongo:3.0.15-wheezy",
"clean": "run-p clean:db clean:js clean:build",
"clean:build": "rimraf build",
"clean:db": "sudo rimraf ./local-mongodb && mkdir ./local-mongodb && touch ./local-mongodb/.gitkeep",
"clean:js": "rimraf node_modules",
"check:docker": "../../scripts/check-command.sh docker",
"check:pm2": "../../scripts/check-command.sh pm2",
"check:pkg": "../../scripts/check-command.sh pkg",
"test": "mocha"
},
"pkg": {
"scripts": "./build/bundle.js"
},
"dependencies": {
"fs-extra": "^5.0.0",
"lodash": "^4.17.4",
"mongodb": "^2.2.33",
"request": "^2.83.0",
"request-promise-native": "^1.0.5",
"tcomb": "^3.2.24",
"twit": "^2.2.9",
"yarn": "^1.3.2"
},
"devDependencies": {
"chai": "^4.1.2",
"mocha": "^4.0.1",
"nodemon": "^1.14.7",
"npm-run-all": "^4.1.2",
"pkg": "^4.3.0-beta.5",
"proxyquire": "^1.8.0",
"rimraf": "^2.6.2",
"webpack": "^3.10.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment