2014-10-20 13:03:43 +02:00
|
|
|
{
|
2016-05-01 15:43:25 +02:00
|
|
|
"name": "unleash-server",
|
|
|
|
"description": "unleash your features",
|
2016-06-17 23:08:32 +02:00
|
|
|
"version": "1.0.0-alpha.2",
|
2016-05-01 15:43:25 +02:00
|
|
|
"keywords": [
|
|
|
|
"unleash",
|
|
|
|
"feature toggle",
|
|
|
|
"feature",
|
|
|
|
"toggle"
|
|
|
|
],
|
2016-06-16 17:27:13 +02:00
|
|
|
"files": [
|
|
|
|
"lib",
|
|
|
|
"migrations",
|
2016-06-17 23:05:58 +02:00
|
|
|
"scripts",
|
2016-06-16 17:27:13 +02:00
|
|
|
"public",
|
|
|
|
"app.js",
|
|
|
|
"server.js",
|
|
|
|
"server-impl.js",
|
|
|
|
"README.md",
|
|
|
|
"LICENSE"
|
|
|
|
],
|
2016-05-01 15:43:25 +02:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "ssh://git@github.com:finn-no/unleash.git"
|
|
|
|
},
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/finn-no/unleash/issues"
|
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": ">=4.4.3"
|
|
|
|
},
|
2016-06-16 17:27:13 +02:00
|
|
|
"main": "./server-impl.js",
|
2016-05-01 15:43:25 +02:00
|
|
|
"scripts": {
|
|
|
|
"db-migrate-and-start": "npm run db-migrate && npm run start",
|
2016-06-16 17:27:13 +02:00
|
|
|
"start": "npm run build && NODE_ENV=production node server.js",
|
2016-05-01 15:43:25 +02:00
|
|
|
"build": "./node_modules/.bin/webpack -p",
|
2016-06-16 17:27:13 +02:00
|
|
|
"dev": "NODE_ENV=development supervisor --ignore ./node_modules/,./public/js server-dev.js",
|
2016-05-01 15:43:25 +02:00
|
|
|
"start-pg": "pg_virtualenv npm run start-pg-chain",
|
|
|
|
"start-pg-chain": "export DATABASE_URL=postgres://$PGUSER:$PGPASSWORD@localhost:$PGPORT/postgres ; db-migrate up && npm run dev",
|
|
|
|
"test": "export PORT=4243 ; jest && npm run lint && mocha test test/*.js && npm run coverage",
|
|
|
|
"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": "node_modules/.bin/db-migrate up",
|
|
|
|
"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",
|
|
|
|
"jest": "jest",
|
2016-06-16 17:38:58 +02:00
|
|
|
"lint": "eslint . --ignore-path .gitignore",
|
|
|
|
"release:patch": "npm version patch && npm run push-package-publish",
|
|
|
|
"release:minor": "npm version minor && npm run push-package-publish",
|
|
|
|
"release:major": "npm version major && npm run push-package-publish",
|
|
|
|
"push-package-publish": "git push --follow-tags && npm publish"
|
2016-05-01 15:43:25 +02:00
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"bluebird": "2.9.14",
|
|
|
|
"body-parser": "1.15.0",
|
|
|
|
"cookie-parser": "^1.4.1",
|
|
|
|
"db-migrate": "0.9.23",
|
|
|
|
"deep-diff": "^0.3.3",
|
|
|
|
"errorhandler": "1.3.5",
|
|
|
|
"express": "4.13.4",
|
|
|
|
"express-validator": "2.20.3",
|
|
|
|
"install": "^0.6.1",
|
|
|
|
"jsx-loader": "0.12.2",
|
|
|
|
"jsxhint": "0.13.2",
|
|
|
|
"knex": "^0.10.0",
|
|
|
|
"lodash": "^3.5.0",
|
|
|
|
"log4js": "0.6.35",
|
|
|
|
"moment": "^2.13.0",
|
|
|
|
"npm": "^3.8.8",
|
|
|
|
"pg": "^4.5.5",
|
|
|
|
"react": "^0.13.1",
|
|
|
|
"react-router": "^0.13.2",
|
|
|
|
"reflux": "^0.2.10",
|
|
|
|
"reqwest": "^2.0.5",
|
|
|
|
"serve-favicon": "^2.3.0",
|
|
|
|
"webpack": "^1.13.0",
|
|
|
|
"webpack-dev-middleware": "^1.6.1"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"chai": "3.5.0",
|
|
|
|
"coveralls": "^2.11.9",
|
|
|
|
"eslint": "^2.9.0",
|
|
|
|
"eslint-config-spt": "^2.0.0",
|
|
|
|
"eslint-plugin-react": "^4.3.0",
|
|
|
|
"istanbul": "^0.4.3",
|
2016-05-01 16:25:44 +02:00
|
|
|
"jest-cli": "0.5.8",
|
2016-05-01 15:43:25 +02:00
|
|
|
"mocha": "^2.4.5",
|
|
|
|
"mocha-lcov-reporter": "1.2.0",
|
|
|
|
"nsp": "^2.3.2",
|
|
|
|
"pre-commit": "^1.0.2",
|
|
|
|
"react-tools": "^0.13.1",
|
|
|
|
"supertest": "^1.2.0",
|
2016-06-16 23:30:21 +02:00
|
|
|
"supervisor": "^0.10.0"
|
2016-05-01 15:43:25 +02:00
|
|
|
},
|
|
|
|
"jest": {
|
2016-05-01 16:28:30 +02:00
|
|
|
"scriptPreprocessor": "<rootDir>/scripts/jest-preprocessor.js",
|
2016-05-01 16:25:44 +02:00
|
|
|
"modulePathIgnorePatterns": [
|
|
|
|
"<rootDir>/node_modules/npm"
|
|
|
|
],
|
2016-05-01 15:43:25 +02:00
|
|
|
"unmockedModulePathPatterns": [
|
|
|
|
"<rootDir>/node_modules/react",
|
|
|
|
"<rootDir>/node_modules/reflux"
|
2016-06-16 17:42:00 +02:00
|
|
|
],
|
|
|
|
"moduleFileExtensions": [
|
2016-05-01 15:43:25 +02:00
|
|
|
"jsx",
|
|
|
|
"js"
|
2015-02-10 18:03:09 +01:00
|
|
|
]
|
2016-05-01 15:43:25 +02:00
|
|
|
},
|
|
|
|
"pre-commit": [
|
|
|
|
"lint"
|
|
|
|
]
|
2014-10-23 14:13:17 +02:00
|
|
|
}
|