1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
unleash.unleash/packages/unleash-api/package.json
Ivar Conradi Østhus 30393f4c4d Minor cleanup after lerna migration. (#142)
* Minor cleanup after lerna migration.

- fix correct verison number (1.0.0-alpha.2)
- added missing server.js inside unleash-api

* upgrade db-migrate
2020-02-20 08:30:26 +01:00

73 lines
2.2 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.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",
"start": "node server.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 up",
"test": "export PORT=4243 ; mocha test test/*.js && npm run test:coverage",
"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 --report lcovonly -- -R spec",
"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",
"db-migrate": "0.9.25",
"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",
"supertest": "^1.2.0",
"supervisor": "^0.10.0",
"unleash-frontend": "1.0.0-alpha.2"
}
}