Files
cloudron-box/package.json
T
Girish Ramakrishnan 7f8fb44795 Cleanup migration scripts
Rationale for setupTest: migration scripts are are meant to add one time entries
and schema changes and not for 'updated' values 'updated' values belong in setup
script because migration scrips are only run once
2015-02-25 11:41:05 -08:00

91 lines
2.5 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": {
"migrate_local": "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": "npm run migrate_test && scripts/setupTest && 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"
}
}