b589a26991
postinstall script is run automatically after npm install ends. This create unnecessary confusion and we want to have more control over when exactly the migration happens
84 lines
2.4 KiB
JSON
84 lines
2.4 KiB
JSON
{
|
|
"name": "yellowtent",
|
|
"description": "Yellow tent",
|
|
"version": "0.6.0",
|
|
"private": "true",
|
|
"author": {
|
|
"name": "Yellow tent authors",
|
|
"email": "doesntexist@gmail.com"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/gramakri/yellowtent.git"
|
|
},
|
|
"engines": [
|
|
"node >= 0.10.0"
|
|
],
|
|
"bin": {
|
|
"yellowtent": "./server.js"
|
|
},
|
|
"dependencies": {
|
|
"async": "^0.6.2",
|
|
"body-parser": "1.2.0",
|
|
"commander": "^2.2.0",
|
|
"connect-ensure-login": "^0.1.1",
|
|
"connect-timeout": "1.1.0",
|
|
"cookie-parser": "1.1.0",
|
|
"csurf": "^1.6.1",
|
|
"debug": "^0.8.0",
|
|
"dockerode": "~2.0.3",
|
|
"ejs": "^1.0.0",
|
|
"encfs": "^0.1.1",
|
|
"express": "4.2.0",
|
|
"express-session": "1.1.0",
|
|
"js-yaml": "~3.2.2",
|
|
"json": "~9.0.1",
|
|
"mime": "^1.2.11",
|
|
"mkdirp": "^0.3.5",
|
|
"morgan": "1.0.1",
|
|
"multiparty": "3.2.6",
|
|
"node-uuid": "^1.4.1",
|
|
"nodejs-disks": "~0.2.1",
|
|
"oauth2orize": "^1.0.1",
|
|
"once": "^1.3.0",
|
|
"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",
|
|
"proxy-middleware": "~0.5.1",
|
|
"readdirp": "^1.0.1",
|
|
"rimraf": "^2.2.6",
|
|
"safetydance": "0.0.11",
|
|
"serve-favicon": "2.0.0",
|
|
"split": "^0.3.0",
|
|
"sqlite3": "^3.0.0",
|
|
"superagent": "^0.17.0",
|
|
"supererror": "^0.3.0",
|
|
"underscore": "~1.7.0",
|
|
"ursa": "^0.8.0",
|
|
"nodemailer-smtp-transport": "~0.1.13",
|
|
"nodemailer": "~1.3.0",
|
|
"native-dns": "~0.6.1",
|
|
"db-migrate": "~0.7.1"
|
|
},
|
|
"devDependencies": {
|
|
"apidoc": "*",
|
|
"delay": "0.0.1",
|
|
"expect.js": "*",
|
|
"hock": "~0.2.5",
|
|
"husky": "^0.5.1",
|
|
"istanbul": "*",
|
|
"mocha": "*",
|
|
"nock": "~0.43.0",
|
|
"sinon": "~1.10.3"
|
|
},
|
|
"scripts": {
|
|
"migrate": "DATABASE_URL=sqlite3:///$HOME/.yellowtent/data/cloudron.sqlite node_modules/.bin/db-migrate up",
|
|
"create_testdb": "rm -rf $HOME/.yellowtenttest/*; mkdir -p $HOME/.yellowtenttest/data && DATABASE_URL=sqlite3:///$HOME/.yellowtenttest/data/cloudron.sqlite node_modules/.bin/db-migrate up",
|
|
"test": "scripts/checkInstall.sh && npm run-script create_testdb && NODE_ENV=test ./node_modules/istanbul/lib/cli.js test $1 ./node_modules/mocha/bin/_mocha -- -R spec ./src/test ./src/routes/test",
|
|
"prepush": "npm test",
|
|
"migrate_data": "DATABASE_URL=sqlite3:///home/yellowtent/data/cloudron.sqlite db-migrate up"
|
|
}
|
|
}
|