Include dist in git

This commit is contained in:
Mo Bitar 2019-10-22 13:46:54 -05:00
parent f28841f493
commit ff527ea8b8
No known key found for this signature in database
GPG Key ID: C9EAD0759817F96F
8 changed files with 81987 additions and 16 deletions

12
.gitignore vendored
View File

@ -20,18 +20,6 @@
/app/assets/templates/generated/
/node_modules
/dist
/dist/javascripts/app.js
/dist/javascripts/compiled.js
/dist/javascripts/transpiled.js
/dist/javascripts/transpiled.js.map
/dist/javascripts/compiled.min.js
/dist/javascripts/lib.js
/dist/javascripts/templates.js
/dist/stylesheets/app.css
/dist/stylesheets/app.css.map
/.sass-cache
# Ignore ENV variables config

View File

@ -5,7 +5,7 @@ module.exports = function(grunt) {
watch: {
haml: {
files: ['app/assets/templates/**/*.haml'],
tasks: ['newer:haml', 'ngtemplates', 'concat:app', 'babel', 'browserify', 'concat:dist'],
tasks: ['newer:haml', 'ngtemplates', 'concat:app', 'babel', 'browserify', 'concat:dist', 'clean'],
options: {
spawn: false,
},
@ -13,7 +13,7 @@ module.exports = function(grunt) {
js: {
files: ['app/assets/javascripts/**/*.js'],
tasks: [ 'concat:app', 'babel', 'browserify', 'concat:dist'],
tasks: [ 'concat:app', 'babel', 'browserify', 'concat:dist', 'clean'],
options: {
spawn: false,
},
@ -149,6 +149,14 @@ module.exports = function(grunt) {
build: {
}
},
clean: [
'dist/javascripts/app.js',
'dist/javascripts/lib.js',
'dist/javascripts/templates.js',
'dist/javascripts/transpiled.js',
'dist/javascripts/transpiled.js.map',
]
});
grunt.loadNpmTasks('grunt-newer');
@ -163,9 +171,10 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-babel');
grunt.loadNpmTasks('grunt-browserify');
grunt.loadNpmTasks('grunt-ng-constant');
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.registerTask('default', ['haml', 'ngtemplates', 'sass', 'concat:app', 'babel', 'browserify',
'concat:lib', 'concat:dist', 'concat:css', 'uglify', 'ngconstant:build']);
'concat:lib', 'concat:dist', 'concat:css', 'uglify', 'ngconstant:build', 'clean']);
grunt.registerTask('vendor', ['concat:app', 'sass', 'babel', 'browserify',
'concat:lib', 'concat:dist', 'concat:css', 'uglify']);

79034
dist/javascripts/compiled.js vendored Normal file

File diff suppressed because it is too large Load Diff

1
dist/javascripts/compiled.min.js vendored Normal file

File diff suppressed because one or more lines are too long

2911
dist/stylesheets/app.css vendored Normal file

File diff suppressed because it is too large Load Diff

7
dist/stylesheets/app.css.map vendored Normal file

File diff suppressed because one or more lines are too long

21
package-lock.json generated
View File

@ -3794,6 +3794,27 @@
}
}
},
"grunt-contrib-clean": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/grunt-contrib-clean/-/grunt-contrib-clean-2.0.0.tgz",
"integrity": "sha512-g5ZD3ORk6gMa5ugZosLDQl3dZO7cI3R14U75hTM+dVLVxdMNJCPVmwf9OUt4v4eWgpKKWWoVK9DZc1amJp4nQw==",
"dev": true,
"requires": {
"async": "^2.6.1",
"rimraf": "^2.6.2"
},
"dependencies": {
"async": {
"version": "2.6.3",
"resolved": "https://registry.npmjs.org/async/-/async-2.6.3.tgz",
"integrity": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==",
"dev": true,
"requires": {
"lodash": "^4.17.14"
}
}
}
},
"grunt-contrib-concat": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/grunt-contrib-concat/-/grunt-contrib-concat-1.0.1.tgz",

View File

@ -25,6 +25,7 @@
"grunt-angular-templates": "^1.2.0",
"grunt-babel": "^8.0.0",
"grunt-browserify": "^5.3.0",
"grunt-contrib-clean": "^2.0.0",
"grunt-contrib-concat": "^1.0.1",
"grunt-contrib-copy": "^1.0.0",
"grunt-contrib-cssmin": "^3.0.0",
@ -33,7 +34,6 @@
"grunt-contrib-watch": "^1.1.0",
"grunt-haml2html": "^0.3.1",
"grunt-newer": "^1.3.0",
"grunt-ng-annotate": "^3.0.0",
"grunt-ng-constant": "^2.0.2",
"grunt-shell": "^3.0.1",
"mocha": "^6.2.2",