Skip to content
This repository was archived by the owner on Mar 26, 2018. It is now read-only.

Commit 7697e04

Browse files
Präsentation für Sprint Planning 3
1 parent faf05dc commit 7697e04

File tree

155 files changed

+17657
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

155 files changed

+17657
-0
lines changed
Lines changed: 176 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,176 @@
1+
/* global module:false */
2+
module.exports = function(grunt) {
3+
var port = grunt.option('port') || 8000;
4+
var base = grunt.option('base') || '.';
5+
6+
// Project configuration
7+
grunt.initConfig({
8+
pkg: grunt.file.readJSON('package.json'),
9+
meta: {
10+
banner:
11+
'/*!\n' +
12+
' * reveal.js <%= pkg.version %> (<%= grunt.template.today("yyyy-mm-dd, HH:MM") %>)\n' +
13+
' * http://lab.hakim.se/reveal-js\n' +
14+
' * MIT licensed\n' +
15+
' *\n' +
16+
' * Copyright (C) 2016 Hakim El Hattab, http://hakim.se\n' +
17+
' */'
18+
},
19+
20+
qunit: {
21+
files: [ 'test/*.html' ]
22+
},
23+
24+
uglify: {
25+
options: {
26+
banner: '<%= meta.banner %>\n'
27+
},
28+
build: {
29+
src: 'js/reveal.js',
30+
dest: 'js/reveal.min.js'
31+
}
32+
},
33+
34+
sass: {
35+
core: {
36+
files: {
37+
'css/reveal.css': 'css/reveal.scss',
38+
}
39+
},
40+
themes: {
41+
files: [
42+
{
43+
expand: true,
44+
cwd: 'css/theme/source',
45+
src: ['*.scss'],
46+
dest: 'css/theme',
47+
ext: '.css'
48+
}
49+
]
50+
}
51+
},
52+
53+
autoprefixer: {
54+
dist: {
55+
src: 'css/reveal.css'
56+
}
57+
},
58+
59+
cssmin: {
60+
compress: {
61+
files: {
62+
'css/reveal.min.css': [ 'css/reveal.css' ]
63+
}
64+
}
65+
},
66+
67+
jshint: {
68+
options: {
69+
curly: false,
70+
eqeqeq: true,
71+
immed: true,
72+
latedef: true,
73+
newcap: true,
74+
noarg: true,
75+
sub: true,
76+
undef: true,
77+
eqnull: true,
78+
browser: true,
79+
expr: true,
80+
globals: {
81+
head: false,
82+
module: false,
83+
console: false,
84+
unescape: false,
85+
define: false,
86+
exports: false
87+
}
88+
},
89+
files: [ 'Gruntfile.js', 'js/reveal.js' ]
90+
},
91+
92+
connect: {
93+
server: {
94+
options: {
95+
port: port,
96+
base: base,
97+
livereload: true,
98+
open: true
99+
}
100+
}
101+
},
102+
103+
zip: {
104+
'reveal-js-presentation.zip': [
105+
'index.html',
106+
'css/**',
107+
'js/**',
108+
'lib/**',
109+
'images/**',
110+
'plugin/**',
111+
'**.md'
112+
]
113+
},
114+
115+
watch: {
116+
js: {
117+
files: [ 'Gruntfile.js', 'js/reveal.js' ],
118+
tasks: 'js'
119+
},
120+
theme: {
121+
files: [ 'css/theme/source/*.scss', 'css/theme/template/*.scss' ],
122+
tasks: 'css-themes'
123+
},
124+
css: {
125+
files: [ 'css/reveal.scss' ],
126+
tasks: 'css-core'
127+
},
128+
html: {
129+
files: [ '*.html']
130+
},
131+
markdown: {
132+
files: [ '*.md' ]
133+
},
134+
options: {
135+
livereload: true
136+
}
137+
}
138+
139+
});
140+
141+
// Dependencies
142+
grunt.loadNpmTasks( 'grunt-contrib-qunit' );
143+
grunt.loadNpmTasks( 'grunt-contrib-jshint' );
144+
grunt.loadNpmTasks( 'grunt-contrib-cssmin' );
145+
grunt.loadNpmTasks( 'grunt-contrib-uglify' );
146+
grunt.loadNpmTasks( 'grunt-contrib-watch' );
147+
grunt.loadNpmTasks( 'grunt-sass' );
148+
grunt.loadNpmTasks( 'grunt-contrib-connect' );
149+
grunt.loadNpmTasks( 'grunt-autoprefixer' );
150+
grunt.loadNpmTasks( 'grunt-zip' );
151+
152+
// Default task
153+
grunt.registerTask( 'default', [ 'css', 'js' ] );
154+
155+
// JS task
156+
grunt.registerTask( 'js', [ 'jshint', 'uglify', 'qunit' ] );
157+
158+
// Theme CSS
159+
grunt.registerTask( 'css-themes', [ 'sass:themes' ] );
160+
161+
// Core framework CSS
162+
grunt.registerTask( 'css-core', [ 'sass:core', 'autoprefixer', 'cssmin' ] );
163+
164+
// All CSS
165+
grunt.registerTask( 'css', [ 'sass', 'autoprefixer', 'cssmin' ] );
166+
167+
// Package presentation to archive
168+
grunt.registerTask( 'package', [ 'default', 'zip' ] );
169+
170+
// Serve presentation locally
171+
grunt.registerTask( 'serve', [ 'connect', 'watch' ] );
172+
173+
// Run tests
174+
grunt.registerTask( 'test', [ 'jshint', 'qunit' ] );
175+
176+
};
634 KB
Binary file not shown.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"name": "reveal.js",
3+
"version": "3.3.0",
4+
"main": [
5+
"js/reveal.js",
6+
"css/reveal.css"
7+
],
8+
"homepage": "http://lab.hakim.se/reveal-js/",
9+
"license": "MIT",
10+
"description": "The HTML Presentation Framework",
11+
"authors": [
12+
"Hakim El Hattab <[email protected]>"
13+
],
14+
"dependencies": {
15+
"headjs": "~1.0.3"
16+
},
17+
"repository": {
18+
"type": "git",
19+
"url": "git://github.com/hakimel/reveal.js.git"
20+
},
21+
"ignore": [
22+
"**/.*",
23+
"node_modules",
24+
"bower_components",
25+
"test"
26+
]
27+
}

0 commit comments

Comments
 (0)