Include dist in git
This commit is contained in:
12
.gitignore
vendored
12
.gitignore
vendored
@@ -20,18 +20,6 @@
|
|||||||
/app/assets/templates/generated/
|
/app/assets/templates/generated/
|
||||||
|
|
||||||
/node_modules
|
/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
|
/.sass-cache
|
||||||
|
|
||||||
# Ignore ENV variables config
|
# Ignore ENV variables config
|
||||||
|
|||||||
15
Gruntfile.js
15
Gruntfile.js
@@ -5,7 +5,7 @@ module.exports = function(grunt) {
|
|||||||
watch: {
|
watch: {
|
||||||
haml: {
|
haml: {
|
||||||
files: ['app/assets/templates/**/*.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: {
|
options: {
|
||||||
spawn: false,
|
spawn: false,
|
||||||
},
|
},
|
||||||
@@ -13,7 +13,7 @@ module.exports = function(grunt) {
|
|||||||
|
|
||||||
js: {
|
js: {
|
||||||
files: ['app/assets/javascripts/**/*.js'],
|
files: ['app/assets/javascripts/**/*.js'],
|
||||||
tasks: [ 'concat:app', 'babel', 'browserify', 'concat:dist'],
|
tasks: [ 'concat:app', 'babel', 'browserify', 'concat:dist', 'clean'],
|
||||||
options: {
|
options: {
|
||||||
spawn: false,
|
spawn: false,
|
||||||
},
|
},
|
||||||
@@ -149,6 +149,14 @@ module.exports = function(grunt) {
|
|||||||
build: {
|
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');
|
grunt.loadNpmTasks('grunt-newer');
|
||||||
@@ -163,9 +171,10 @@ module.exports = function(grunt) {
|
|||||||
grunt.loadNpmTasks('grunt-babel');
|
grunt.loadNpmTasks('grunt-babel');
|
||||||
grunt.loadNpmTasks('grunt-browserify');
|
grunt.loadNpmTasks('grunt-browserify');
|
||||||
grunt.loadNpmTasks('grunt-ng-constant');
|
grunt.loadNpmTasks('grunt-ng-constant');
|
||||||
|
grunt.loadNpmTasks('grunt-contrib-clean');
|
||||||
|
|
||||||
grunt.registerTask('default', ['haml', 'ngtemplates', 'sass', 'concat:app', 'babel', 'browserify',
|
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',
|
grunt.registerTask('vendor', ['concat:app', 'sass', 'babel', 'browserify',
|
||||||
'concat:lib', 'concat:dist', 'concat:css', 'uglify']);
|
'concat:lib', 'concat:dist', 'concat:css', 'uglify']);
|
||||||
|
|||||||
79034
dist/javascripts/compiled.js
vendored
Normal file
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
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
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
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
21
package-lock.json
generated
@@ -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": {
|
"grunt-contrib-concat": {
|
||||||
"version": "1.0.1",
|
"version": "1.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/grunt-contrib-concat/-/grunt-contrib-concat-1.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/grunt-contrib-concat/-/grunt-contrib-concat-1.0.1.tgz",
|
||||||
|
|||||||
@@ -25,6 +25,7 @@
|
|||||||
"grunt-angular-templates": "^1.2.0",
|
"grunt-angular-templates": "^1.2.0",
|
||||||
"grunt-babel": "^8.0.0",
|
"grunt-babel": "^8.0.0",
|
||||||
"grunt-browserify": "^5.3.0",
|
"grunt-browserify": "^5.3.0",
|
||||||
|
"grunt-contrib-clean": "^2.0.0",
|
||||||
"grunt-contrib-concat": "^1.0.1",
|
"grunt-contrib-concat": "^1.0.1",
|
||||||
"grunt-contrib-copy": "^1.0.0",
|
"grunt-contrib-copy": "^1.0.0",
|
||||||
"grunt-contrib-cssmin": "^3.0.0",
|
"grunt-contrib-cssmin": "^3.0.0",
|
||||||
@@ -33,7 +34,6 @@
|
|||||||
"grunt-contrib-watch": "^1.1.0",
|
"grunt-contrib-watch": "^1.1.0",
|
||||||
"grunt-haml2html": "^0.3.1",
|
"grunt-haml2html": "^0.3.1",
|
||||||
"grunt-newer": "^1.3.0",
|
"grunt-newer": "^1.3.0",
|
||||||
"grunt-ng-annotate": "^3.0.0",
|
|
||||||
"grunt-ng-constant": "^2.0.2",
|
"grunt-ng-constant": "^2.0.2",
|
||||||
"grunt-shell": "^3.0.1",
|
"grunt-shell": "^3.0.1",
|
||||||
"mocha": "^6.2.2",
|
"mocha": "^6.2.2",
|
||||||
|
|||||||
Reference in New Issue
Block a user