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:
3
example/.html-w3c-validatorrc.json
Normal file
3
example/.html-w3c-validatorrc.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"urls": ["http://localhost:3000/", "http://localhost:3000/about"]
|
||||
}
|
11
example/build/about.html
Normal file
11
example/build/about.html
Normal 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
9
example/build/index.html
Normal 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
27688
example/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
13
example/package.json
Normal file
13
example/package.json
Normal 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:.."
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user