diff --git a/Gulpfile.js b/Gulpfile.js index f15ce549..3ca31615 100644 --- a/Gulpfile.js +++ b/Gulpfile.js @@ -263,7 +263,12 @@ gulp.task('git-tag', function(cb) { if(err) { return cb(err); } - exec('git push origin master --tags', cb); + exec('npm publish', function(err) { + if(err) { + return cb(err); + } + exec('git push origin master --tags', cb); + }); }); }); }); diff --git a/package.json b/package.json index feb433db..c05d311d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,6 @@ { "name": "stackedit", "version": "4.3.14", - "private": true, "description": "StackEdit is a free, open-source Markdown editor based on PageDown, the Markdown library used by Stack Overflow and the other Stack Exchange sites.", "main": "res/main.js", "engines": { @@ -11,12 +10,13 @@ "doc": "doc" }, "dependencies": { - "express": "^4.8.5", - "ejs": "~0.8.4", - "request": "~2.40.0", - "ssh2": "^0.3.5", + "bower": "^1.8.2", "compression": "^1.0.11", - "serve-static": "^1.6.5" + "ejs": "~0.8.4", + "express": "^4.8.5", + "request": "~2.40.0", + "serve-static": "^1.6.5", + "ssh2": "^0.3.5" }, "devDependencies": { "gulp": "^3.8.7", @@ -36,6 +36,7 @@ "event-stream": "^3.1.7" }, "scripts": { + "postinstall": "bower --allow-root install", "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { diff --git a/views/editor.html b/views/editor.html deleted file mode 100644 index 28f7ad40..00000000 --- a/views/editor.html +++ /dev/null @@ -1,36 +0,0 @@ - -> - - - StackEdit – Editor - - - - - - - - - - - - - - - - - - - - - diff --git a/views/error_404.html b/views/error_404.html deleted file mode 100644 index 0e0f3537..00000000 --- a/views/error_404.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - StackEdit - 404 - - - - - - - - -
-

- -

-

404 — Page not found

-

Looking for StackEdit recovery?

- - - diff --git a/views/landing.html b/views/landing.html deleted file mode 100644 index d821c3e5..00000000 --- a/views/landing.html +++ /dev/null @@ -1,514 +0,0 @@ - -> - - - StackEdit – In-browser markdown editor - - - - - - - - - - - - - - - -
- - - - - -
-
- - -
- - - diff --git a/views/viewer.html b/views/viewer.html deleted file mode 100644 index 7854e68a..00000000 --- a/views/viewer.html +++ /dev/null @@ -1,30 +0,0 @@ - -> - - - StackEdit Viewer - - - - - - - - - - - - - - -