{ "name": "unleash-server", "description": "Unleash is an enterprise ready feature toggles service. It provides different strategies for handling feature toggles.", "version": "3.0.2", "keywords": [ "unleash", "feature toggle", "feature", "toggle" ], "files": [ "lib", "docs", "bin", "migrations", "server.js", "migrator.js" ], "repository": { "type": "git", "url": "ssh://git@github.com:unleash/unleash.git" }, "bugs": { "url": "https://github.com/unleash/unleash/issues" }, "engines": { "node": ">=8" }, "license": "Apache-2.0", "main": "./lib/server-impl.js", "bin": { "unleash": "./bin/unleash.js" }, "scripts": { "start": "node server.js", "start:google": "node examples/google-auth-unleash.js", "start:dev": "NODE_ENV=development supervisor --ignore ./node_modules/ server.js", "start:dev:pg": "pg_virtualenv npm run start:dev:pg-chain", "start:dev:pg-chain": "export DATABASE_URL=postgres://$PGUSER:$PGPASSWORD@localhost:$PGPORT/postgres ; db-migrate up && npm run start:dev", "db-migrate": "db-migrate", "lint": "eslint .", "pretest": "npm run lint", "test": "NODE_ENV=test PORT=4243 ava lib/*.test.js lib/**/*.test.js lib/**/**/*.test.js lib/**/**/**/*.test.js test", "test:docker": "./scripts/docker-postgres.sh", "test:watch": "npm run test -- --watch", "test:pg-virtualenv": "pg_virtualenv npm run test:pg-virtualenv-chai", "test:pg-virtualenv-chain": "export TEST_DATABASE_URL=postgres://$PGUSER:$PGPASSWORD@localhost:$PGPORT/postgres ; npm run db-migrate-testdb && npm test", "test:coverage": "nyc npm run test", "test:coverage-report": "nyc report --reporter=text-lcov | coveralls", "precommit": "lint-staged" }, "nyc": { "all": true, "include": [ "bin/**/*.js", "lib/**/*.js" ] }, "dependencies": { "async": "^2.1.5", "commander": "^2.9.0", "cookie-parser": "^1.4.3", "cookie-session": "^2.0.0-beta.3", "db-migrate": "^0.11.1", "db-migrate-pg": "^0.4.0", "deep-diff": "^1.0.0", "errorhandler": "^1.5.0", "express": "^4.16.2", "express-validator": "^5.0.0", "gravatar": "^1.6.0", "install": "^0.11.0", "joi": "^13.0.1", "knex": "^0.14.0", "log4js": "^2.0.0", "moment": "^2.19.3", "parse-database-url": "^0.3.0", "passport": "^0.4.0", "passport-google-auth": "^1.0.2", "pg": "^7.4.0", "pkginfo": "^0.4.1", "prom-client": "^11.0.0", "prometheus-gc-stats": "^0.5.0", "response-time": "^2.3.2", "serve-favicon": "^2.3.0", "unleash-frontend": "^3.0.1", "yallist": "^3.0.2", "yargs": "^11.0.0" }, "devDependencies": { "@types/node": "^10.0.3", "ava": "^0.25.0", "coveralls": "^3.0.0", "eslint": "^4.1.1", "eslint-config-finn": "^3.0.0", "eslint-config-finn-prettier": "^3.0.0", "husky": "^0.14.1", "lint-staged": "^7.0.0", "lolex": "^2.1.2", "nyc": "^11.0.3", "prettier": "^1.8.2", "proxyquire": "^2.0.0", "superagent": "^3.8.1", "supertest": "^3.0.0", "supervisor": "^0.12.0" }, "lint-staged": { "*.js": [ "eslint --fix", "git add" ] } }