02e9927714
Limitations as of this commit: - tlsOptions can only be specified in config.json, not as env vars - authentication failures are not yet gracefully handled by the UI - instead the error message is shown on a blank page (/auth/ldap) - no email address is associated with the LDAP user's account - no picture/profile URL is associated with the LDAP user's account - we might have to generate our own access + refresh tokens, because we aren't using oauth. The currently generated tokens are just a placeholder. - 'LDAP Sign in' needs to be translated to each locale
163 lines
4.7 KiB
JSON
163 lines
4.7 KiB
JSON
{
|
|
"name": "hackmd",
|
|
"version": "0.4.5",
|
|
"description": "Realtime collaborative markdown notes on all platforms.",
|
|
"main": "app.js",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"build:dev": "webpack --config webpack.config.js --progress --colors --watch",
|
|
"build:prod": "webpack --config webpack.production.js --progress --colors",
|
|
"postinstall": "bin/heroku",
|
|
"start": "node app.js"
|
|
},
|
|
"dependencies": {
|
|
"Idle.Js": "github:shawnmclean/Idle.js",
|
|
"async": "^2.0.1",
|
|
"aws-sdk": "^2.7.0",
|
|
"blueimp-md5": "^2.4.0",
|
|
"body-parser": "^1.15.2",
|
|
"bootstrap": "^3.3.7",
|
|
"bootstrap-validator": "^0.11.5",
|
|
"chance": "^1.0.4",
|
|
"cheerio": "^0.22.0",
|
|
"codemirror": "git+https://github.com/hackmdio/CodeMirror.git",
|
|
"compression": "^1.6.2",
|
|
"connect-flash": "^0.1.1",
|
|
"connect-session-sequelize": "^3.2.0",
|
|
"cookie": "0.3.1",
|
|
"cookie-parser": "1.4.3",
|
|
"diff-match-patch": "git+https://github.com/hackmdio/diff-match-patch.git",
|
|
"ejs": "^2.5.2",
|
|
"engine.io-client": "^1.7.0",
|
|
"emojify.js": "~1.1.0",
|
|
"express": ">=4.14",
|
|
"express-session": "^1.14.1",
|
|
"file-saver": "^1.3.3",
|
|
"flowchart.js": "^1.6.3",
|
|
"font-awesome": "^4.7.0",
|
|
"formidable": "^1.0.17",
|
|
"gist-embed": "~2.6.0",
|
|
"handlebars": "^4.0.5",
|
|
"helmet": "^2.3.0",
|
|
"highlight.js": "~9.7.0",
|
|
"i18n": "^0.8.3",
|
|
"imgur": "git+https://github.com/hackmdio/node-imgur.git",
|
|
"ionicons": "~2.0.1",
|
|
"jquery": "^3.1.1",
|
|
"jquery-mousewheel": "^3.1.13",
|
|
"jquery-textcomplete": "^1.7.3",
|
|
"jquery-ui": "^1.12.1",
|
|
"js-cookie": "^2.1.3",
|
|
"js-sequence-diagrams": "^1000000.0.6",
|
|
"js-url": "^2.3.0",
|
|
"jsdom-nogyp": "^0.8.3",
|
|
"keymaster": "^1.6.2",
|
|
"list.js": "^1.2.0",
|
|
"list.pagination.js": "^0.1.1",
|
|
"lodash": "^4.16.4",
|
|
"lz-string": "1.4.4",
|
|
"markdown-it": "^8.0.0",
|
|
"markdown-it-abbr": "^1.0.4",
|
|
"markdown-it-container": "^2.0.0",
|
|
"markdown-it-deflist": "^2.0.1",
|
|
"markdown-it-emoji": "^1.3.0",
|
|
"markdown-it-footnote": "^3.0.1",
|
|
"markdown-it-imsize": "^2.0.1",
|
|
"markdown-it-ins": "^2.0.0",
|
|
"markdown-it-mark": "^2.0.0",
|
|
"markdown-it-mathjax": "^1.0.3",
|
|
"markdown-it-regexp": "^0.4.0",
|
|
"markdown-it-sub": "^1.0.0",
|
|
"markdown-it-sup": "^1.0.0",
|
|
"markdown-pdf": "^7.0.0",
|
|
"mathjax": "~2.7.0",
|
|
"mermaid": "~6.0.0",
|
|
"meta-marked": "^0.4.2",
|
|
"method-override": "^2.3.6",
|
|
"moment": "^2.15.1",
|
|
"morgan": "^1.7.0",
|
|
"mysql": "^2.11.1",
|
|
"node-uuid": "^1.4.7",
|
|
"octicons": "~3.5.0",
|
|
"passport": "^0.3.2",
|
|
"passport-dropbox-oauth2": "^1.1.0",
|
|
"passport-facebook": "^2.1.1",
|
|
"passport-github": "^1.1.0",
|
|
"passport-gitlab2": "^2.2.0",
|
|
"passport-google-oauth20": "^1.0.0",
|
|
"passport-ldapauth": "^0.6.0",
|
|
"passport-local": "^1.0.0",
|
|
"passport-twitter": "^1.0.4",
|
|
"passport.socketio": "^3.6.2",
|
|
"pdfobject": "^2.0.201604172",
|
|
"pg": "^6.1.0",
|
|
"pg-hstore": "^2.3.2",
|
|
"prismjs": "^1.5.1",
|
|
"randomcolor": "^0.4.4",
|
|
"raphael": "github:dmitrybaranovskiy/raphael",
|
|
"request": "^2.75.0",
|
|
"reveal.js": "^3.3.0",
|
|
"sequelize": "^3.24.3",
|
|
"scrypt": "^6.0.3",
|
|
"select2": "^3.5.2-browserify",
|
|
"sequelize-cli": "^2.4.0",
|
|
"shortid": "2.2.6",
|
|
"socket.io": "~1.6.0",
|
|
"socket.io-client": "~1.6.0",
|
|
"spin.js": "^2.3.2",
|
|
"sqlite3": "^3.1.6",
|
|
"store": "^1.3.20",
|
|
"string": "^3.3.1",
|
|
"tedious": "^1.14.0",
|
|
"to-markdown": "^3.0.1",
|
|
"toobusy-js": "^0.5.1",
|
|
"uws": "^0.11.0",
|
|
"validator": "^6.2.0",
|
|
"velocity-animate": "^1.3.1",
|
|
"visibilityjs": "^1.2.4",
|
|
"viz.js": "^1.3.0",
|
|
"winston": "^2.2.0",
|
|
"xss": "^0.2.13"
|
|
},
|
|
"engines": {
|
|
"node": ">=4.x"
|
|
},
|
|
"bugs": "https://github.com/hackmdio/hackmd/issues",
|
|
"keywords": [
|
|
"Collaborative",
|
|
"Markdown",
|
|
"Notes"
|
|
],
|
|
"homepage": "https://hackmd.io",
|
|
"maintainers": [
|
|
{
|
|
"name": "Max Wu",
|
|
"email": "jackymaxj@gmail.com"
|
|
}
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/hackmdio/hackmd.git"
|
|
},
|
|
"devDependencies": {
|
|
"babel-core": "^6.17.0",
|
|
"babel-loader": "^6.2.5",
|
|
"copy-webpack-plugin": "^4.0.1",
|
|
"css-loader": "^0.25.0",
|
|
"ejs-loader": "^0.3.0",
|
|
"exports-loader": "^0.6.3",
|
|
"expose-loader": "^0.7.1",
|
|
"extract-text-webpack-plugin": "^1.0.1",
|
|
"file-loader": "^0.9.0",
|
|
"html-webpack-plugin": "^2.22.0",
|
|
"imports-loader": "^0.6.5",
|
|
"json-loader": "^0.5.4",
|
|
"less": "^2.7.1",
|
|
"less-loader": "^2.2.3",
|
|
"optimize-css-assets-webpack-plugin": "^1.3.0",
|
|
"script-loader": "^0.7.0",
|
|
"style-loader": "^0.13.1",
|
|
"url-loader": "^0.5.7",
|
|
"webpack": "^1.13.2"
|
|
}
|
|
}
|