Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
jio_mebibou
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Alexandra Rogova
jio_mebibou
Commits
e97727d0
Commit
e97727d0
authored
Aug 21, 2013
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Gruntfile.js and package.json added
parent
8298e558
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
67 additions
and
0 deletions
+67
-0
Gruntfile.js
Gruntfile.js
+63
-0
package.json
package.json
+4
-0
No files found.
Gruntfile.js
0 → 100644
View file @
e97727d0
module
.
exports
=
function
(
grunt
)
{
"
use strict
"
;
// Project configuration.
grunt
.
initConfig
({
pkg
:
grunt
.
file
.
readJSON
(
'
package.json
'
),
uglify
:
{
options
:
{
banner
:
'
/*! <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> */
\n
'
,
},
jio
:
{
src
:
'
jio.js
'
,
// '<%= pkg.name %>.js'
dest
:
'
jio.min.js
'
,
}
},
jslint
:
{
jio
:
{
src
:
[
'
src/jio/**/*.js
'
],
exclude
:
[
'
src/jio/intro.js
'
,
'
src/jio/outro.js
'
],
options
:
{
errorsOnly
:
true
,
}
},
tests
:
{
src
:
[
'
test/**/*.js
'
],
options
:
{
errorsOnly
:
true
,
}
}
// queries: {
// src: ['src/queries/**/*.js'],
// exclude: ['src/queries/begin.js', 'src/queries/end.js']
// }
},
concat
:
{
jio
:
{
//banner: 'src/jio/intro.js',
//footer: 'src/j',
src
:
[
'
src/jio/intro.js
'
,
'
src/jio/core/**/*.js
'
,
'
src/jio/features/**/*.js
'
,
'
src/jio/outro.js
'
,
],
dest
:
'
jio.js
'
,
}
},
qunit
:
{
files
:
[
'
test/tests.html
'
],
// grunt doesn't like requirejs
},
});
grunt
.
loadNpmTasks
(
'
grunt-jslint
'
);
grunt
.
loadNpmTasks
(
'
grunt-contrib-concat
'
);
grunt
.
loadNpmTasks
(
'
grunt-contrib-uglify
'
);
grunt
.
loadNpmTasks
(
'
grunt-contrib-qunit
'
);
grunt
.
registerTask
(
'
default
'
,
[
'
jslint
'
,
'
concat
'
,
'
uglify
'
]);
//, 'qunit']);
grunt
.
registerTask
(
'
lint
'
,
[
'
jslint
'
]);
grunt
.
registerTask
(
'
build
'
,
[
'
concat
'
,
'
uglify
'
]);
grunt
.
registerTask
(
'
test
'
,
[
'
jslint
'
,
'
qunit
'
]);
};
package.json
0 → 100644
View file @
e97727d0
{
"name"
:
"JIO"
,
"version"
:
"0.2.0"
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment