FIX everything
This commit is contained in:
parent
2174db4e5c
commit
e470e2538f
23
Gruntfile.js
23
Gruntfile.js
@ -1,4 +1,5 @@
|
|||||||
module.exports = function(grunt) {
|
module.exports = function(grunt) {
|
||||||
|
grunt.loadNpmTasks('grunt-exec');
|
||||||
require('load-grunt-tasks')(grunt);
|
require('load-grunt-tasks')(grunt);
|
||||||
grunt.initConfig({
|
grunt.initConfig({
|
||||||
babel: {
|
babel: {
|
||||||
@ -12,21 +13,9 @@ module.exports = function(grunt) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
execute: {
|
exec: {
|
||||||
less: {
|
less: 'node --harmony-async-await src/app.js less',
|
||||||
options: {
|
wait: 'node --harmony-async-await src/app.js wait'
|
||||||
nodeargs: ['--harmony-async-await'],
|
|
||||||
args: ['less']
|
|
||||||
},
|
|
||||||
src: ['src/app.js']
|
|
||||||
},
|
|
||||||
wait: {
|
|
||||||
options: {
|
|
||||||
nodeargs: ['--harmony-async-await'],
|
|
||||||
args: ['wait']
|
|
||||||
},
|
|
||||||
src: ['src/app.js']
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
bgShell: {
|
bgShell: {
|
||||||
_defaults: {
|
_defaults: {
|
||||||
@ -44,7 +33,7 @@ module.exports = function(grunt) {
|
|||||||
'resumes/**/*.less',
|
'resumes/**/*.less',
|
||||||
'less/**/*.less'
|
'less/**/*.less'
|
||||||
],
|
],
|
||||||
tasks: ['execute', 'babel', 'bgShell:express', 'execute:wait'],
|
tasks: ['exec:less', 'babel', 'bgShell:express', 'exec:wait'],
|
||||||
options: {
|
options: {
|
||||||
nospawn: false,
|
nospawn: false,
|
||||||
livereload: true
|
livereload: true
|
||||||
@ -53,5 +42,5 @@ module.exports = function(grunt) {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
grunt.registerTask('default', ['babel', 'execute:less', 'bgShell:express', 'execute:wait', 'watch']);
|
grunt.registerTask('default', ['babel', 'exec:less', 'bgShell:express', 'exec:wait', 'watch']);
|
||||||
};
|
};
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
module.exports = function(grunt) {
|
module.exports = function(grunt) {
|
||||||
|
grunt.loadNpmTasks('grunt-exec');
|
||||||
require('load-grunt-tasks')(grunt);
|
require('load-grunt-tasks')(grunt);
|
||||||
grunt.initConfig({
|
grunt.initConfig({
|
||||||
babel: {
|
babel: {
|
||||||
@ -12,23 +13,11 @@ module.exports = function(grunt) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
execute: {
|
exec: {
|
||||||
less: {
|
less: 'node --harmony-async-await src/app.js less',
|
||||||
options: {
|
pdf: 'node --harmony-async-await src/app.js pdf'
|
||||||
nodeargs: ['--harmony-async-await'],
|
|
||||||
args: ['less']
|
|
||||||
},
|
|
||||||
src: ['src/app.js']
|
|
||||||
},
|
|
||||||
pdf: {
|
|
||||||
options: {
|
|
||||||
nodeargs: ['--harmony-async-await'],
|
|
||||||
args: ['pdf']
|
|
||||||
},
|
|
||||||
src: ['src/app.js']
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
grunt.registerTask('default', ['babel', 'execute']);
|
grunt.registerTask('default', ['babel', 'exec:less', 'exec:pdf']);
|
||||||
};
|
};
|
||||||
|
|||||||
151
package.json
151
package.json
@ -1,79 +1,76 @@
|
|||||||
{
|
{
|
||||||
"name": "best-resume-ever",
|
"name": "best-resume-ever",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "Collection of multiple resumes build with LESS and Mustache Templates.",
|
"description": "Collection of multiple resumes build with LESS and Mustache Templates.",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/salomonelli/best-resume-ever"
|
"url": "git+https://github.com/salomonelli/best-resume-ever"
|
||||||
},
|
},
|
||||||
"author": "salomonelli",
|
"author": "salomonelli",
|
||||||
"homepage": "https://github.com/salomonelli/best-resume-ever",
|
"homepage": "https://github.com/salomonelli/best-resume-ever",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"resume",
|
"resume",
|
||||||
"template",
|
"template",
|
||||||
"mustache",
|
"mustache",
|
||||||
"less",
|
"less",
|
||||||
"cv",
|
"cv",
|
||||||
"curriculum",
|
"curriculum",
|
||||||
"vitae",
|
"vitae",
|
||||||
"electron",
|
"electron",
|
||||||
"grunt"
|
"grunt"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"server": "node --harmony-async-await src/app.js server",
|
"server": "node --harmony-async-await src/app.js server",
|
||||||
"dev": "grunt --verbose",
|
"dev": "grunt --verbose",
|
||||||
"pdf": "concurrently \"npm run server\" \"grunt --gruntfile GruntfilePdf.js --verbose\"",
|
"pdf": "concurrently \"npm run server\" \"grunt --gruntfile GruntfilePdf.js --verbose\"",
|
||||||
"lint": "eslint src/",
|
"lint": "eslint src/"
|
||||||
"test": "nyc mocha --harmony-async-await \"test/*.js\"",
|
},
|
||||||
"istanbul": "istanbul cover node_modules/.bin/_mocha -- -- -u exports test/**/* --harmony-async-await"
|
"dependencies": {
|
||||||
},
|
"@typopro/web-montserrat": "3.4.9",
|
||||||
"dependencies": {
|
"babel-cli": "6.23.0",
|
||||||
"@typopro/web-montserrat": "3.4.9",
|
"babel-core": "6.23.1",
|
||||||
"babel-cli": "6.22.2",
|
"babel-preset-es2015": "6.22.0",
|
||||||
"babel-core": "6.22.1",
|
"buffer-to-string": "0.1.0",
|
||||||
"babel-preset-es2015": "6.22.0",
|
"clean-css": "4.0.8",
|
||||||
"buffer-to-string": "0.1.0",
|
"electroshot": "1.2.0",
|
||||||
"clean-css": "4.0.4",
|
"express": "4.15.0",
|
||||||
"electroshot": "1.2.0",
|
"font-awesome": "4.7.0",
|
||||||
"express": "4.14.1",
|
"fs": "0.0.2",
|
||||||
"font-awesome": "4.7.0",
|
"hogan-express": "0.5.2",
|
||||||
"fs": "0.0.1-security",
|
"html-pdf": "2.1.0",
|
||||||
"hogan-express": "0.5.2",
|
"html-to-pdf": "0.1.11",
|
||||||
"html-pdf": "2.1.0",
|
"http": "0.0.0",
|
||||||
"html-to-pdf": "0.1.11",
|
"jquery": "3.1.1",
|
||||||
"http": "0.0.0",
|
"less": "2.7.2",
|
||||||
"jquery": "3.1.1",
|
"less-plugin-clean-css": "1.5.1",
|
||||||
"less": "2.7.2",
|
"local-web-server": "1.2.6",
|
||||||
"less-plugin-clean-css": "1.5.1",
|
"markdown-to-html": "0.0.13",
|
||||||
"local-web-server": "1.2.6",
|
"material-design-icons": "3.0.1",
|
||||||
"markdown-to-html": "0.0.13",
|
"mustache": "2.3.0",
|
||||||
"material-design-icons": "3.0.1",
|
"mustache-express": "1.2.4",
|
||||||
"mustache": "2.3.0",
|
"normalize.css": "5.0.0",
|
||||||
"mustache-express": "1.2.4",
|
"npm-font-open-sans-condensed": "1.0.3",
|
||||||
"normalize.css": "5.0.0",
|
"open-sans-fontface": "1.4.0",
|
||||||
"npm-font-open-sans-condensed": "1.0.3",
|
"path": "0.12.7",
|
||||||
"open-sans-fontface": "1.4.0",
|
"phantomjs-prebuilt": "2.1.14",
|
||||||
"path": "0.12.7",
|
"raleway-webfont": "3.0.1",
|
||||||
"phantomjs-prebuilt": "2.1.14",
|
"request": "2.80.0",
|
||||||
"raleway-webfont": "3.0.1",
|
"request-promise": "4.1.1",
|
||||||
"request": "2.79.0",
|
"roboto-fontface": "0.7.0",
|
||||||
"request-promise": "4.1.1",
|
"showdown": "1.6.4",
|
||||||
"roboto-fontface": "0.7.0",
|
"typeface-chivo": "0.0.22",
|
||||||
"showdown": "1.6.3",
|
"write": "0.3.2"
|
||||||
"typeface-chivo": "0.0.22",
|
},
|
||||||
"write": "0.3.2"
|
"devDependencies": {
|
||||||
},
|
"concurrently": "3.4.0",
|
||||||
"devDependencies": {
|
"eslint": "3.17.0",
|
||||||
"eslint": "3.15.0",
|
"grunt": "1.0.1",
|
||||||
"grunt": "1.0.1",
|
"grunt-babel": "6.0.0",
|
||||||
"grunt-babel": "6.0.0",
|
"grunt-bg-shell": "2.3.3",
|
||||||
"grunt-bg-shell": "^2.3.3",
|
"grunt-cli": "1.2.0",
|
||||||
"grunt-cli": "1.2.0",
|
"grunt-contrib-watch": "1.0.0",
|
||||||
"grunt-contrib-watch": "1.0.0",
|
"grunt-exec": "2.0.0",
|
||||||
"grunt-execute": "0.2.2",
|
"load-grunt-tasks": "3.5.2",
|
||||||
"load-grunt-tasks": "3.5.2",
|
"reload": "1.1.1"
|
||||||
"mocha": "3.2.0",
|
}
|
||||||
"nyc": "10.1.2",
|
|
||||||
"reload": "1.1.1"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2
public/styles/style.min.css
vendored
2
public/styles/style.min.css
vendored
File diff suppressed because one or more lines are too long
@ -1,8 +0,0 @@
|
|||||||
/* global it, describe */
|
|
||||||
const assert = require('assert');
|
|
||||||
const Config = require('../../src/node/Config');
|
|
||||||
describe('Config', () => {
|
|
||||||
it('should contain a valid port number', () => {
|
|
||||||
assert(Config.port > 0);
|
|
||||||
});
|
|
||||||
});
|
|
||||||
@ -1 +0,0 @@
|
|||||||
any content to be read
|
|
||||||
@ -1 +0,0 @@
|
|||||||
alskldjaksldjaklsjdla0.8618659579531889
|
|
||||||
@ -1,9 +0,0 @@
|
|||||||
/* global it, describe */
|
|
||||||
const assert = require('assert');
|
|
||||||
describe('Array', () => {
|
|
||||||
describe('#indexOf()', () => {
|
|
||||||
it('should return -1 when the value is not present', () => {
|
|
||||||
assert.equal(-1, [1, 2, 3].indexOf(4));
|
|
||||||
});
|
|
||||||
});
|
|
||||||
});
|
|
||||||
Loading…
x
Reference in New Issue
Block a user