Files
cloudron-box/package.json
T
Girish Ramakrishnan 875f7d6c4a Move code to use mysql
GLOB is not supported in mysql. So uses LIKE
password in users table needs 1024 (512 * 2 bytes since it's saved in hex)
    just use drop column syntax to remove private/publicPem since the code was replacing with wrong schema for password
change collation to case sensitive
foreign key size must match size http://verysimple.com/2006/10/22/mysql-error-number-1005-cant-create-table-mydbsql-328_45frm-errno-150/

Part of #195
2015-02-24 00:27:22 -08:00

92 lines
2.7 KiB
JSON

{
"name": "Cloudron",
"description": "Main code for a cloudron",
"version": "0.0.1",
"private": "true",
"author": {
"name": "Cloudron authors"
},
"repository": {
"type": "git"
},
"engines": [
"node >= 0.10.0"
],
"bin": {
"cloudron": "./server.js"
},
"dependencies": {
"async": "^0.9.0",
"body-parser": "^1.12.0",
"connect-ensure-login": "^0.1.1",
"connect-lastmile": "0.0.10",
"connect-timeout": "^1.5.0",
"cookie-parser": "^1.3.3",
"cookie-session": "^1.1.0",
"csurf": "^1.6.6",
"db-migrate": "^0.9.2",
"debug": "^2.1.1",
"dockerode": "^2.0.7",
"ejs": "^2.2.4",
"ejs-cli": "^1.0.1",
"express": "^4.11.2",
"express-session": "^1.10.2",
"json": "^9.0.3",
"memorystream": "^0.3.0",
"mime": "^1.3.4",
"morgan": "^1.5.1",
"multiparty": "^4.1.1",
"mysql": "^2.5.4",
"native-dns": "^0.7.0",
"node-uuid": "^1.4.2",
"nodejs-disks": "^0.2.1",
"nodemailer": "^1.3.0",
"nodemailer-smtp-transport": "^0.1.13",
"oauth2orize": "^1.0.1",
"once": "^1.3.1",
"passport": "^0.2.1",
"passport-http": "^0.2.2",
"passport-http-bearer": "^1.0.1",
"passport-local": "^1.0.0",
"passport-oauth2-client-password": "^0.1.2",
"password-generator": "^0.2.3",
"proxy-middleware": "^0.11.0",
"safetydance": "0.0.13",
"semver": "^4.3.0",
"serve-favicon": "^2.2.0",
"split": "^0.3.3",
"superagent": "~0.21.0",
"supererror": "^0.6.0",
"underscore": "^1.7.0",
"validator": "^3.30.0"
},
"devDependencies": {
"apidoc": "*",
"aws-sdk": "^2.1.10",
"del": "^1.1.1",
"expect.js": "*",
"gulp": "^3.8.11",
"gulp-concat": "^2.4.3",
"gulp-ejs": "^1.0.0",
"gulp-sourcemaps": "^1.3.0",
"gulp-uglify": "^1.1.0",
"hock": "~1.2.0",
"husky": "^0.6.2",
"istanbul": "*",
"mocha": "*",
"nock": "^0.59.1",
"redis": "^0.12.1",
"sinon": "^1.12.2"
},
"scripts": {
"create_testdir": "rm -rf $HOME/.cloudron_test; mkdir -p $HOME/.cloudron_test; cd $HOME/.cloudron_test; mkdir -p data/appdata data/appicons data/mail configs/nginx/cert configs/nginx/applications configs/collectd/collectd.conf.d configs/addons",
"migrate": "NODE_ENV=local DATABASE_URL=mysql://root:@localhost/box node_modules/.bin/db-migrate up",
"migrate_test": "NODE_ENV=test DATABASE_URL=mysql://root:@localhost/boxtest node_modules/.bin/db-migrate up",
"test": "scripts/checkInstall && npm run create_testdir && npm run migrate_test && NODE_ENV=test ./node_modules/istanbul/lib/cli.js test $1 ./node_modules/mocha/bin/_mocha -- -R spec ./src/test ./src/routes/test",
"postmerge": "/bin/true",
"precommit": "/bin/true",
"prepush": "npm test",
"webadmin": "node_modules/.bin/gulp"
}
}