mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
146 lines
3.7 KiB
JSON
146 lines
3.7 KiB
JSON
{
|
|
"name": "unleash-server",
|
|
"description": "Unleash is an enterprise ready feature toggles service. It provides different strategies for handling feature toggles.",
|
|
"version": "3.2.22",
|
|
"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/,website 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",
|
|
"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"
|
|
},
|
|
"nyc": {
|
|
"all": true,
|
|
"include": [
|
|
"bin/**/*.js",
|
|
"lib/**/*.js"
|
|
]
|
|
},
|
|
"ava": {
|
|
"helpers": [
|
|
"**/helpers/**/*",
|
|
"**/fixtures/**/*"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"async": "^3.1.0",
|
|
"compression": "^1.7.3",
|
|
"cookie-parser": "^1.4.4",
|
|
"cookie-session": "^2.0.0-beta.3",
|
|
"db-migrate": "^0.11.6",
|
|
"db-migrate-pg": "^1.0.0",
|
|
"deep-diff": "^1.0.2",
|
|
"errorhandler": "^1.5.1",
|
|
"express": "^4.17.1",
|
|
"gravatar": "^1.8.0",
|
|
"@hapi/joi": "^16.1.8",
|
|
"js-yaml": "^3.12.2",
|
|
"knex": "^0.20.0",
|
|
"log4js": "^6.0.0",
|
|
"mime": "^2.4.2",
|
|
"moment": "^2.24.0",
|
|
"multer": "^1.4.1",
|
|
"parse-database-url": "^0.3.0",
|
|
"pg": "^7.12.1",
|
|
"pkginfo": "^0.4.1",
|
|
"prom-client": "^11.2.1",
|
|
"prometheus-gc-stats": "^0.6.1",
|
|
"response-time": "^2.3.2",
|
|
"serve-favicon": "^2.5.0",
|
|
"unleash-frontend": "3.2.10",
|
|
"yargs": "^15.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@passport-next/passport": "^3.0.1",
|
|
"@passport-next/passport-google-oauth2": "^1.0.0",
|
|
"@types/node": "^12.12.11",
|
|
"ava": "^2.4.0",
|
|
"coveralls": "^3.0.6",
|
|
"eslint": "^6.5.1",
|
|
"eslint-config-finn": "^3.0.1",
|
|
"eslint-config-finn-prettier": "^3.0.2",
|
|
"husky": "^3.0.8",
|
|
"lint-staged": "^9.4.1",
|
|
"lolex": "^5.0.0",
|
|
"nyc": "^15.0.0",
|
|
"passport": "^0.4.0",
|
|
"passport-google-auth": "^1.0.2",
|
|
"prettier": "^1.18.2",
|
|
"proxyquire": "^2.1.3",
|
|
"superagent": "^5.1.0",
|
|
"supertest": "^4.0.2",
|
|
"supervisor": "^0.12.0"
|
|
},
|
|
"resolutions": {
|
|
"set-value": "^2.0.1"
|
|
},
|
|
"lint-staged": {
|
|
"*.js": [
|
|
"eslint --fix",
|
|
"git add"
|
|
],
|
|
"*.{json,css,md}": [
|
|
"prettier --write",
|
|
"git add"
|
|
]
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"prettier": {
|
|
"proseWrap": "never",
|
|
"singleQuote": true,
|
|
"tabWidth": 4,
|
|
"trailingComma": "all",
|
|
"overrides": [
|
|
{
|
|
"files": "*.{json,yaml,yml,md}",
|
|
"options": {
|
|
"tabWidth": 2
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|