forked from w3c/web-roadmaps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
25 lines (25 loc) · 1.3 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
"name": "web-roadmaps",
"dependencies": {
"ajv-cli": "^3.0.0",
"fetch-filecache-for-crawling": "^3.0.2",
"jsdom": "^11.8.0",
"mdn-browser-compat-data": "^0.0.39",
"mkdirp": "^0.5.1",
"ncp": "^2.0.0"
},
"scripts": {
"all": "npm run create-missing-data && npm run validate-data && npm run generate-info && npm run validate-html && npm run validate-info && npm run generate-pages",
"generate-info": "npm run generate-specinfo && npm run generate-implinfo",
"generate-specinfo": "mkdirp .out/data && node tools/extract-spec-data.js data > .out/data/tr.json",
"generate-implinfo": "mkdirp .out/data && node tools/extract-impl-data.js data > .out/data/impl.json",
"generate-pages": "node tools/generate-roadmaps.js",
"create-missing-data": "node tools/create-missing-data.js",
"detect-missing-data": "node tools/create-missing-data.js --detect",
"validate-data": "ajv -s tools/spec.jsons -d data/\\*.json --errors=text",
"validate-info": "npm run validate-specinfo && npm run validate-implinfo",
"validate-specinfo": "ajv -s tools/tr.jsons -d .out/data/tr.json --errors=text",
"validate-implinfo": "ajv -s tools/impl.jsons -d .out/data/impl.json --errors=text",
"validate-html": "node tools/validate-html.js media mobile publishing security web5g"
}
}