2014-10-20 13:03:43 +02:00
|
|
|
{
|
2015-02-10 18:03:09 +01:00
|
|
|
"name": "unleash-server",
|
|
|
|
"description": "unleash your features",
|
2015-03-23 18:08:56 +01:00
|
|
|
"version": "0.1.0",
|
2015-02-10 18:03:09 +01:00
|
|
|
"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": {
|
|
|
|
"start": "NODE_ENV=production node server.js",
|
|
|
|
"build": "./node_modules/.bin/webpack",
|
|
|
|
"dev": "NODE_ENV=development supervisor --ignore ./node_modules/,./public/js server.js",
|
2015-03-24 08:48:36 +01:00
|
|
|
"test": "export PORT=4243 ; jest && npm run lint && mocha test test/*.js && npm run coverage",
|
2015-02-10 18:03:09 +01:00
|
|
|
"docker-test": "export PORT=4243 ; ./scripts/docker-postgres.sh",
|
|
|
|
"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",
|
|
|
|
"tdd": "mocha --watch test test/*",
|
|
|
|
"test-bamboo-ci": "mocha test test/*",
|
|
|
|
"coverage": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec",
|
|
|
|
"coverage-report": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
|
|
|
|
"postinstall": "npm run build",
|
2015-02-12 10:53:06 +01:00
|
|
|
"jest": "jest",
|
|
|
|
"lint": "jshint server.js lib test && jsxhint public/js/**/*.jsx"
|
2015-02-10 18:03:09 +01:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2015-03-23 18:18:32 +01:00
|
|
|
"bluebird": "2.9.14",
|
|
|
|
"body-parser": "1.12.2",
|
2015-02-10 18:03:09 +01:00
|
|
|
"cookie-parser": "^1.3.3",
|
2015-03-23 18:56:08 +01:00
|
|
|
"db-migrate": "0.9.11",
|
2015-02-10 18:03:09 +01:00
|
|
|
"deep-diff": "^0.3.0",
|
2015-03-23 18:18:32 +01:00
|
|
|
"errorhandler": "1.3.5",
|
|
|
|
"express": "4.12.3",
|
2015-03-23 18:26:25 +01:00
|
|
|
"express-validator": "2.9.0",
|
2015-03-23 21:30:30 +01:00
|
|
|
"ini": "1.3.3",
|
2015-02-10 18:03:09 +01:00
|
|
|
"jsx-loader": "0.12.2",
|
2015-03-23 18:26:25 +01:00
|
|
|
"jsxhint": "0.13.2",
|
2015-02-10 18:03:09 +01:00
|
|
|
"knex": "^0.7.3",
|
2015-03-17 18:16:06 +01:00
|
|
|
"lodash": "^3.5.0",
|
2015-03-23 18:18:32 +01:00
|
|
|
"log4js": "0.6.22",
|
2015-02-10 18:03:09 +01:00
|
|
|
"moment": "^2.9.0",
|
2015-03-23 18:18:32 +01:00
|
|
|
"nconf": "0.7.1",
|
2015-03-23 18:56:08 +01:00
|
|
|
"pg": "4.3.0",
|
2015-03-23 21:33:18 +01:00
|
|
|
"react": "^0.13.1",
|
2015-03-24 21:25:32 +01:00
|
|
|
"react-router": "^0.13.2",
|
2015-03-02 21:48:42 +01:00
|
|
|
"reflux": "^0.2.5",
|
2015-02-10 18:03:09 +01:00
|
|
|
"reqwest": "^1.1.4",
|
2015-03-23 18:18:32 +01:00
|
|
|
"webpack": "1.7.3",
|
2015-02-10 18:03:09 +01:00
|
|
|
"webpack-dev-middleware": "^1.0.11"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
2015-03-23 21:30:30 +01:00
|
|
|
"chai": "2.1.2",
|
2015-02-10 18:03:09 +01:00
|
|
|
"coveralls": "^2.11.2",
|
|
|
|
"istanbul": "^0.3.5",
|
2015-03-23 18:26:25 +01:00
|
|
|
"jest-cli": "0.4.0",
|
2015-02-10 18:03:09 +01:00
|
|
|
"jshint": "^2.6.0",
|
|
|
|
"mocha": "^2.1.0",
|
2015-03-23 18:26:25 +01:00
|
|
|
"mocha-lcov-reporter": "0.0.2",
|
2015-02-12 10:53:06 +01:00
|
|
|
"nsp": "^1.0.0",
|
2015-02-10 18:03:09 +01:00
|
|
|
"pre-commit": "^1.0.2",
|
2015-03-23 21:33:18 +01:00
|
|
|
"react-tools": "^0.13.1",
|
2015-02-10 18:03:09 +01:00
|
|
|
"supertest": "^0.15.0",
|
|
|
|
"supervisor": "^0.6.0",
|
|
|
|
"xmlbuilder": "^2.5.1"
|
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"scriptPreprocessor": "<rootDir>/jest-preprocessor.js",
|
|
|
|
"unmockedModulePathPatterns": [
|
2015-03-23 17:35:58 +01:00
|
|
|
"<rootDir>/node_modules/react",
|
|
|
|
"<rootDir>/node_modules/reflux"
|
2014-10-23 13:54:19 +02:00
|
|
|
],
|
2015-02-10 18:03:09 +01:00
|
|
|
"moduleFileExtensions": [
|
|
|
|
"jsx",
|
|
|
|
"js"
|
|
|
|
]
|
|
|
|
}
|
2014-10-23 14:13:17 +02:00
|
|
|
}
|