Small dev. changes [.gitignore, package.json, .editorconfig, .jsbeautifyrc] #222
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Even, require-css doesn't have devDependencies (so far, maybe in future something changed), we better to ignore
node_modulesandbower_components. This is valuable at least for use case, mentioned in README.md file in regards to installing csso locally and runningnpm testwhich requires local requirejs. Also ignoredDS_Stroreand.logDuring command
r.js -o example/build.jsit's also checking node_modules and bower_components folders, if such exists. So I added to exclude pattern inexample/build.js.npmhas dedicated scripttest, which can be valuable during CI, and just for simplification and usability as developer not to type lot of text. Added alias in package.json.But FYI: for running
node test/test.jsu need to install requirejs locally, because global is not accessible. In regards to this small note, I may create separate PR later.bower.jsonhas not valid structure, which cause warning during any bower activity:So I changed to be only
css.js.editorconfigand.jsbeautifyrcwhich will prevent from wrong indentation. Also in future, I will create grunt task for auto-jsbeautify before commit.