2014-10-20 13:03:43 +02:00
|
|
|
{
|
2014-10-23 13:54:19 +02:00
|
|
|
"name": "unleash-server",
|
|
|
|
"description": "unleash your features",
|
|
|
|
"version": "0.0.1",
|
|
|
|
"keywords": [
|
|
|
|
"unleash",
|
|
|
|
"feature toggle",
|
|
|
|
"feature",
|
|
|
|
"toggle"
|
|
|
|
],
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "ssh://git@github.com:finn-no/unleash.git"
|
|
|
|
},
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/finn-no/unleash/issues"
|
|
|
|
},
|
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
2014-10-30 16:56:34 +01:00
|
|
|
"start": "NODE_ENV=production node server.js",
|
|
|
|
"build": "./node_modules/.bin/webpack",
|
|
|
|
"dev": "NODE_ENV=development supervisor --ignore ./node_modules/,./public/js server.js",
|
2014-12-11 08:19:31 +01:00
|
|
|
"test": "export PORT=4243 ; jest && jshint server.js lib test && jsxhint public/js/**/*.jsx && mocha test test/*.js && npm run coverage",
|
2014-12-09 16:36:27 +01:00
|
|
|
"docker-test": "export PORT=4243 ; ./scripts/docker-postgres.sh",
|
2014-12-15 07:53:10 +01:00
|
|
|
"pg-virtualenv-test": "pg_virtualenv npm run pg-virtualenv-chain",
|
|
|
|
"pg-virtualenv-chain": "export TEST_DATABASE_URL=postgres://$PGUSER:$PGPASSWORD@localhost:$PGPORT/postgres ; npm run db-migrate-testdb ; npm test",
|
|
|
|
"db-migrate-testdb": "DATABASE_URL=$TEST_DATABASE_URL ./node_modules/.bin/db-migrate up",
|
2014-10-23 13:54:19 +02:00
|
|
|
"tdd": "mocha --watch test test/*",
|
2014-10-24 13:54:13 +02:00
|
|
|
"test-bamboo-ci": "mocha test test/*",
|
2014-10-27 13:34:52 +01:00
|
|
|
"coverage": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec",
|
2014-11-06 21:26:55 +01:00
|
|
|
"coverage-report": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
|
2014-12-03 15:03:08 +01:00
|
|
|
"postinstall": "npm run build",
|
|
|
|
"jest": "jest"
|
2014-10-23 13:54:19 +02:00
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"bluebird": "2.2.2",
|
|
|
|
"body-parser": "1.4.3",
|
2014-10-24 13:54:13 +02:00
|
|
|
"db-migrate": "0.7.1",
|
2014-10-23 13:54:19 +02:00
|
|
|
"errorhandler": "1.1.1",
|
|
|
|
"express": "4.9.8",
|
|
|
|
"express-validator": "2.6.0",
|
|
|
|
"ini": "1.3.0",
|
2014-12-10 10:09:28 +01:00
|
|
|
"jsx-loader": "0.12.2",
|
2014-11-14 15:06:53 +01:00
|
|
|
"jsxhint": "0.4.15",
|
|
|
|
"knex": "^0.7.3",
|
2014-10-23 13:54:19 +02:00
|
|
|
"log4js": "0.6.21",
|
|
|
|
"nconf": "0.6.9",
|
2014-11-14 15:06:53 +01:00
|
|
|
"pg": "3.6.1",
|
2014-11-06 21:26:55 +01:00
|
|
|
"react": "^0.12.0",
|
|
|
|
"reqwest": "^1.1.4",
|
|
|
|
"webpack": "^1.4.9",
|
2014-11-14 15:06:53 +01:00
|
|
|
"webpack-dev-middleware": "^1.0.11"
|
2014-10-23 13:54:19 +02:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"chai": "1.9.1",
|
2014-10-24 13:54:13 +02:00
|
|
|
"coveralls": "^2.11.2",
|
|
|
|
"istanbul": "0.3.2",
|
2014-12-03 15:03:08 +01:00
|
|
|
"jest-cli": "^0.1.18",
|
2014-10-23 13:54:19 +02:00
|
|
|
"jshint": "2.5.2",
|
|
|
|
"mocha": "1.20.1",
|
2014-10-24 13:54:13 +02:00
|
|
|
"mocha-lcov-reporter": "0.0.1",
|
2014-11-05 16:04:09 +01:00
|
|
|
"pre-commit": "0.0.9",
|
2014-12-03 15:03:08 +01:00
|
|
|
"react-tools": "^0.12.0",
|
2014-10-23 13:54:19 +02:00
|
|
|
"supertest": "0.13.0",
|
2014-10-24 13:54:13 +02:00
|
|
|
"supervisor": "0.6.0",
|
|
|
|
"xmlbuilder": "2.4.4"
|
2014-12-03 15:03:08 +01:00
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"scriptPreprocessor": "<rootDir>/jest-preprocessor.js",
|
|
|
|
"unmockedModulePathPatterns": ["<rootDir>/node_modules/react"],
|
|
|
|
"moduleFileExtensions": ["jsx", "js"]
|
2014-10-23 13:54:19 +02:00
|
|
|
}
|
2014-10-23 14:13:17 +02:00
|
|
|
}
|