Skip to content

Commit

Permalink
0.1.1: bugfix, fix workflow, update dist files
Browse files Browse the repository at this point in the history
  • Loading branch information
guo-yu committed Sep 19, 2014
1 parent 595954a commit 76bb1b7
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ psd
thumb
*.log
bower_*
dist/codemirror.*
dist/codemirror.*
dist/font.css
3 changes: 2 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ thumb
bower_*
dist/codemirror.*
screenshot.png
editor-ninja.jpg
editor-ninja.jpg
dist/font.css
1 change: 1 addition & 0 deletions bin/build-css-core.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

# compile core style of ninja editor
node_modules/.bin/concat \
dist/font.css \
dist/codemirror.min.css \
dist/ninja.css \
-o dist/ninja.min.css
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ninja",
"version": "0.1.0",
"version": "0.1.1",
"homepage": "https://github.com/airpub/ninja",
"authors": [
"Guo Yu <[email protected]>"
Expand Down
2 changes: 1 addition & 1 deletion dist/ninja.min.css

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "editor-ninja",
"version": "0.1.0",
"version": "0.1.1",
"description": "the missing front-end markdown editor for Airpub and everyone else",
"main": "dist.ninja.min.js",
"scripts": {
Expand All @@ -11,6 +11,7 @@
"build-css": "npm run build-css-core && npm run build-css-bundle",
"build-less": "node_modules/.bin/lessc -x src/less/ninja.less dist/ninja.css",
"watch-less": "node_modules/.bin/rewatch src/**/*.less -c 'npm run build-less'",
"build-font": "node_modules/.bin/lessc -x src/less/font.less dist/font.css",
"build": "npm run build-js && npm run build-css",
"serve": "node_modules/.bin/serve --no-less .",
"dev": "npm run serve & npm run watch-less"
Expand Down
1 change: 1 addition & 0 deletions src/less/font.less
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import url("../../fontawesome/css/font-awesome.min.css");
2 changes: 0 additions & 2 deletions src/less/ninja.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@import url("../../fontawesome/css/font-awesome.min.css");

@import 'scrollbar.less';
@import 'editor.less';
@import 'zen.less';

0 comments on commit 76bb1b7

Please sign in to comment.