cozy-proxy
Version:
Cozy Proxy redirects requests properly to the right application of the Cozy platform depending on given path. It also handles authentication to the Cozy for users and devices.
79 lines (78 loc) • 2.6 kB
JSON
{
"name": "cozy-proxy",
"version": "2.5.6",
"author": "Cozy Cloud <contact@cozycloud.cc> (http://cozycloud.cc)",
"license": "AGPL-3.0",
"repository": {
"type": "git",
"url": "https://github.com/cozy/cozy-proxy.git"
},
"engines": [
"node >= 0.8.0"
],
"main": "build/server.js",
"dependencies": {
"americano": "0.4.5",
"async": "1.5.2",
"cookie-parser": "1.4.1",
"cookie-session": "1.2.0",
"cozy-url-sdk": "1.0.2",
"cozydb": "0.1.10",
"graceful-fs": "4.1.3",
"http-proxy": "1.13.2",
"locale": "0.0.21",
"lockedpath": "0.1.1",
"node-polyglot": "2.0.0",
"passport": "0.3.2",
"passport-local": "1.0.0",
"passport-hotp": "0.0.1",
"passport-totp": "0.0.2",
"printit": "0.1.18",
"pug-runtime": "2.0.0",
"randomstring": "1.1.4",
"request-json": "0.5.5",
"send": "0.13.2"
},
"devDependencies": {
"chai": "3.5.0",
"coffee-coverage": "1.0.1",
"coffee-script": "1.10.0",
"coffeelint": "1.15.0",
"jade": "1.11.0",
"jade2commonjs": "cozy/jade2commonjs",
"mocha": "2.4.5",
"nock": "8.0.0",
"nodemon": "1.9.1",
"npm-run-all": "1.7.0",
"webpack": "1.12.15",
"xmlhttprequest": "1.8.0"
},
"contributors": [
"Zoe Bellot",
"Romain Foucault",
"Frank Rousseau",
"Joseph Silvestre"
],
"scripts": {
"build": "npm-run-all --parallel 'build:*'",
"build:server": "coffee -cb --output build/server server && coffee -cb --output build/ server.coffee",
"build:client": "cd client && env OPTIMIZE=true webpack",
"build:views": "jade2commonjs --no-debug --out build/server/views --ignore '**/_*.jade' server/views",
"clean": "rm -rf build",
"copy:locales": "mkdir -p build/server/locales && cp -r server/locales/*.json build/server/locales/",
"lint": "coffeelint -f coffeelint.json --quiet -r server server.coffee -r client/app",
"prebuild": "npm-run-all clean tx lint",
"prebuild:client": "cd client && npm update",
"prewatch:client": "npm run prebuild:client",
"postbuild": "npm-run-all --parallel copy:*",
"postinstall": "node postinstall.js",
"start": "node build/server.js",
"test": "npm run test:server",
"test:build": "env USE_JS=true npm run test",
"test:server": "env NODE_ENV=test PORT=4444 mocha --reporter spec --compilers coffee:coffee-script/register",
"tx": "tx pull --all || true",
"watch": "npm-run-all --parallel 'watch:*'",
"watch:client": "cd client && webpack --display-modules --display-chunks --watch",
"watch:server": "coffee server.coffee"
}
}