summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--package.json122
1 files changed, 55 insertions, 67 deletions
diff --git a/package.json b/package.json
index f0781c2a..2cc9415a 100644
--- a/package.json
+++ b/package.json
@@ -1,24 +1,26 @@
{
"name": "CodiMD",
- "version": "1.2.0",
+ "version": "1.2.1",
"description": "Realtime collaborative markdown notes on all platforms.",
"main": "app.js",
"license": "AGPL-3.0",
"scripts": {
- "test": "npm run-script standard && npm run-script jsonlint",
+ "test": "npm run-script eslint && npm run-script jsonlint",
+ "eslint": "node_modules/.bin/eslint lib public app.js",
"jsonlint": "find . -not -path './node_modules/*' -type f -name '*.json' -o -type f -name '*.json.example' | while read json; do echo $json ; jq . $json; done",
- "standard": "node ./node_modules/standard/bin/cmd.js",
- "dev": "webpack --config webpack.config.js --progress --colors --watch",
- "build": "webpack --config webpack.production.js --progress --colors --bail",
+ "standard": "echo 'standard is no longer being used, use `npm run eslint` instead!' && exit 1",
+ "dev": "webpack --config webpack.dev.js --progress --colors --watch",
+ "build": "webpack --config webpack.prod.js --progress --colors --bail",
"postinstall": "bin/heroku",
"start": "sequelize db:migrate && node app.js",
"doctoc": "doctoc --title='# Table of Contents' README.md"
},
"dependencies": {
+ "@passport-next/passport-openid": "^1.0.0",
"Idle.Js": "git+https://github.com/shawnmclean/Idle.js",
"archiver": "^2.1.1",
"async": "^2.1.4",
- "aws-sdk": "^2.7.20",
+ "aws-sdk": "^2.345.0",
"azure-storage": "^2.7.0",
"base64url": "^3.0.0",
"blueimp-md5": "^2.6.0",
@@ -41,12 +43,12 @@
"express-session": "^1.14.2",
"file-saver": "^1.3.3",
"flowchart.js": "^1.6.4",
- "font-awesome": "^4.7.0",
+ "fork-awesome": "^1.1.3",
"formidable": "^1.0.17",
"gist-embed": "~2.6.0",
"graceful-fs": "^4.1.11",
"handlebars": "^4.0.6",
- "helmet": "^3.3.0",
+ "helmet": "^3.13.0",
"highlight.js": "~9.12.0",
"i18n": "^0.8.3",
"imgur": "git+https://github.com/hackmdio/node-imgur.git",
@@ -61,7 +63,7 @@
"jsdom-nogyp": "^0.8.3",
"keymaster": "^1.6.2",
"list.js": "^1.5.0",
- "lodash": "^4.17.4",
+ "lodash": "^4.17.11",
"lz-string": "git+https://github.com/hackmdio/lz-string.git",
"markdown-it": "^8.2.2",
"markdown-it-abbr": "^1.0.4",
@@ -88,7 +90,6 @@
"morgan": "^1.7.0",
"mysql": "^2.12.0",
"node-uuid": "^1.4.7",
- "octicons": "~4.4.0",
"passport": "^0.4.0",
"passport-dropbox-oauth2": "^1.1.0",
"passport-facebook": "^2.1.1",
@@ -98,7 +99,7 @@
"passport-ldapauth": "^2.0.0",
"passport-local": "^1.0.0",
"passport-oauth2": "^1.4.0",
- "passport-saml": "^0.31.0",
+ "passport-saml": "^0.35.0",
"passport-twitter": "^1.0.4",
"passport.socketio": "^3.7.0",
"pdfobject": "^2.0.201604172",
@@ -108,7 +109,7 @@
"randomcolor": "^0.5.3",
"raphael": "git+https://github.com/dmitrybaranovskiy/raphael",
"readline-sync": "^1.4.7",
- "request": "^2.79.0",
+ "request": "^2.88.0",
"reveal.js": "~3.6.0",
"scrypt": "^6.0.3",
"select2": "^3.5.2-browserify",
@@ -125,12 +126,12 @@
"to-markdown": "^3.0.3",
"toobusy-js": "^0.5.1",
"uuid": "^3.1.0",
- "uws": "~0.14.1",
"validator": "^10.4.0",
"velocity-animate": "^1.4.0",
"visibilityjs": "^1.2.4",
"viz.js": "^1.7.0",
- "winston": "^2.3.0",
+ "winston": "^3.1.0",
+ "ws": "^6.0.0",
"xss": "^1.0.3"
},
"engines": {
@@ -142,11 +143,15 @@
"Markdown",
"Notes"
],
- "homepage": "https://hackmd.io",
+ "homepage": "https://codimd.org",
"maintainers": [
{
"name": "Max Wu",
"email": "jackymaxj@gmail.com"
+ },
+ {
+ "name": "Christoph (Sheogorath) Kern",
+ "email": "codimd@sheogorath.shivering-isles.com"
}
],
"repository": {
@@ -154,62 +159,45 @@
"url": "https://github.com/hackmdio/codimd.git"
},
"devDependencies": {
- "babel-cli": "^6.18.0",
- "babel-core": "^6.21.0",
- "babel-loader": "^6.2.10",
- "babel-plugin-transform-runtime": "^6.15.0",
- "babel-polyfill": "^6.22.0",
- "babel-preset-es2015": "^6.18.0",
- "babel-runtime": "^6.20.0",
- "copy-webpack-plugin": "^4.0.1",
- "css-loader": "^0.26.1",
+ "babel-cli": "^6.26.0",
+ "babel-core": "^6.26.3",
+ "babel-loader": "^7.1.4",
+ "babel-plugin-transform-runtime": "^6.23.0",
+ "babel-polyfill": "^6.26.0",
+ "babel-preset-env": "^1.7.0",
+ "babel-runtime": "^6.26.0",
+ "copy-webpack-plugin": "^4.5.2",
+ "css-loader": "^1.0.0",
"doctoc": "^1.3.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.25.0",
- "imports-loader": "^0.7.0",
- "json-loader": "^0.5.4",
+ "ejs-loader": "^0.3.1",
+ "eslint": "^5.9.0",
+ "eslint-config-standard": "^12.0.0",
+ "eslint-plugin-import": "^2.14.0",
+ "eslint-plugin-node": "^8.0.0",
+ "eslint-plugin-promise": "^4.0.1",
+ "eslint-plugin-standard": "^4.0.0",
+ "exports-loader": "^0.7.0",
+ "expose-loader": "^0.7.5",
+ "file-loader": "^2.0.0",
+ "html-webpack-plugin": "4.0.0-beta.2",
+ "imports-loader": "^0.8.0",
"jsonlint": "^1.6.2",
"less": "^2.7.1",
- "less-loader": "^2.2.3",
- "optimize-css-assets-webpack-plugin": "^1.3.0",
- "script-loader": "^0.7.0",
- "standard": "^9.0.1",
+ "less-loader": "^4.1.0",
+ "mini-css-extract-plugin": "^0.4.1",
+ "optimize-css-assets-webpack-plugin": "^5.0.0",
+ "script-loader": "^0.7.2",
"string-loader": "^0.0.1",
- "style-loader": "^0.13.1",
- "url-loader": "^0.5.7",
- "webpack": "^1.14.0",
- "webpack-parallel-uglify-plugin": "^0.2.0"
+ "style-loader": "^0.21.0",
+ "uglifyjs-webpack-plugin": "^1.2.7",
+ "url-loader": "^1.0.1",
+ "webpack": "^4.14.0",
+ "webpack-cli": "^3.1.0",
+ "webpack-merge": "^4.1.4",
+ "webpack-parallel-uglify-plugin": "^1.1.0"
},
- "standard": {
- "globals": [
- "$",
- "CodeMirror",
- "Cookies",
- "moment",
- "editor",
- "ui",
- "Spinner",
- "modeType",
- "Idle",
- "serverurl",
- "key",
- "gapi",
- "Dropbox",
- "FilePicker",
- "ot",
- "MediaUploader",
- "hex2rgb",
- "num_loaded",
- "Visibility",
- "inlineAttachment"
- ],
- "ignore": [
- "lib/ot",
- "public/vendor"
- ]
+ "optionalDependencies": {
+ "bufferutil": "^4.0.0",
+ "utf-8-validate": "^5.0.1"
}
}