Toggle navigation
Toggle navigation
This project
Loading...
Sign in
arcs
/
arcs.js
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
3
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Jean-Yves Didier
2019-12-10 11:42:42 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
64aa25fbf96f48053fb614adcb7bb21df2166f28
64aa25fb
1 parent
25b1515e
deactivated any minification through obfuscation
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
11 deletions
Gruntfile.js
build/arcs.min.js
package.json
Gruntfile.js
View file @
64aa25f
...
...
@@ -59,13 +59,13 @@ module.exports = function (grunt) {
}
}
},
//uglify
: {
//
build: {
//
options: {
//
banner: '/*! <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> */\n'
//
},
//
files: {
/*
'build/arcs.min.js': [
obfuscator
:
{
build
:
{
options
:
{
banner
:
'/*! <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> */\n'
},
files
:
{
'build/arcs.min.js'
:
[
'build/arcs.js'
],
'build/arcs_browser.js'
:
[
...
...
@@ -76,7 +76,7 @@ module.exports = function (grunt) {
]
}
}
},
*/
},
bower
:
{
options
:
{
verbose
:
true
,
...
...
@@ -128,7 +128,7 @@ module.exports = function (grunt) {
});
// Load the plugin that provides the "uglify" task.
//grunt.loadNpmTasks('grunt-contrib-uglify
');
grunt
.
loadNpmTasks
(
'grunt-contrib-obfuscator
'
);
grunt
.
loadNpmTasks
(
'grunt-file-minify'
);
grunt
.
loadNpmTasks
(
'grunt-contrib-concat'
);
grunt
.
loadNpmTasks
(
'grunt-jsdoc'
);
...
...
@@ -137,7 +137,7 @@ module.exports = function (grunt) {
// Default task(s).
grunt
.
registerTask
(
'default'
,
[
'concat'
,
'file_minify'
/*'uglify
'*/
]);
grunt
.
registerTask
(
'default'
,
[
'concat'
,
/*'file_minify','obfuscator
'*/
]);
grunt
.
registerTask
(
'lint'
,
[
'jslint'
]);
grunt
.
registerTask
(
'doc'
,
[
'jsdoc'
]);
};
...
...
build/arcs.min.js
View file @
64aa25f
This diff is collapsed. Click to expand it.
package.json
View file @
64aa25f
...
...
@@ -16,7 +16,7 @@
"bower"
:
">=1.3.9"
,
"grunt"
:
">=0.4.5"
,
"grunt-jslint"
:
">=1.1.12"
,
"grunt-contrib-
uglify"
:
">=0.5.1
"
,
"grunt-contrib-
obfuscator"
:
"*
"
,
"grunt-file-minify"
:
">=1.0.0"
,
"grunt-jsdoc"
:
">=0.5.6"
,
"grunt-bower-task"
:
">=0.4.0"
,
...
...
Please
register
or
login
to post a comment