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"
|
|
|
|
},
|
2016-09-10 10:30:50 +02:00
|
|
|
"license": "Apache-2.0",
|
2016-06-18 09:19:57 +02:00
|
|
|
"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-09-29 18:10:23 +02:00
|
|
|
"db-migrate:down": "db-migrate down",
|
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": {
|
2016-09-10 10:30:50 +02:00
|
|
|
"body-parser": "1.15.2",
|
2016-06-18 09:19:57 +02:00
|
|
|
"cookie-parser": "^1.4.1",
|
2016-09-29 18:10:23 +02:00
|
|
|
"db-migrate": "0.10.0-beta.17",
|
|
|
|
"db-migrate-pg": "0.1.10",
|
2016-06-18 09:19:57 +02:00
|
|
|
"deep-diff": "^0.3.3",
|
2016-09-10 10:30:50 +02:00
|
|
|
"errorhandler": "^1.4.3",
|
2016-09-10 10:18:45 +02:00
|
|
|
"express": "4.14.0",
|
2016-09-10 10:11:18 +02:00
|
|
|
"express-validator": "2.20.8",
|
2016-09-10 10:30:50 +02:00
|
|
|
"install": "^0.8.1",
|
2016-09-10 10:35:35 +02:00
|
|
|
"knex": "^0.11.10",
|
2016-09-10 10:30:50 +02:00
|
|
|
"log4js": "^0.6.38",
|
2016-11-04 16:16:55 +01:00
|
|
|
"moment": "^2.15.2",
|
2016-09-10 10:35:35 +02:00
|
|
|
"pg": "^6.1.0",
|
2016-11-04 16:16:55 +01:00
|
|
|
"serve-favicon": "^2.3.0",
|
|
|
|
"yallist": "^2.0.0"
|
2016-06-18 09:19:57 +02:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2016-11-05 15:08:00 +01:00
|
|
|
"bluebird": "^3.4.6",
|
2016-09-10 10:30:50 +02:00
|
|
|
"coveralls": "^2.11.12",
|
|
|
|
"istanbul": "^0.4.5",
|
|
|
|
"mocha": "^3.0.2",
|
2016-06-18 09:19:57 +02:00
|
|
|
"mocha-lcov-reporter": "1.2.0",
|
2016-08-23 01:29:47 +02:00
|
|
|
"sinon": "^1.17.5",
|
2016-09-10 10:30:50 +02:00
|
|
|
"supertest": "^2.0.0",
|
|
|
|
"supervisor": "^0.11.0",
|
2016-06-18 21:24:01 +02:00
|
|
|
"unleash-frontend": "1.0.0-alpha.2"
|
2016-06-18 09:19:57 +02:00
|
|
|
}
|
|
|
|
}
|