diff options
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 59 |
1 files changed, 32 insertions, 27 deletions
diff --git a/package.json b/package.json index 8f7b1363..172822a2 100644 --- a/package.json +++ b/package.json @@ -1,19 +1,19 @@ { "name": "CodiMD", - "version": "1.2.1", + "version": "1.5.0", "description": "Realtime collaborative markdown notes on all platforms.", "main": "app.js", "license": "AGPL-3.0", "scripts": { - "test": "npm run-script eslint && npm run-script jsonlint && mocha", - "eslint": "node_modules/.bin/eslint lib public test app.js", + "test": "npm run-script eslint && npm run-script jsonlint && npm run-script mocha-suite", + "eslint": "node_modules/.bin/eslint --max-warnings 0 lib public test 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", + "mocha-suite": "NODE_ENV=test CMD_DB_URL=\"sqlite::memory:\" mocha --exit", "standard": "echo 'standard is no longer being used, use `npm run eslint` instead!' && exit 1", "dev": "webpack --config webpack.dev.js --progress --colors --watch", + "heroku-prebuild": "bin/heroku", "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" + "start": "sequelize db:migrate && node app.js" }, "dependencies": { "@passport-next/passport-openid": "^1.0.0", @@ -31,13 +31,14 @@ "codemirror": "git+https://github.com/hackmdio/CodeMirror.git", "compression": "^1.6.2", "connect-flash": "^0.1.1", - "connect-session-sequelize": "^4.1.0", + "connect-session-sequelize": "^6.0.0", "cookie": "0.3.1", "cookie-parser": "1.4.3", "deep-freeze": "^0.0.1", "diff-match-patch": "git+https://github.com/hackmdio/diff-match-patch.git", "ejs": "^2.5.5", "emojify.js": "~1.1.0", + "escape-html": "^1.0.3", "express": ">=4.14", "express-session": "^1.14.2", "file-saver": "^1.3.3", @@ -46,23 +47,23 @@ "formidable": "^1.0.17", "gist-embed": "~2.6.0", "graceful-fs": "^4.1.11", - "handlebars": "^4.0.6", + "handlebars": "^4.1.2", "helmet": "^3.13.0", "highlight.js": "~9.12.0", "i18n": "^0.8.3", "imgur": "git+https://github.com/hackmdio/node-imgur.git", "ionicons": "~2.0.1", - "jquery": "^3.1.1", + "jquery": "^3.4.1", "jquery-mousewheel": "^3.1.13", "jquery-ui": "^1.12.1", "js-cookie": "^2.1.3", - "js-sequence-diagrams": "^1000000.0.6", - "js-url": "^2.3.0", - "js-yaml": "^3.7.0", + "js-sequence-diagrams": "git+https://github.com/codimd/js-sequence-diagrams.git", + "js-yaml": "^3.13.1", "jsdom-nogyp": "^0.8.3", "keymaster": "^1.6.2", "list.js": "^1.5.0", "lodash": "^4.17.11", + "lutim": "^1.0.2", "lz-string": "git+https://github.com/hackmdio/lz-string.git", "markdown-it": "^8.2.2", "markdown-it-abbr": "^1.0.4", @@ -80,14 +81,14 @@ "markdown-pdf": "^9.0.0", "mathjax": "~2.7.0", "mattermost": "^3.4.0", - "mermaid": "~7.1.0", - "meta-marked": "^0.4.2", + "mermaid": "~8.2.3", + "meta-marked": "git+https://github.com/codimd/meta-marked#semver:^0.4.5", "method-override": "^2.3.7", "minimist": "^1.2.0", "minio": "^6.0.0", "moment": "^2.17.1", "morgan": "^1.7.0", - "mysql": "^2.12.0", + "mysql2": "^1.6.5", "passport": "^0.4.0", "passport-dropbox-oauth2": "^1.1.0", "passport-facebook": "^2.1.1", @@ -109,15 +110,15 @@ "readline-sync": "^1.4.7", "request": "^2.88.0", "reveal.js": "~3.7.0", - "@mlink/scrypt": "^6.1.2", + "scrypt-async": "^2.0.1", + "scrypt-kdf": "^2.0.1", "select2": "^3.5.2-browserify", - "sequelize": "^3.28.0", - "sequelize-cli": "^2.5.1", + "sequelize": "^5.8.12", "shortid": "2.2.8", "socket.io": "~2.1.1", "socket.io-client": "~2.1.1", "spin.js": "^2.3.2", - "sqlite3": "^4.0.1", + "sqlite3": "^4.0.7", "store": "^2.0.12", "string": "^3.3.3", "tedious": "^1.14.0", @@ -130,15 +131,18 @@ "viz.js": "^1.7.0", "winston": "^3.1.0", "ws": "^6.0.0", + "wurl": "^2.5.3", "xss": "^1.0.3" }, "resolutions": { - "**/tough-cookie": "~2.4.0" + "**/tough-cookie": "~2.4.0", + "**/minimatch": "^3.0.2", + "**/request": "^2.88.0" }, "engines": { - "node": ">=6.x" + "node": ">=8.x" }, - "bugs": "https://github.com/hackmdio/codimd/issues", + "bugs": "https://github.com/codimd/server/issues", "keywords": [ "Collaborative", "Markdown", @@ -147,17 +151,18 @@ "homepage": "https://codimd.org", "maintainers": [ { - "name": "Max Wu", - "email": "jackymaxj@gmail.com" + "name": "Claudius Coenen", + "url": "https://www.claudiuscoenen.de/" }, { "name": "Christoph (Sheogorath) Kern", - "email": "codimd@sheogorath.shivering-isles.com" + "email": "codimd@sheogorath.shivering-isles.com", + "url": "https://shivering-isles.com" } ], "repository": { "type": "git", - "url": "https://github.com/hackmdio/codimd.git" + "url": "https://github.com/codimd/server.git" }, "devDependencies": { "babel-cli": "^6.26.0", @@ -169,7 +174,6 @@ "babel-runtime": "^6.26.0", "copy-webpack-plugin": "^4.5.2", "css-loader": "^1.0.0", - "doctoc": "^1.4.0", "ejs-loader": "^0.3.1", "eslint": "^5.9.0", "eslint-config-standard": "^12.0.0", @@ -190,6 +194,7 @@ "mock-require": "^3.0.3", "optimize-css-assets-webpack-plugin": "^5.0.0", "script-loader": "^0.7.2", + "sequelize-cli": "^5.4.0", "string-loader": "^0.0.1", "style-loader": "^0.21.0", "uglifyjs-webpack-plugin": "^1.2.7", |