1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/packages/unleash-api/package.json
2020-02-20 08:30:28 +01:00

74 lines
2.3 KiB
JSON

{
"name": "unleash-api",
"description": "unleash your features",
"version": "1.0.0-alpha.2",
"keywords": [
"unleash",
"feature toggle",
"feature",
"toggle"
],
"files": [
"lib",
"migrations",
"public",
"app.js",
"server-impl.js",
"README.md",
"LICENSE"
],
"repository": {
"type": "git",
"url": "ssh://git@github.com:finn-no/unleash.git"
},
"bugs": {
"url": "https://github.com/finn-no/unleash/issues"
},
"engines": {
"node": "6"
},
"license": "Apache-2.0",
"main": "./server-impl.js",
"scripts": {
"db-migrate-and-start": "npm run db-migrate && npm run start",
"start": "node dev-server.js",
"start:dev": "NODE_ENV=development supervisor --ignore ./node_modules/ dev-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 up",
"test": "export PORT=4243 ; mocha test/**/*.js && npm run test:coverage",
"test:unit": "mocha test/unit/**/*.js ",
"test:ci": "npm run db-migrate && npm run test",
"test:watch": "mocha --watch test test/*",
"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": "istanbul cover ./node_modules/mocha/bin/_mocha test/**/*.js --report lcovonly -- -R spec",
"test:coverage-report": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"
},
"dependencies": {
"bluebird": "^3.4.6",
"body-parser": "1.15.2",
"cookie-parser": "^1.4.1",
"db-migrate": "0.9.25",
"deep-diff": "^0.3.3",
"errorhandler": "^1.4.3",
"express": "4.14.0",
"express-validator": "2.20.8",
"install": "^0.8.1",
"knex": "^0.11.10",
"log4js": "^0.6.38",
"pg": "^6.1.0",
"serve-favicon": "^2.3.0"
},
"devDependencies": {
"coveralls": "^2.11.12",
"istanbul": "^0.4.5",
"mocha": "^3.0.2",
"mocha-lcov-reporter": "1.2.0",
"sinon": "^1.17.5",
"supertest": "^2.0.0",
"supervisor": "^0.11.0",
"unleash-frontend": "1.0.0-alpha.2"
}
}