Skip to content

Commit

Permalink
chore: Minor build script improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
kwltrs committed Dec 15, 2017
1 parent cf09ee0 commit 0b1bf8b
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# EditorConfig is awesome: http://EditorConfig.org
root = true

[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.less]
indent_style = space
indent_size = 4

[{*.json,*.yml}]
indent_style = space
indent_size = 2
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ $(shell mkdir -p $(DIRS))

all: styleguidist

bootstrap:
npm run lerna:bootstrap

css: fonts
npm run build:css
fonts:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"lerna:bootstrap": "lerna bootstrap",
"lerna:publish": "lerna publish --yes",
"lerna:clean": "lerna clean --yes",
"styleguidist": "styleguidist start",
"styleguidist": "styleguidist server",
"styleguidist:build": "styleguidist build",
"build:css": "lessc packages/ffe-all.less dist/ffe.css",
"lint": "lerna run lint",
Expand Down

0 comments on commit 0b1bf8b

Please sign in to comment.