fix(deps): update dependencies
This commit is contained in:
parent
30e1bbf61b
commit
d30dd196f0
|
@ -1,3 +1,4 @@
|
|||
.DS_Store
|
||||
.nyc_output
|
||||
coverage
|
||||
node_modules
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
_
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
npx --no lint-staged
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
npx --no tap
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"hooks": {
|
||||
"pre-commit": "lint-staged",
|
||||
"pre-push": "tap"
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
18
package.json
18
package.json
|
@ -22,19 +22,23 @@
|
|||
"build:demo": "./bin/build-demo",
|
||||
"format": "prettier --write .",
|
||||
"lint": "eslint .",
|
||||
"postinstall": "husky install",
|
||||
"postpublish": "pinst --enable",
|
||||
"prepublishOnly": "pinst --disable",
|
||||
"test": "tap"
|
||||
},
|
||||
"dependencies": {
|
||||
"handlebars": "^4.7.6",
|
||||
"micromark": "^2.10.1"
|
||||
"micromark": "^2.11.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "7.12.1",
|
||||
"html-validate": "3.5.0",
|
||||
"husky": "4.3.0",
|
||||
"lint-staged": "10.5.1",
|
||||
"prettier": "2.1.2",
|
||||
"eslint": "7.20.0",
|
||||
"html-validate": "4.6.0",
|
||||
"husky": "5.0.9",
|
||||
"lint-staged": "10.5.4",
|
||||
"pinst": "2.1.4",
|
||||
"prettier": "2.2.1",
|
||||
"resume-schema": "1.0.0",
|
||||
"tap": "14.10.8"
|
||||
"tap": "14.11.0"
|
||||
}
|
||||
}
|
||||
|
|
10
resume.hbs
10
resume.hbs
|
@ -1,11 +1,11 @@
|
|||
<!doctype html>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta charset="utf-8">
|
||||
<title>{{resume.basics.name}}</title>
|
||||
<meta name="description" content="{{resume.basics.summary}}" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:400,700&display=swap" />
|
||||
<meta name="description" content="{{resume.basics.summary}}">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:400,700&display=swap">
|
||||
<style>{{{css}}}</style>
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -6,14 +6,14 @@
|
|||
*/
|
||||
'use strict'
|
||||
exports[`test/render.js TAP renders a resume > must match snapshot 1`] = `
|
||||
<!doctype html>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta charset="utf-8">
|
||||
<title>Richard Hendriks</title>
|
||||
<meta name="description" content="Richard hails from Tulsa. He has earned degrees from the University of Oklahoma and Stanford. (Go Sooners and Cardinal!) Before starting Pied Piper, he worked for Hooli as a part time software developer. While his work focuses on applied information theory, mostly optimizing lossless compression schema of both the length-limited and adaptive variants, his non-work interests range widely, everything from quantum computing to chaos theory. He could tell you about it, but THAT would NOT be a “length-limited” conversation!" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:400,700&display=swap" />
|
||||
<meta name="description" content="Richard hails from Tulsa. He has earned degrees from the University of Oklahoma and Stanford. (Go Sooners and Cardinal!) Before starting Pied Piper, he worked for Hooli as a part time software developer. While his work focuses on applied information theory, mostly optimizing lossless compression schema of both the length-limited and adaptive variants, his non-work interests range widely, everything from quantum computing to chaos theory. He could tell you about it, but THAT would NOT be a “length-limited” conversation!">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:400,700&display=swap">
|
||||
<style>:root {
|
||||
/* Colors */
|
||||
--primaryColor: #212529;
|
||||
|
|
|
@ -11,9 +11,7 @@ test('renders a resume', t => {
|
|||
|
||||
test('renders valid HTML', t => {
|
||||
const htmlvalidate = new HtmlValidate({
|
||||
rules: {
|
||||
'void-style': ['error', { style: 'selfclosing' }],
|
||||
},
|
||||
extends: ['html-validate:recommended'],
|
||||
})
|
||||
|
||||
const {
|
||||
|
|
Loading…
Reference in New Issue