Skip to content

Commit f662936

Browse files
author
Alexandre-io
committed
first commit
0 parents  commit f662936

File tree

14 files changed

+2571
-0
lines changed

14 files changed

+2571
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules
2+
.idea
3+
.c9

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
language: node_js
2+
node_js:
3+
- '5'
4+
- '4'
5+
- '3'
6+
- '2'
7+
- '0.12'
8+
sudo: false
9+
script: npm install . && grunt test

Gruntfile.js

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
module.exports = function(grunt) {
2+
3+
grunt.initConfig({
4+
jshint: {
5+
files: ['Gruntfile.js', 'src/**/*.js'],
6+
options: {}
7+
},
8+
cssmin: {
9+
dist: {
10+
files: [{
11+
expand: true,
12+
cwd: 'src',
13+
src: ['*.css', '!*.min.css'],
14+
dest: 'dist',
15+
ext: '.min.css'
16+
}]
17+
}
18+
},
19+
uglify: {
20+
dist: {
21+
files: {
22+
'dist/introduction.min.js': ['src/introduction.js', 'src/introduction.angular.js']
23+
}
24+
}
25+
}
26+
});
27+
28+
grunt.loadNpmTasks('grunt-contrib-jshint');
29+
grunt.loadNpmTasks('grunt-contrib-cssmin');
30+
grunt.loadNpmTasks('grunt-contrib-uglify');
31+
32+
grunt.registerTask('test', ['jshint']);
33+
grunt.registerTask('build', ['jshint', 'cssmin', 'uglify']);
34+
35+
};

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2015 Alexandre L.
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)