2016-06-18 09:19:57 +02:00
|
|
|
{
|
|
|
|
"name": "unleash-api",
|
|
|
|
"description": "unleash your features",
|
2016-06-18 21:24:01 +02:00
|
|
|
"version": "1.0.0-alpha.2",
|
2016-06-18 09:19:57 +02:00
|
|
|
"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"
|
|
|
|
},
|
|
|
|
"main": "./server-impl.js",
|
|
|
|
"scripts": {
|
|
|
|
"db-migrate-and-start": "npm run db-migrate && npm run start",
|
2016-06-19 10:54:05 +02:00
|
|
|
"start": "node dev-server.js",
|
|
|
|
"start:dev": "NODE_ENV=development supervisor --ignore ./node_modules/ dev-server.js",
|
2016-06-18 09:19:57 +02:00
|
|
|
"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",
|
2016-08-23 01:29:47 +02:00
|
|
|
"test": "export PORT=4243 ; mocha test/**/*.js && npm run test:coverage",
|
2016-09-05 16:50:52 +02:00
|
|
|
"test:unit": "mocha test/unit/**/*.js ",
|
2016-06-18 09:19:57 +02:00
|
|
|
"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",
|
2016-08-23 01:29:47 +02:00
|
|
|
"test:coverage": "istanbul cover ./node_modules/mocha/bin/_mocha test/**/*.js --report lcovonly -- -R spec",
|
2016-06-18 09:19:57 +02:00
|
|
|
"test:coverage-report": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"bluebird": "2.9.14",
|
|
|
|
"body-parser": "1.15.0",
|
|
|
|
"cookie-parser": "^1.4.1",
|
2016-06-18 21:24:01 +02:00
|
|
|
"db-migrate": "0.9.25",
|
2016-06-18 09:19:57 +02:00
|
|
|
"deep-diff": "^0.3.3",
|
|
|
|
"errorhandler": "1.3.5",
|
|
|
|
"express": "4.13.4",
|
|
|
|
"express-validator": "2.20.3",
|
|
|
|
"install": "^0.6.1",
|
|
|
|
"knex": "^0.10.0",
|
|
|
|
"log4js": "0.6.35",
|
|
|
|
"pg": "^4.5.5",
|
|
|
|
"serve-favicon": "^2.3.0"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"chai": "3.5.0",
|
|
|
|
"coveralls": "^2.11.9",
|
|
|
|
"istanbul": "^0.4.3",
|
|
|
|
"mocha": "^2.4.5",
|
|
|
|
"mocha-lcov-reporter": "1.2.0",
|
2016-08-23 01:29:47 +02:00
|
|
|
"sinon": "^1.17.5",
|
2016-06-18 09:19:57 +02:00
|
|
|
"supertest": "^1.2.0",
|
2016-06-18 21:24:01 +02:00
|
|
|
"supervisor": "^0.10.0",
|
|
|
|
"unleash-frontend": "1.0.0-alpha.2"
|
2016-06-18 09:19:57 +02:00
|
|
|
}
|
|
|
|
}
|