1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/package.json
Ivar Conradi Østhus 98dcba0ba6 Move to react-router.
Replaced our home built tab-view with the react-router. This
makes routing super simple for us.

https://github.com/rackt/react-router/

relates to #95
2020-02-20 08:30:23 +01:00

88 lines
2.7 KiB
JSON

{
"name": "unleash-server",
"description": "unleash your features",
"version": "0.1.0",
"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",
"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-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",
"jest": "jest",
"lint": "jshint server.js lib test && jsxhint public/js/**/*.jsx"
},
"dependencies": {
"bluebird": "2.9.14",
"body-parser": "1.12.2",
"cookie-parser": "^1.3.3",
"db-migrate": "0.9.11",
"deep-diff": "^0.3.0",
"errorhandler": "1.3.5",
"express": "4.12.3",
"express-validator": "2.9.0",
"ini": "1.3.3",
"jsx-loader": "0.12.2",
"jsxhint": "0.13.2",
"knex": "^0.7.3",
"lodash": "^3.5.0",
"log4js": "0.6.22",
"moment": "^2.9.0",
"nconf": "0.7.1",
"pg": "4.3.0",
"react": "^0.13.1",
"react-router": "^0.13.2",
"reflux": "^0.2.5",
"reqwest": "^1.1.4",
"webpack": "1.7.3",
"webpack-dev-middleware": "^1.0.11"
},
"devDependencies": {
"chai": "2.1.2",
"coveralls": "^2.11.2",
"istanbul": "^0.3.5",
"jest-cli": "0.4.0",
"jshint": "^2.6.0",
"mocha": "^2.1.0",
"mocha-lcov-reporter": "0.0.2",
"nsp": "^1.0.0",
"pre-commit": "^1.0.2",
"react-tools": "^0.13.1",
"supertest": "^0.15.0",
"supervisor": "^0.6.0",
"xmlbuilder": "^2.5.1"
},
"jest": {
"scriptPreprocessor": "<rootDir>/jest-preprocessor.js",
"unmockedModulePathPatterns": [
"<rootDir>/node_modules/react",
"<rootDir>/node_modules/reflux"
],
"moduleFileExtensions": [
"jsx",
"js"
]
}
}