chore(): remove unnecessary scripts from package

This commit is contained in:
Tim Lancina
2016-02-05 10:24:19 -06:00
parent 07f07ad799
commit 2c08ddc340
2 changed files with 10 additions and 20 deletions

View File

@ -284,8 +284,7 @@ gulp.task('sass', function() {
}); });
/** /**
* I'm not quite sure what this is for, people tell me we use it internally to * Creates Ionic themes for testing.
* test themes.
*/ */
gulp.task('sass.themes', function() { gulp.task('sass.themes', function() {
var sass = require('gulp-sass'); var sass = require('gulp-sass');
@ -336,15 +335,7 @@ gulp.task('copy.scss', function() {
gulp.task('copy.libs', function() { gulp.task('copy.libs', function() {
var merge = require('merge2'); var merge = require('merge2');
var webAnimations = gulp.src([ var webAnimations = gulp.src([
'scripts/resources/web-animations-js/web-animations.min.js', 'scripts/resources/web-animations-js/web-animations.min.js'
'node_modules/es6-shim/es6-shim.min.js',
'node_modules/systemjs/node_modules/es6-module-loader/dist/es6-module-loader.src.js',
'node_modules/systemjs/dist/system.src.js',
'node_modules/angular2/bundles/angular2-polyfills.js',
'node_modules/angular2/bundles/angular2.dev.js',
'node_modules/angular2/bundles/router.dev.js',
'node_modules/angular2/bundles/http.dev.js',
'node_modules/rxjs/bundles/Rx.js'
]) ])
.pipe(gulp.dest('dist/js')); .pipe(gulp.dest('dist/js'));

View File

@ -33,16 +33,15 @@
} }
</script> </script>
<script src="../../../js/es6-shim.min.js"></script> <script src="../../../../node_modules/systemjs/node_modules/es6-module-loader/dist/es6-module-loader.src.js"></script>
<script src="../../../js/es6-module-loader.src.js"></script> <script src="../../../../node_modules/systemjs/dist/system.src.js"></script>
<script src="../../../js/system.src.js"></script> <script src="../../../../node_modules/angular2/bundles/angular2-polyfills.js"></script>
<script src="../../../js/angular2-polyfills.js"></script> <script src="../../../../node_modules/angular2/bundles/angular2.dev.js"></script>
<script src="../../../js/angular2.dev.js"></script> <script src="../../../../node_modules/angular2/bundles/router.dev.js"></script>
<script src="../../../js/router.dev.js"></script> <script src="../../../../node_modules/angular2/bundles/http.dev.js"></script>
<script src="../../../js/http.dev.js"></script> <script src="../../../../scripts/resources/web-animations-js/web-animations.min.js"></script>
<script src="../../../js/web-animations.min.js"></script>
<script src="../../../bundles/ionic.system.js"></script> <script src="../../../bundles/ionic.system.js"></script>
<script src="../../../js/Rx.js"></script> <script src="../../../../node_modules/rxjs/bundles/Rx.js"></script>
<style> <style>
.snapshot body { .snapshot body {