Skip to content

Commit

Permalink
add Travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalyster committed Jan 6, 2019
1 parent 58cbad1 commit bfbbd89
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 19 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
language: node_js
node_js:
- "11"
- "10"
- "8"
script: npm run build
12 changes: 6 additions & 6 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,9 @@ module.exports = function(grunt) {
}
}
},
execute: {
exec: {
renderersCompiler: {
src: ['renderersCompiler.js']
command: 'node renderersCompiler.js'
}
},
sed: {
Expand Down Expand Up @@ -235,12 +235,12 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-contrib-compress');
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-node-webkit-builder');
grunt.loadNpmTasks('grunt-nw-builder');
grunt.loadNpmTasks('grunt-sass');
grunt.loadNpmTasks('grunt-sed');
grunt.loadNpmTasks('grunt-execute');
grunt.registerTask('default', ['clean:build', 'execute', 'sass', 'copy', 'sed', 'clean:css', 'compress']);
grunt.registerTask('with-desktop', ['clean', 'execute', 'sass', 'copy', 'sed', 'clean:css', 'compress', 'nwjs']);
grunt.loadNpmTasks('grunt-exec');
grunt.registerTask('default', ['clean:build', 'exec', 'sass', 'copy', 'sed', 'clean:css', 'compress']);
grunt.registerTask('with-desktop', ['clean', 'exec', 'sass', 'copy', 'sed', 'clean:css', 'compress', 'nwjs']);
grunt.registerTask('devel', ['connect', 'watch']);
grunt.registerTask('docstrap', ['copy:importDocstrapTemplate', 'copy:importJsdocConfig', 'copy:logoToDocstrap']);
};
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"url": "https://github.com/loqui/im"
},
"license": {
"type": "AGPL"
"type": "AGPL-3.0-only"
},
"scripts": {
"build": "grunt",
Expand All @@ -25,20 +25,20 @@
"jshint"
],
"devDependencies": {
"grunt": "~0.4.1",
"grunt-cli": "0.1.13",
"grunt-contrib-clean": "~0.6.0",
"grunt-contrib-compress": "~0.13.0",
"grunt-contrib-connect": "~0.11.2",
"grunt-contrib-copy": "~0.8.1",
"grunt-contrib-watch": "~0.6.1",
"grunt": "^1.0.3",
"grunt-cli": "^1.3.2",
"grunt-contrib-clean": "~2.0.0",
"grunt-contrib-compress": "^1.4.3",
"grunt-contrib-connect": "~2.0.0",
"grunt-contrib-copy": "~1.0.0",
"grunt-contrib-watch": "~1.1.0",
"grunt-debian-package": "~0.1.13",
"grunt-execute": "~0.2.2",
"grunt-node-webkit-builder": "~1.0.2",
"grunt-exec": "^3.0.0",
"grunt-nw-builder": "^3.1.0",
"grunt-sass": "^3.0.2",
"grunt-sed": "^0.1.1",
"grunt-sed": "https://github.com/gruntjs-updater/grunt-sed.git#peerDep",
"ink-docstrap": "git://github.com/TitanNano/docstrap.git",
"jsdom": "~6.5.1",
"jsdom": "~13.1.0",
"jshint": "^2.6.0",
"node-sass": "^4.11.0",
"pre-commit": "^1.0.1"
Expand Down
2 changes: 1 addition & 1 deletion renderersCompiler.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
var fs = require('fs');
var jsdom = require('jsdom');

jsdom.env('src/index.html', {
var dom = new jsdom.JSDOM('src/index.html', {
scripts: ['scripts/meteor/blaze.js'],
done: function (errors, window) {
var renderers = '/* jshint -W069 */\nRenderers = {};';
Expand Down

0 comments on commit bfbbd89

Please sign in to comment.