Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
[*]
charset=utf-8
end_of_line=lf
insert_final_newline=false
indent_style=space
indent_size=4

[{*.sht,*.htm,*.html,*.shtm,*.shtml,*.ng}]
indent_style=space
indent_size=2

[{.eslintrc,jest.config,.prettierrc,.babelrc,.stylelintrc,*.bowerrc,*.jsb3,*.jsb2,*.json}]
indent_style=space
indent_size=2

[*.js]
indent_style=space
indent_size=2

[{jshint.json,*.jshintrc}]
indent_style=space
indent_size=2

[{*.jscs.json,*.jscsrc}]
indent_style=space
indent_size=2

[*.js.map]
indent_style=space
indent_size=2

[*.less]
indent_style=space
indent_size=2

[*.scss]
indent_style=space
indent_size=2

[{.analysis_options,*.yml,*.yaml}]
indent_style=space
indent_size=2

39 changes: 39 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
//this is eslint config file for backend
//Anatolij promise to make it compatible with frontend

module.exports = {
'extends': 'eslint:recommended',
'parserOptions': {
'ecmaVersion': 6,
'sourceType': 'module',
},
'env': {
'browser': true,
'commonjs': true,
'es6': true,
'node': true
},
'rules': {
'no-undef': 2,
'no-plusplus': ['error', { allowForLoopAfterthoughts: false }],
'no-console': [
2
],
'indent': [
'error',
2
],
'linebreak-style': [
'error',
'unix'
],
'quotes': [
'error',
'single'
],
'semi': [
'error',
'always'
],
}
};
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@

node_modules
node_modules/
.idea/
.nyc_output/
coverage/
23 changes: 23 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Editor specific
.idea/
*.geany

# MacOs specific
.DS_Store

# Files required for development
node_modules/
.nyc_output/
coverage/
out/
.env
.git/
test/
docs/
.editorconfig
.eslintrc.js
webpack.config.js
package.json
README.md
.travis.yml
*.tgz
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@ language: node_js
node_js:
- 10
- 12
before_script:
- "npm install -g mocha"
script:
- "npm run lint" # run lint sanity checks on code
- "npm test" # run mocha unit tests
- "npm run build" # build distribution files for browser
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

# igo-dust

[![Build Status](https://travis-ci.org/igocreate/igo-dust.svg?branch=master)](https://travis-ci.org/igocreate/igo-dust)

Asynchronous Javascript templating, inspired by [Dust.js](https://github.com/linkedin/dustjs).

## Install
Expand Down
1 change: 1 addition & 0 deletions dist/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.js
1 change: 1 addition & 0 deletions dist/igo-dust-0.1.14-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading