1
1
mirror of https://github.com/theoludwig/html-w3c-validator.git synced 2025-05-21 23:21:29 +02:00

feat: add html-w3c-validator command

This commit is contained in:
Divlo
2022-01-06 22:34:58 +01:00
parent 39b05c66a7
commit 77cefcd53f
18 changed files with 34634 additions and 449 deletions

View File

@ -0,0 +1,3 @@
{
"urls": ["http://localhost:3000/", "http://localhost:3000/about"]
}

11
example/build/about.html Normal file
View File

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>About</title>
</head>
<body>
</body>
</html>

9
example/build/index.html Normal file
View File

@ -0,0 +1,9 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Home</title>
</head>
<body></body>
</html>

27688
example/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

13
example/package.json Normal file
View File

@ -0,0 +1,13 @@
{
"name": "example",
"private": true,
"scripts": {
"start": "serve ./build",
"test:html-w3c-validator": "start-server-and-test 'start' 'http://localhost:3000' 'html-w3c-validator'"
},
"devDependencies": {
"serve": "13.0.2",
"start-server-and-test": "1.14.0",
"html-w3c-validator": "file:.."
}
}