summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorMax Wu2016-10-13 12:41:57 +0800
committerGitHub2016-10-13 12:41:57 +0800
commitaf461ac2d6171b6133701ce0817d14f18b4fd4b1 (patch)
tree58ae2135c69dacdac283538b6b5e54c8c816bd9f /package.json
parent53f88d82d1ea414dc95e8f6181c3cc6638573665 (diff)
parent773c0ce39e2da7ea155949b5a6dae986a747e89a (diff)
Merge pull request #195 from Yukaii/webpack-frontend
Use Webpack to bundle frontend code
Diffstat (limited to 'package.json')
-rw-r--r--package.json82
1 files changed, 78 insertions, 4 deletions
diff --git a/package.json b/package.json
index 7051affb..03333fb8 100644
--- a/package.json
+++ b/package.json
@@ -4,10 +4,16 @@
"description": "Realtime collaborative markdown notes on all platforms.",
"main": "app.js",
"license": "MIT",
+ "scripts": {
+ "dev": "webpack --config webpack.config.js --progress --colors --watch",
+ "build": "webpack --config webpack.production.js --progress --colors"
+ },
"dependencies": {
+ "Idle.Js": "github:shawnmclean/Idle.js",
"async": "^2.0.1",
"blueimp-md5": "^2.4.0",
"body-parser": "^1.15.2",
+ "bootstrap": "^3.3.7",
"chance": "^1.0.4",
"cheerio": "^0.22.0",
"compression": "^1.6.2",
@@ -17,15 +23,44 @@
"diff-match-patch": "git+https://github.com/hackmdio/diff-match-patch.git",
"ejs": "^2.5.2",
"emojify.js": "^1.1.0",
+ "engine.io-client": "^1.7.0",
"express": ">=4.14",
"express-session": "^1.14.1",
+ "file-saver": "^1.3.3",
+ "flowchart.js": "^1.6.3",
"formidable": "^1.0.17",
+ "gist-embed": "github:yukaii/gist-embed",
+ "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",
+ "jquery": "^3.1.1",
+ "jquery-mousewheel": "^3.1.13",
+ "jquery-scrollspy": "github:softwarespot/jquery-scrollspy",
+ "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-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",
"meta-marked": "^0.4.2",
"method-override": "^2.3.6",
@@ -41,30 +76,69 @@
"passport-google-oauth20": "^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",
+ "reveal.js": "^3.3.0",
"sequelize": "^3.24.3",
"sequelize-cli": "^2.4.0",
"shortid": "2.2.6",
"socket.io": "1.5.0",
+ "socket.io-client": "^1.5.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",
- "winston": "^2.2.0"
+ "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"],
+ "keywords": [
+ "Collaborative",
+ "Markdown",
+ "Notes"
+ ],
"homepage": "https://hackmd.io",
- "maintainers": [{"name": "Max Wu", "email": "jackymaxj@gmail.com"}],
+ "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",
+ "bower-webpack-plugin": "^0.1.9",
+ "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",
+ "script-loader": "^0.7.0",
+ "style-loader": "^0.13.1",
+ "url-loader": "^0.5.7",
+ "webpack": "^1.13.2"
}
}