Add formatting
- Add format script - Format all files - Add .prettierignore - Add .prettierrc.json - Add Prettier dev dependency
This commit is contained in:
parent
12d28f3dc8
commit
a7a8ca14b3
|
@ -0,0 +1 @@
|
|||
tap-snapshots
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"arrowParens": "avoid",
|
||||
"semi": false,
|
||||
"singleQuote": true,
|
||||
"trailingComma": "all"
|
||||
}
|
|
@ -1,5 +1,4 @@
|
|||
jsonresume-theme-even
|
||||
=====================
|
||||
# jsonresume-theme-even
|
||||
|
||||
[![npm package version](https://img.shields.io/npm/v/jsonresume-theme-even.svg)](https://www.npmjs.com/package/jsonresume-theme-even)
|
||||
[![Dependency status](https://img.shields.io/david/rbardini/jsonresume-theme-even.svg)](https://david-dm.org/rbardini/jsonresume-theme-even)
|
||||
|
|
46
index.js
46
index.js
|
@ -1,28 +1,28 @@
|
|||
var fs = require("fs");
|
||||
var Handlebars = require("handlebars");
|
||||
var fs = require('fs')
|
||||
var Handlebars = require('handlebars')
|
||||
|
||||
module.exports = {
|
||||
render: render
|
||||
};
|
||||
|
||||
function render(resume) {
|
||||
var css = fs.readFileSync(__dirname + "/style.css", "utf-8");
|
||||
var template = fs.readFileSync(__dirname + "/resume.hbs", "utf-8");
|
||||
return Handlebars.compile(template)({
|
||||
css: css,
|
||||
resume: resume
|
||||
});
|
||||
render: render,
|
||||
}
|
||||
|
||||
Handlebars.registerHelper("formatDate", function(dateString) {
|
||||
const date = new Date(dateString);
|
||||
return date.toLocaleDateString("en", {
|
||||
month: "short",
|
||||
year: "numeric"
|
||||
});
|
||||
});
|
||||
function render(resume) {
|
||||
var css = fs.readFileSync(__dirname + '/style.css', 'utf-8')
|
||||
var template = fs.readFileSync(__dirname + '/resume.hbs', 'utf-8')
|
||||
return Handlebars.compile(template)({
|
||||
css: css,
|
||||
resume: resume,
|
||||
})
|
||||
}
|
||||
|
||||
Handlebars.registerHelper("join", function(arr, separator) {
|
||||
separator = typeof separator === "string" ? separator : ", ";
|
||||
return arr.join(separator);
|
||||
});
|
||||
Handlebars.registerHelper('formatDate', function (dateString) {
|
||||
const date = new Date(dateString)
|
||||
return date.toLocaleDateString('en', {
|
||||
month: 'short',
|
||||
year: 'numeric',
|
||||
})
|
||||
})
|
||||
|
||||
Handlebars.registerHelper('join', function (arr, separator) {
|
||||
separator = typeof separator === 'string' ? separator : ', '
|
||||
return arr.join(separator)
|
||||
})
|
||||
|
|
|
@ -1938,6 +1938,12 @@
|
|||
"integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==",
|
||||
"dev": true
|
||||
},
|
||||
"prettier": {
|
||||
"version": "2.0.5",
|
||||
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.0.5.tgz",
|
||||
"integrity": "sha512-7PtVymN48hGcO4fGjybyBSIWDsLU4H4XlvOHfq91pz9kkGlonzwTfYkaIEwiRg/dAJF9YlbsduBAgtYLi+8cFg==",
|
||||
"dev": true
|
||||
},
|
||||
"progress": {
|
||||
"version": "2.0.3",
|
||||
"resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz",
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
"style.css"
|
||||
],
|
||||
"scripts": {
|
||||
"format": "prettier --write .",
|
||||
"lint": "eslint .",
|
||||
"test": "tap"
|
||||
},
|
||||
|
@ -26,6 +27,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"eslint": "7.4.0",
|
||||
"prettier": "2.0.5",
|
||||
"tap": "14.10.7"
|
||||
}
|
||||
}
|
||||
|
|
13
style.css
13
style.css
|
@ -1,8 +1,9 @@
|
|||
@font-face {
|
||||
font-family: "Octicons";
|
||||
font-family: 'Octicons';
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
src: url("data:font/woff;base64,d09GRgABAAAAAAWgAAsAAAAABVQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABCAA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AAAAAOAK4AAQAAAAAAAQAIAAAAAQAAAAAAAgAHAGkAAQAAAAAAAwAIADkAAQAAAAAABAAIAH4AAQAAAAAABQALABgAAQAAAAAABgAIAFEAAQAAAAAACgAaAJYAAwABBAkAAQAQAAgAAwABBAkAAgAOAHAAAwABBAkAAwAQAEEAAwABBAkABAAQAIYAAwABBAkABQAWACMAAwABBAkABgAQAFkAAwABBAkACgA0ALBvY3RpY29ucwBvAGMAdABpAGMAbwBuAHNWZXJzaW9uIDEuMABWAGUAcgBzAGkAbwBuACAAMQAuADBvY3RpY29ucwBvAGMAdABpAGMAbwBuAHNvY3RpY29ucwBvAGMAdABpAGMAbwBuAHNSZWd1bGFyAFIAZQBnAHUAbABhAHJvY3RpY29ucwBvAGMAdABpAGMAbwBuAHNGb250IGdlbmVyYXRlZCBieSBJY29Nb29uLgBGAG8AbgB0ACAAZwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABJAGMAbwBNAG8AbwBuAC4AAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA')
|
||||
format('woff');
|
||||
}
|
||||
html {
|
||||
font-size: 14px;
|
||||
|
@ -28,12 +29,12 @@ li {
|
|||
list-style: none;
|
||||
}
|
||||
li:before {
|
||||
content: "\f052";
|
||||
content: '\f052';
|
||||
float: left;
|
||||
font: 13px Octicons;
|
||||
margin-top: 6px;
|
||||
margin-left: -20px;
|
||||
opacity: .1;
|
||||
opacity: 0.1;
|
||||
position: absolute;
|
||||
}
|
||||
blockquote {
|
||||
|
@ -97,7 +98,7 @@ h4 span:first-child {
|
|||
font-weight: bold;
|
||||
}
|
||||
#education .area:before {
|
||||
content: "\f0d7";
|
||||
content: '\f0d7';
|
||||
font: 16px Octicons;
|
||||
margin-right: 6px;
|
||||
vertical-align: bottom;
|
||||
|
@ -156,7 +157,7 @@ h4 span:first-child {
|
|||
text-align: left;
|
||||
}
|
||||
#publications .website a:before {
|
||||
content: "View publication";
|
||||
content: 'View publication';
|
||||
}
|
||||
}
|
||||
@media (max-width: 480px) {
|
||||
|
|
|
@ -17,10 +17,11 @@ exports[`test/render.js TAP renders a resume > must match snapshot 1`] = `
|
|||
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" />
|
||||
<style>
|
||||
@font-face {
|
||||
font-family: "Octicons";
|
||||
font-family: 'Octicons';
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
src: url("data:font/woff;base64,d09GRgABAAAAAAWgAAsAAAAABVQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABCAAAAGAAAABgDxIMrGNtYXAAAAFoAAAAXAAAAFzxE/EEZ2FzcAAAAcQAAAAIAAAACAAAABBnbHlmAAABzAAAAXwAAAF8tFkZ3GhlYWQAAANIAAAANgAAADYYMkpraGhlYQAAA4AAAAAkAAAAJAfBA8dobXR4AAADpAAAABgAAAAYDAAAAWxvY2EAAAO8AAAADgAAAA4A5gBgbWF4cAAAA8wAAAAgAAAAIAAKAFBuYW1lAAAD7AAAAZIAAAGSxxxndHBvc3QAAAWAAAAAIAAAACAAAwAAAAMCqwGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAA8NcDwP/AAEADwABAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAwAAAAMAAAAcAAEAAwAAABwAAwABAAAAHAAEAEAAAAAMAAgAAgAEAAEAIPBS8Nf//f//AAAAAAAg8FLw1//9//8AAf/jD7IPLgADAAEAAAAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAwAIAAsAAGwAAEzQ3PgE3NjMyFx4BFxYVFAcOAQcGIyInLgEnJgAUFEYvLjU1Li9GFBQUFEYvLjU1Li9GFBQBwDUuL0YUFBQURi8uNTUuL0YUFBQURi8uAAMAAQ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SUbGiYDDQGZAgwHCAwCmAEBYl0IHRIJEAcHEAmlGhqlCRAHBxAJER4IcSQCCwgICwKZAQH+s0wCAkygMDAwMAFADRMTDQ0TEwAAAAEAAAABAADtMnsXXw889QALBAAAAAAA2oqDMAAAAADaioMwAAAAAAP/Aw4AAAAIAAIAAAAAAAAAAQAAA8D/wAAABAAAAAAAA/8AAQAAAAAAAAAAAAAAAAAAAAYEAAAAAAAAAAAAAAACAAAAAgAAAAQAAAEAAAAAAAoAFAAeAEwAvgAAAAEAAAAGAE4AAwAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAOAK4AAQAAAAAAAQAIAAAAAQAAAAAAAgAHAGkAAQAAAAAAAwAIADkAAQAAAAAABAAIAH4AAQAAAAAABQALABgAAQAAAAAABgAIAFEAAQAAAAAACgAaAJYAAwABBAkAAQAQAAgAAwABBAkAAgAOAHAAAwABBAkAAwAQAEEAAwABBAkABAAQAIYAAwABBAkABQAWACMAAwABBAkABgAQAFkAAwABBAkACgA0ALBvY3RpY29ucwBvAGMAdABpAGMAbwBuAHNWZXJzaW9uIDEuMABWAGUAcgBzAGkAbwBuACAAMQAuADBvY3RpY29ucwBvAGMAdABpAGMAbwBuAHNvY3RpY29ucwBvAGMAdABpAGMAbwBuAHNSZWd1bGFyAFIAZQBnAHUAbABhAHJvY3RpY29ucwBvAGMAdABpAGMAbwBuAHNGb250IGdlbmVyYXRlZCBieSBJY29Nb29uLgBGAG8AbgB0ACAAZwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABJAGMAbwBNAG8AbwBuAC4AAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA')
|
||||
format('woff');
|
||||
}
|
||||
html {
|
||||
font-size: 14px;
|
||||
|
@ -46,12 +47,12 @@ li {
|
|||
list-style: none;
|
||||
}
|
||||
li:before {
|
||||
content: "\\f052";
|
||||
content: '\\f052';
|
||||
float: left;
|
||||
font: 13px Octicons;
|
||||
margin-top: 6px;
|
||||
margin-left: -20px;
|
||||
opacity: .1;
|
||||
opacity: 0.1;
|
||||
position: absolute;
|
||||
}
|
||||
blockquote {
|
||||
|
@ -115,7 +116,7 @@ h4 span:first-child {
|
|||
font-weight: bold;
|
||||
}
|
||||
#education .area:before {
|
||||
content: "\\f0d7";
|
||||
content: '\\f0d7';
|
||||
font: 16px Octicons;
|
||||
margin-right: 6px;
|
||||
vertical-align: bottom;
|
||||
|
@ -174,7 +175,7 @@ h4 span:first-child {
|
|||
text-align: left;
|
||||
}
|
||||
#publications .website a:before {
|
||||
content: "View publication";
|
||||
content: 'View publication';
|
||||
}
|
||||
}
|
||||
@media (max-width: 480px) {
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
const { test } = require('tap')
|
||||
|
||||
const { render } = require('..');
|
||||
const { render } = require('..')
|
||||
const resume = require('./resume.json')
|
||||
|
||||
test('renders a resume', t => {
|
||||
t.matchSnapshot(render(resume));
|
||||
t.end();
|
||||
t.matchSnapshot(render(resume))
|
||||
t.end()
|
||||
})
|
||||
|
|
|
@ -53,9 +53,7 @@
|
|||
"startDate": "2012-01-01",
|
||||
"endDate": "2013-01-01",
|
||||
"summary": "Global movement of free coding clubs for young people.",
|
||||
"highlights": [
|
||||
"Awarded 'Teacher of the Month'"
|
||||
]
|
||||
"highlights": ["Awarded 'Teacher of the Month'"]
|
||||
}
|
||||
],
|
||||
"education": [
|
||||
|
@ -67,10 +65,7 @@
|
|||
"startDate": "2011-06-01",
|
||||
"endDate": "2014-01-01",
|
||||
"gpa": "4.0",
|
||||
"courses": [
|
||||
"DB1101 - Basic SQL",
|
||||
"CS2011 - Java Introduction"
|
||||
]
|
||||
"courses": ["DB1101 - Basic SQL", "CS2011 - Java Introduction"]
|
||||
}
|
||||
],
|
||||
"awards": [
|
||||
|
@ -94,20 +89,12 @@
|
|||
{
|
||||
"name": "Web Development",
|
||||
"level": "Master",
|
||||
"keywords": [
|
||||
"HTML",
|
||||
"CSS",
|
||||
"Javascript"
|
||||
]
|
||||
"keywords": ["HTML", "CSS", "Javascript"]
|
||||
},
|
||||
{
|
||||
"name": "Compression",
|
||||
"level": "Master",
|
||||
"keywords": [
|
||||
"Mpeg",
|
||||
"MP4",
|
||||
"GIF"
|
||||
]
|
||||
"keywords": ["Mpeg", "MP4", "GIF"]
|
||||
}
|
||||
],
|
||||
"languages": [
|
||||
|
@ -119,10 +106,7 @@
|
|||
"interests": [
|
||||
{
|
||||
"name": "Wildlife",
|
||||
"keywords": [
|
||||
"Ferrets",
|
||||
"Unicorns"
|
||||
]
|
||||
"keywords": ["Ferrets", "Unicorns"]
|
||||
}
|
||||
],
|
||||
"references": [
|
||||
|
@ -140,15 +124,11 @@
|
|||
"Built by all women team of newbie programmers",
|
||||
"Using modern technologies such as GoogleMaps, Chrome Extension and Javascript"
|
||||
],
|
||||
"keywords": [
|
||||
"GoogleMaps", "Chrome Extension", "Javascript"
|
||||
],
|
||||
"keywords": ["GoogleMaps", "Chrome Extension", "Javascript"],
|
||||
"startDate": "2016-08-24",
|
||||
"endDate": "2016-08-24",
|
||||
"url": "missdirection.example.com",
|
||||
"roles": [
|
||||
"Team lead", "Designer"
|
||||
],
|
||||
"roles": ["Team lead", "Designer"],
|
||||
"entity": "Smoogle",
|
||||
"type": "application"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue