diff --git a/.npmignore b/.npmignore index 0256718..cd36e21 100644 --- a/.npmignore +++ b/.npmignore @@ -1,7 +1,10 @@ src/* test/* template/* +utils/* node_modules/* build/*.amd.js Makefile -index.html \ No newline at end of file +index.html +.travis.yml +testrunner.js \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index b6c89b3..c1bcb7b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,8 @@ language: node_js node_js: - 0.8 - - 0.9 + - 0.10 + - 0.12 git: depth: 1 branches: diff --git a/LICENSE.txt b/LICENSE.txt index c9ff5a7..fbe0d24 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,4 +1,4 @@ -Copyright (C) 2013 by WebReflection +Copyright (C) 2015 by WebReflection Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/Makefile b/Makefile index 7fb9c86..357f92c 100644 --- a/Makefile +++ b/Makefile @@ -123,5 +123,23 @@ dependencies: npm install uglify-js@1 npm install jshint npm install markdown - - + npm install browserify + npm install watchify + +# bundle: creates the browserified version of the project as js/bundle.max.js +bundle: + sh utils/browserify.sh + +# watch: update the browserified version of the project as soon as file changes +watch: + sh utils/watchify.sh + +# minified: create the minifeid version of the project as js/bundle.js +minified: + make -s bundle + sh utils/uglifyjs.sh $(LICENSE) + make -s size + +# jshint: recursively checks for javascript files inside the src folder and lint them +jshint: + sh utils/jshint.sh diff --git a/index.html b/index.html index d2fc125..f16db7d 100644 --- a/index.html +++ b/index.html @@ -11,7 +11,9 @@ var TESTS = ["main"];