fix(deps): update dependencies
This commit is contained in:
parent
30e1bbf61b
commit
d30dd196f0
|
@ -1,3 +1,4 @@
|
||||||
|
.DS_Store
|
||||||
.nyc_output
|
.nyc_output
|
||||||
coverage
|
coverage
|
||||||
node_modules
|
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",
|
"build:demo": "./bin/build-demo",
|
||||||
"format": "prettier --write .",
|
"format": "prettier --write .",
|
||||||
"lint": "eslint .",
|
"lint": "eslint .",
|
||||||
|
"postinstall": "husky install",
|
||||||
|
"postpublish": "pinst --enable",
|
||||||
|
"prepublishOnly": "pinst --disable",
|
||||||
"test": "tap"
|
"test": "tap"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"handlebars": "^4.7.6",
|
"handlebars": "^4.7.6",
|
||||||
"micromark": "^2.10.1"
|
"micromark": "^2.11.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint": "7.12.1",
|
"eslint": "7.20.0",
|
||||||
"html-validate": "3.5.0",
|
"html-validate": "4.6.0",
|
||||||
"husky": "4.3.0",
|
"husky": "5.0.9",
|
||||||
"lint-staged": "10.5.1",
|
"lint-staged": "10.5.4",
|
||||||
"prettier": "2.1.2",
|
"pinst": "2.1.4",
|
||||||
|
"prettier": "2.2.1",
|
||||||
"resume-schema": "1.0.0",
|
"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">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8">
|
||||||
<title>{{resume.basics.name}}</title>
|
<title>{{resume.basics.name}}</title>
|
||||||
<meta name="description" content="{{resume.basics.summary}}" />
|
<meta name="description" content="{{resume.basics.summary}}">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<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" />
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:400,700&display=swap">
|
||||||
<style>{{{css}}}</style>
|
<style>{{{css}}}</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
|
@ -6,14 +6,14 @@
|
||||||
*/
|
*/
|
||||||
'use strict'
|
'use strict'
|
||||||
exports[`test/render.js TAP renders a resume > must match snapshot 1`] = `
|
exports[`test/render.js TAP renders a resume > must match snapshot 1`] = `
|
||||||
<!doctype html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8">
|
||||||
<title>Richard Hendriks</title>
|
<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="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" />
|
<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" />
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:400,700&display=swap">
|
||||||
<style>:root {
|
<style>:root {
|
||||||
/* Colors */
|
/* Colors */
|
||||||
--primaryColor: #212529;
|
--primaryColor: #212529;
|
||||||
|
|
|
@ -11,9 +11,7 @@ test('renders a resume', t => {
|
||||||
|
|
||||||
test('renders valid HTML', t => {
|
test('renders valid HTML', t => {
|
||||||
const htmlvalidate = new HtmlValidate({
|
const htmlvalidate = new HtmlValidate({
|
||||||
rules: {
|
extends: ['html-validate:recommended'],
|
||||||
'void-style': ['error', { style: 'selfclosing' }],
|
|
||||||
},
|
|
||||||
})
|
})
|
||||||
|
|
||||||
const {
|
const {
|
||||||
|
|
Loading…
Reference in New Issue