Skip to content

Commit

Permalink
moved source to src directory added compile commands to package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
noosxe committed Jul 22, 2016
1 parent fd30061 commit c68ae8c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,7 @@ build/Release

# Dependency directory
# https://docs.npmjs.com/misc/faq#should-i-check-my-node-modules-folder-into-git
node_modules
node_modules

# Compiled library files
lib
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
src/
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
"sinon-chai": "2.8.0"
},
"scripts": {
"compile": "babel --presets es2015,stage-0 -d lib/ src/",
"prepublish": "npm run compile",
"lint": "jshint index.js lib/**.js",
"test": "HUGLA_NO_EXIT=1 HUGLA_SILENT=1 mocha --reporter spec --bail",
"test-ci": "HUGLA_NO_EXIT=1 HUGLA_SILENT=1 istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec"
Expand Down
File renamed without changes.

0 comments on commit c68ae8c

Please sign in to comment.