Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
ulakbus-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ulakbus
ulakbus-ui
Commits
218b5e19
Commit
218b5e19
authored
Jul 16, 2015
by
Evren Kutar
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'grunt'
parents
15dba239
fc249510
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
139 additions
and
34735 deletions
+139
-34735
Gruntfile.js
Gruntfile.js
+102
-0
combined.js
app/combined.js
+0
-34710
main.js
app/main.js
+22
-23
package.json
package.json
+15
-2
No files found.
Gruntfile.js
0 → 100644
View file @
218b5e19
module
.
exports
=
function
(
grunt
)
{
// Project configuration.
grunt
.
initConfig
({
pkg
:
grunt
.
file
.
readJSON
(
'package.json'
),
uglify
:
{
dist
:
{
options
:
{
banner
:
'/*! <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> */
\
n'
},
//build: {
// src: 'src/<%= pkg.name %>.js',
// dest: 'build/<%= pkg.name %>.min.js'
//},
files
:
{
'dist/app.js'
:
[
'dist/app.js'
]
}
}
},
bower
:
{
install
:
{
options
:
{
install
:
true
,
copy
:
false
,
targetDir
:
'./libs'
,
cleanTargetDir
:
true
}
}
},
jshint
:
{
all
:
[
'Gruntfile.js'
,
'app/*.js'
,
'app/**/*.js'
]
},
karma
:
{
options
:
{
configFile
:
'karma.conf.js'
},
unit
:
{
singleRun
:
true
},
continuous
:
{
singleRun
:
false
,
autoWatch
:
true
}
},
html2js
:
{
dist
:
{
src
:
[
'index.html'
,
'app/components/**/*.html'
],
dest
:
'tmp/templates.js'
}
},
concat
:
{
options
:
{
separator
:
';'
},
dist
:
{
src
:
[
'app/**/*controller.js'
,
'app/**/*service.js'
,
'app/zetalib/**/*.js'
,
'app.js'
,
'app.routes.js'
],
dest
:
'dist/app.js'
},
components
:
{
src
:
[
'app/bower_components/**/*.min.js'
],
dest
:
'dist/bower_components/components.js'
}
},
watch
:
{
dev
:
{
files
:
[
'Gruntfile.js'
,
'app/**/*.js'
,
'index.html'
,
'app/components/**/*.html'
],
tasks
:
[
'jshint'
,
'karma:unit'
,
'html2js:dist'
,
'concat:dist'
,
'clean:temp'
],
options
:
{
atBegin
:
true
}
},
min
:
{
files
:
[
'Gruntfile.js'
,
'app/**/*.js'
,
'index.html'
,
'app/components/**/*.html'
],
tasks
:
[
'jshint'
,
'karma:unit'
,
'html2js:dist'
,
'concat:dist'
,
'clean:temp'
,
'uglify:dist'
],
options
:
{
atBegin
:
true
}
}
}
});
// Default task(s).
//grunt.registerTask('default', ['uglify']);
grunt
.
loadNpmTasks
(
'grunt-contrib-jshint'
);
grunt
.
loadNpmTasks
(
'grunt-contrib-clean'
);
grunt
.
loadNpmTasks
(
'grunt-contrib-connect'
);
grunt
.
loadNpmTasks
(
'grunt-contrib-compress'
);
grunt
.
loadNpmTasks
(
'grunt-contrib-concat'
);
grunt
.
loadNpmTasks
(
'grunt-contrib-uglify'
);
grunt
.
loadNpmTasks
(
'grunt-html2js'
);
grunt
.
loadNpmTasks
(
'grunt-contrib-watch'
);
grunt
.
loadNpmTasks
(
'grunt-bower-task'
);
grunt
.
loadNpmTasks
(
'grunt-karma'
);
grunt
.
registerTask
(
'dev'
,
[
'bower'
,
'connect:server'
,
'watch:dev'
]);
grunt
.
registerTask
(
'test'
,
[
'bower'
,
'jshint'
,
'karma:continuous'
]);
grunt
.
registerTask
(
'minified'
,
[
'bower'
,
'connect:server'
,
'watch:min'
]);
grunt
.
registerTask
(
'default'
,
[
'bower'
,
'html2js:dist'
,
'concat:dist'
,
'concat:components'
,
'uglify:dist'
]);
};
\ No newline at end of file
app/combined.js
deleted
100644 → 0
View file @
15dba239
This diff is collapsed.
Click to expand it.
app/main.js
View file @
218b5e19
...
@@ -8,29 +8,28 @@
...
@@ -8,29 +8,28 @@
'use strict'
;
'use strict'
;
$script
([
$script
([
'bower_components/angular/angular.js'
,
"bower_components/angular/angular.js"
,
'bower_components/angular-sanitize/angular-sanitize.min.js'
,
"bower_components/oclazyload/dist/ocLazyLoad.js"
,
'bower_components/angular-animate/angular-animate.min.js'
,
"bower_components/angular-route/angular-route.js"
,
'bower_components/moment/moment.js'
,
"bower_components/angular-cookies/angular-cookies.js"
,
'bower_components/tv4/tv4.js'
,
"bower_components/angular-resource/angular-resource.js"
,
'bower_components/objectpath/lib/ObjectPath.js'
,
"bower_components/angular-sanitize/angular-sanitize.js"
,
'bower_components/angular-schema-form/dist/schema-form.min.js'
,
"bower_components/tv4/tv4.js"
,
'bower_components/angular-schema-form/dist/bootstrap-decorator.min.js'
,
"bower_components/objectpath/lib/ObjectPath.js"
,
"bower_components/angular-schema-form/dist/schema-form.js"
,
'app.js'
,
"bower_components/angular-schema-form/dist/bootstrap-decorator.js"
,
'zlib/general.js'
,
"bower_components/angular-schema-form-datepicker/bootstrap-datepicker.js"
,
'forms/form_generator.js'
,
"app.js"
,
'test_view_for_generator/testfile.js'
,
"app_routes.js"
,
"zetalib/interceptors.js"
,
"zetalib/general.js"
,
'login/login.js'
,
"zetalib/forms/form_service.js"
,
'login/login_service.js'
,
"components/auth/auth_controller.js"
,
"components/auth/auth_service.js"
,
'dashboard/dashboard.js'
,
"components/dashboard/dashboard.js"
,
'components/version/version.js'
,
"components/staff/staff_controller.js"
,
'components/version/version-directive.js'
,
"components/student/student_controller.js"
,
'components/version/interpolate-filter.js'
,
"components/dashboard/dashboard.js"
'bower_components/quantumui/dist/js/quantumui-nojq.js'
,
],
function
()
{
],
function
()
{
// when all is done, execute bootstrap angular application
// when all is done, execute bootstrap angular application
angular
.
bootstrap
(
document
,
[
'zaerp'
]);
angular
.
bootstrap
(
document
,
[
'zaerp'
]);
...
...
package.json
View file @
218b5e19
...
@@ -8,14 +8,27 @@
...
@@ -8,14 +8,27 @@
"devDependencies"
:
{
"devDependencies"
:
{
"
bower
"
:
"
^1.3.1
"
,
"
bower
"
:
"
^1.3.1
"
,
"
http-server
"
:
"
^0.6.1
"
,
"
http-server
"
:
"
^0.6.1
"
,
"
karma
"
:
"
~0.1
0
"
,
"
karma
"
:
"
~0.1
2
"
,
"
karma-chrome-launcher
"
:
"
^0.1.12
"
,
"
karma-chrome-launcher
"
:
"
^0.1.12
"
,
"
karma-opera-launcher
"
:
"
^0.1
"
,
"
karma-opera-launcher
"
:
"
^0.1
"
,
"
karma-junit-reporter
"
:
"
^0.2.2
"
,
"
karma-junit-reporter
"
:
"
^0.2.2
"
,
"
istanbul
"
:
"
^0.3.15
"
,
"
istanbul
"
:
"
^0.3.15
"
,
"
karma-coverage
"
:
"
^0.4.2
"
,
"
karma-coverage
"
:
"
^0.4.2
"
,
"
protractor
"
:
"
^1.1.1
"
,
"
protractor
"
:
"
^1.1.1
"
,
"
shelljs
"
:
"
^0.2.6
"
"
shelljs
"
:
"
^0.2.6
"
,
"
grunt
"
:
"
~0.4.5
"
,
"
grunt-contrib-jshint
"
:
"
~0.10.0
"
,
"
grunt-contrib-nodeunit
"
:
"
~0.4.1
"
,
"
grunt-contrib-uglify
"
:
"
~0.5.0
"
,
"
grunt-cli
"
:
"
~0.1.13
"
,
"
grunt-html2js
"
:
"
~0.2.7
"
,
"
grunt-contrib-clean
"
:
"
~0.5.0
"
,
"
grunt-contrib-connect
"
:
"
~0.8.0
"
,
"
grunt-contrib-compress
"
:
"
~0.9.1
"
,
"
grunt-contrib-concat
"
:
"
~0.4.0
"
,
"
grunt-contrib-watch
"
:
"
~0.6.1
"
,
"
grunt-bower-task
"
:
"
~0.3.4
"
,
"
grunt-karma
"
:
"
~0.8.0
"
},
},
"scripts"
:
{
"scripts"
:
{
"postinstall"
:
"bower install"
,
"postinstall"
:
"bower install"
,
...
...
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