-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from damyanpetev/build-files
Build pakcage files
- Loading branch information
Showing
6 changed files
with
187 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,17 @@ language: node_js | |
node_js: | ||
- "4" | ||
script: | ||
- grunt verify | ||
- grunt coveralls | ||
- grunt verify | ||
- grunt coveralls | ||
after_success: | ||
- grunt build | ||
before_deploy: "cd dist" | ||
deploy: | ||
provider: npm | ||
skip_cleanup: true | ||
email: [email protected] | ||
api_key: | ||
secure: JeRvlOs2mLvzJHqtpVLvEtTVrZZqB4kufmz7+4RNk9XgzcSwXVbp5ZCpdYkZy/2HypJTjyryN98FuqCQo4cnmnkVS2phiejA9b9YVl3uFtCeFxGJJ4st/98UT3f7OrDgqFIh4v+MtzIS76+Erv2YmV8RBtEgoOpfCpuO5aBpi3oJR49iw8TN2dZwfyvUtb2ytMfzyR1q7xsl+Q0qYzwhX00BxVxGY6UkKF1VaRjsfGYrfC4FkpAT4u5mD+KtUMwRHGpMyQm1LYusS99+ugwOloq4gFArham/J/06tLwCXXjW/xhVH4HyQRiMZE649rl7TI/j88vZrGUKw16SQT+K/0+3sw4/BtwwlEjNiD1UIr97lRL7oFTZp/NYBs1PgNHd+xYGLnWA34NuUWlo9pviUz5U/mVaRVPZ5u1oLKHjPYX2VElE/GgqjQuj08il8rtRr7UHP0O5y0MPJ+t1WgWnivc0ISs+AHe+edLPoGAMHiK7vEcsM10y8z7Lfx7BbuWLFfv2eoWeruO1B0kEP+jeuognOBcyjSD/zKMfmosW/L+muhHCCPI1yDSmtutq24HVzktq0ggF9i5g4jTpH9kORBGKOirXuMP1Hf412IvzeQ71LK4A9W9z+mKje+9ygqrPDrbyYaclDiCrwOrAi3IGrpoi5F5ACdY13ObZpKG71RA= | ||
on: | ||
tags: true | ||
repo: IgniteUI/ignite-ui |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
var locales = ["bg", "de", "en", "es", "fr", "ja", "ru"], newFiles = {}, i; | ||
|
||
module.exports = { | ||
"options": { | ||
|
||
// use the general "keep some" regexp | ||
"preserveComments": /(?:^!|@(?:license|preserve|cc_on))/, | ||
"compress": false, | ||
"mangle": false | ||
}, | ||
"combine": { | ||
"files": { | ||
"./dist/js/infragistics.core-lite.js": [ | ||
"./dist/js/i18n/infragistics-en.js", | ||
"./dist/js/modules/infragistics.util.js", | ||
"./dist/js/modules/infragistics.dataSource.js", | ||
"./dist/js/modules/infragistics.templating.js", | ||
"./dist/js/modules/infragistics.ui.shared.js", | ||
"./dist/js/modules/infragistics.ui.scroll.js" | ||
], | ||
"./dist/js/infragistics.lob-lite.js": [ | ||
"./dist/js/modules/infragistics.ui.combo.js", | ||
"./dist/js/modules/infragistics.ui.dialog.js", | ||
"./dist/js/modules/infragistics.ui.popover.js", | ||
"./dist/js/modules/infragistics.ui.notifier.js", | ||
"./dist/js/modules/infragistics.ui.editors.js", | ||
"./dist/js/modules/infragistics.ui.tree.js", | ||
"./dist/js/modules/infragistics.ui.layoutmanager.js", | ||
"./dist/js/modules/infragistics.ui.splitter.js", | ||
"./dist/js/modules/infragistics.ui.splitbutton.js", | ||
"./dist/js/modules/infragistics.ui.rating.js", | ||
"./dist/js/modules/infragistics.ui.toolbarbutton.js", | ||
"./dist/js/modules/infragistics.ui.colorpicker.js", | ||
"./dist/js/modules/infragistics.ui.colorpickersplitbutton.js", | ||
"./dist/js/modules/infragistics.ui.toolbar.js", | ||
"./dist/js/modules/infragistics.ui.tilemanager.js", | ||
"./dist/js/modules/infragistics.ui.upload.js", | ||
"./dist/js/modules/infragistics.ui.validator.js", | ||
"./dist/js/modules/infragistics.ui.htmleditor.js", | ||
"./dist/js/modules/infragistics.ui.videoplayer.js", | ||
"./dist/js/modules/infragistics.ui.zoombar.js" | ||
] | ||
} | ||
}, | ||
"all": { | ||
files: [{ | ||
expand: true, | ||
cwd: 'dist/', | ||
src: ['**/*.js', '**/*-lite.js'], | ||
dest: 'dist/' | ||
} | ||
] | ||
} | ||
}; | ||
|
||
/** | ||
* Prepare bundles for each localization | ||
*/ | ||
for (var i = 0; i < locales.length; i++) { | ||
newFiles["./dist/js/i18n/infragistics-" + locales[i] + ".js"] = "./dist/js/modules/i18n/*-en.js"; | ||
} | ||
// keep order | ||
for (var key in module.exports.combine.files) { | ||
newFiles[key] = module.exports.combine.files[key]; | ||
} | ||
module.exports.combine.files = newFiles; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"name": "ignite-ui", | ||
"version": "0.0.2-alpha.0", | ||
"description": "Ignite UI by Infragistics", | ||
"homepage": "http://www.igniteui.com/", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/IgniteUI/ignite-ui.git" | ||
}, | ||
"keywords": [ | ||
"igniteui", | ||
"ignite ui", | ||
"infragistics", | ||
"jquery controls", | ||
"jquery widgets" | ||
], | ||
"bugs": { | ||
"url": "https://github.com/IgniteUI/ignite-ui/issues" | ||
}, | ||
"license": "Apache-2.0", | ||
"peerDependencies": { | ||
"jquery": "^2.2.4", | ||
"jquery-ui": "^1.10.5" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters