|
|
@ -4,8 +4,9 @@ |
|
|
|
"private": true, |
|
|
|
"private": true, |
|
|
|
"scripts": { |
|
|
|
"scripts": { |
|
|
|
"start": "forever -c node app.js", |
|
|
|
"start": "forever -c node app.js", |
|
|
|
"test": "./node_modules/.bin/eslint .", |
|
|
|
"build": "./node_modules/.bin/tsc -p .", |
|
|
|
"tslint": "./node_modules/.bin/tslint --project tsconfig.json --type-check --force" |
|
|
|
"pretest": "./node_modules/.bin/tsc -p . --noEmit", |
|
|
|
|
|
|
|
"test": "./node_modules/.bin/tslint --project tsconfig.json --type-check" |
|
|
|
}, |
|
|
|
}, |
|
|
|
"dependencies": { |
|
|
|
"dependencies": { |
|
|
|
"archiver": "^1.3.0", |
|
|
|
"archiver": "^1.3.0", |
|
|
@ -16,7 +17,7 @@ |
|
|
|
"eslint": "^3.12.2", |
|
|
|
"eslint": "^3.12.2", |
|
|
|
"express": "4.14.0", |
|
|
|
"express": "4.14.0", |
|
|
|
"fs-extra": "^1.0.0", |
|
|
|
"fs-extra": "^1.0.0", |
|
|
|
"github": "~7.1.0", |
|
|
|
"github": "~9.0.0", |
|
|
|
"glob": "~7.1.1", |
|
|
|
"glob": "~7.1.1", |
|
|
|
"graceful-fs": "^4.1.11", |
|
|
|
"graceful-fs": "^4.1.11", |
|
|
|
"jade": "*", |
|
|
|
"jade": "*", |
|
|
@ -25,7 +26,6 @@ |
|
|
|
"morgan": "^1.7.0", |
|
|
|
"morgan": "^1.7.0", |
|
|
|
"mustache": "~2.3.0", |
|
|
|
"mustache": "~2.3.0", |
|
|
|
"nodegit": "~0.16.0", |
|
|
|
"nodegit": "~0.16.0", |
|
|
|
"nodemailer": "~2.7.0", |
|
|
|
|
|
|
|
"recursive-tree-copy": "0.0.1", |
|
|
|
"recursive-tree-copy": "0.0.1", |
|
|
|
"serve-favicon": "^2.3.2", |
|
|
|
"serve-favicon": "^2.3.2", |
|
|
|
"serve-static": "^1.11.1", |
|
|
|
"serve-static": "^1.11.1", |
|
|
@ -33,106 +33,24 @@ |
|
|
|
"uglify-js": "^2.7.5", |
|
|
|
"uglify-js": "^2.7.5", |
|
|
|
"underscore": "^1.8.3" |
|
|
|
"underscore": "^1.8.3" |
|
|
|
}, |
|
|
|
}, |
|
|
|
"eslintConfig": { |
|
|
|
|
|
|
|
"env": { |
|
|
|
|
|
|
|
"node": true |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
"parserOptions": { |
|
|
|
|
|
|
|
"ecmaVersion": 6 |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
"plugins": [ |
|
|
|
|
|
|
|
"fp" |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
"extends": [ |
|
|
|
|
|
|
|
"eslint:all", |
|
|
|
|
|
|
|
"plugin:fp/recommended" |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
"rules": { |
|
|
|
|
|
|
|
"fp/no-unused-expression": "off", |
|
|
|
|
|
|
|
"fp/no-nil": "off", |
|
|
|
|
|
|
|
"fp/no-mutation": [ |
|
|
|
|
|
|
|
"error", |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
"commonjs": true |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
"prefer-destructuring": "off", |
|
|
|
|
|
|
|
"quotes": [ |
|
|
|
|
|
|
|
"warn", |
|
|
|
|
|
|
|
"double" |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
"require-jsdoc": "off", |
|
|
|
|
|
|
|
"func-names": [ |
|
|
|
|
|
|
|
"warn", |
|
|
|
|
|
|
|
"never" |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
"max-len": [ |
|
|
|
|
|
|
|
"warn", |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
"code": 140 |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
"operator-linebreak": [ |
|
|
|
|
|
|
|
"warn", |
|
|
|
|
|
|
|
"before" |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
"padded-blocks": [ |
|
|
|
|
|
|
|
"warn", |
|
|
|
|
|
|
|
"never" |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
"dot-notation": [ |
|
|
|
|
|
|
|
"warn", |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
"allowPattern": "^[a-z]+(_[a-z]+)+$" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
"linebreak-style": [ |
|
|
|
|
|
|
|
"warn", |
|
|
|
|
|
|
|
"windows" |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
"no-console": "off", |
|
|
|
|
|
|
|
"dot-location": [ |
|
|
|
|
|
|
|
"warn", |
|
|
|
|
|
|
|
"property" |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
"object-curly-spacing": [ |
|
|
|
|
|
|
|
"warn", |
|
|
|
|
|
|
|
"always" |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
"one-var": [ |
|
|
|
|
|
|
|
"warn", |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
"initialized": "never" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
"no-magic-numbers": [ |
|
|
|
|
|
|
|
"warn", |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
"ignore": [ |
|
|
|
|
|
|
|
0, |
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
"id-length": [ |
|
|
|
|
|
|
|
"warn", |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
"exceptions": [ |
|
|
|
|
|
|
|
"_" |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
"no-extra-parens": [ |
|
|
|
|
|
|
|
"warn", |
|
|
|
|
|
|
|
"all", |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
"nestedBinaryExpressions": false |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
"devDependencies": { |
|
|
|
"devDependencies": { |
|
|
|
|
|
|
|
"@types/archiver": "^0.15.37", |
|
|
|
|
|
|
|
"@types/async": "^2.0.38", |
|
|
|
|
|
|
|
"@types/body-parser": "0.0.34", |
|
|
|
|
|
|
|
"@types/errorhandler": "0.0.30", |
|
|
|
|
|
|
|
"@types/express": "^4.0.35", |
|
|
|
|
|
|
|
"@types/fs-extra": "0.0.37", |
|
|
|
|
|
|
|
"@types/github": "0.0.0", |
|
|
|
|
|
|
|
"@types/glob": "^5.0.30", |
|
|
|
|
|
|
|
"@types/jade": "0.0.30", |
|
|
|
|
|
|
|
"@types/method-override": "0.0.29", |
|
|
|
|
|
|
|
"@types/morgan": "^1.7.32", |
|
|
|
|
|
|
|
"@types/mustache": "^0.8.29", |
|
|
|
"@types/node": "^7.0.5", |
|
|
|
"@types/node": "^7.0.5", |
|
|
|
|
|
|
|
"@types/serve-favicon": "^2.2.28", |
|
|
|
|
|
|
|
"@types/serve-static": "^1.7.31", |
|
|
|
|
|
|
|
"@types/uglify-js": "^2.6.28", |
|
|
|
|
|
|
|
"@types/underscore": "^1.7.36", |
|
|
|
"tslint": "^4.4.2", |
|
|
|
"tslint": "^4.4.2", |
|
|
|
"typescript": "^2.2.1" |
|
|
|
"typescript": "^2.2.1" |
|
|
|
} |
|
|
|
} |
|
|
|