amphtml-validator-rules
Version:
Get all the rules that the `amphtml-validator` uses.
46 lines (45 loc) • 1.39 kB
JSON
{
"name": "amphtml-validator-rules",
"description": "Get all the rules that the `amphtml-validator` uses.",
"version": "3.0.0",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist/index.js",
"dist/index.d.ts"
],
"scripts": {
"pregenerate": "env-cmd -f ./.env --use-shell 'docker build --build-arg VERSION=$VERSION -t amphtml-validator-rules .'",
"generate": "bash -c 'docker run -it amphtml-validator-rules | cat - > amphtml-validator-rules.json'",
"postgenerate": "npm run build",
"build": "env-cmd -f ./.env rollup -c",
"prepublishOnly": "npm run generate",
"test": "env-cmd -f ./.env jest",
"quicktype": "quicktype --just-types -l typescript -o ./dist/index.d.ts ./amphtml-validator-rules.json"
},
"repository": {
"type": "git",
"url": "git+https://github.com/dfrankland/amphtml-validator-rules.git"
},
"keywords": [
"amphtml",
"amp",
"html",
"validator",
"rules"
],
"author": "Dylan Frankland",
"license": "MIT",
"bugs": {
"url": "https://github.com/dfrankland/amphtml-validator-rules/issues"
},
"homepage": "https://github.com/dfrankland/amphtml-validator-rules#readme",
"dependencies": {},
"devDependencies": {
"env-cmd": "^9.0.2",
"jest": "^24.8.0",
"quicktype": "^15.0.194",
"rollup": "^1.13.1",
"rollup-plugin-json": "^4.0.0"
}
}