1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

Fixed placeholder for favicon.ico

This commit is contained in:
Ivar 2016-05-01 15:43:25 +02:00 committed by Ivar Conradi Østhus
parent d781d7c50b
commit 29a7cc0049
3 changed files with 102 additions and 96 deletions

3
app.js
View File

@ -1,4 +1,5 @@
var express = require('express');
var favicon = require('serve-favicon');
var bodyParser = require('body-parser');
var cookieParser = require('cookie-parser');
var log4js = require('log4js');
@ -24,6 +25,8 @@ if (app.get('env') === 'development') {
app.use(baseUriPath, webpackDevMiddleware(compiler, config));
}
app.use(favicon(__dirname + '/public/favicon.ico'));
app.use(validator([]));
app.set('trust proxy');

View File

@ -1,99 +1,102 @@
{
"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"
},
"engines" : {
"node" : ">=4.4.3"
},
"private": true,
"scripts": {
"db-migrate-and-start": "npm run db-migrate && npm run start",
"start": "NODE_ENV=production node server.js",
"build": "./node_modules/.bin/webpack -p",
"dev": "NODE_ENV=development supervisor --ignore ./node_modules/,./public/js server.js",
"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",
"postinstall": "npm run build",
"jest": "jest",
"lint": "eslint . --ignore-path .gitignore"
},
"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",
"ini": "1.3.4",
"jsx-loader": "0.12.2",
"jsxhint": "0.13.2",
"knex": "^0.11.0",
"lodash": "^3.5.0",
"log4js": "0.6.35",
"moment": "^2.13.0",
"nconf": "0.8.4",
"pg": "^4.5.5",
"react": "^0.13.1",
"react-router": "^0.13.2",
"reflux": "^0.2.10",
"reqwest": "^2.0.5",
"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",
"jest-cli": "0.5.4",
"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",
"supervisor": "^0.10.0",
"xmlbuilder": "^8.2.2"
},
"jest": {
"scriptPreprocessor": "<rootDir>/jest-preprocessor.js",
"unmockedModulePathPatterns": [
"<rootDir>/node_modules/react",
"<rootDir>/node_modules/reflux"
],
"moduleFileExtensions": [
"jsx",
"js"
]
},
"pre-commit": [
"lint"
"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"
},
"engines": {
"node": ">=4.4.3"
},
"private": true,
"scripts": {
"db-migrate-and-start": "npm run db-migrate && npm run start",
"start": "NODE_ENV=production node server.js",
"build": "./node_modules/.bin/webpack -p",
"dev": "NODE_ENV=development supervisor --ignore ./node_modules/,./public/js server.js",
"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",
"postinstall": "npm run build",
"jest": "jest",
"lint": "eslint . --ignore-path .gitignore"
},
"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",
"ini": "1.3.4",
"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",
"nconf": "0.8.4",
"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",
"jest-cli": "0.5.4",
"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",
"supervisor": "^0.10.0",
"xmlbuilder": "^8.2.2"
},
"jest": {
"scriptPreprocessor": "<rootDir>/jest-preprocessor.js",
"unmockedModulePathPatterns": [
"<rootDir>/node_modules/react",
"<rootDir>/node_modules/reflux"
],
"moduleFileExtensions": [
"jsx",
"js"
]
},
"pre-commit": [
"lint"
]
}

BIN
public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB