UNPKG

microformats-parser

Version:

A JavaScript microformats v2 parser for the browser and node.js

81 lines (80 loc) 2.37 kB
{ "name": "microformats-parser", "version": "2.0.4", "description": "A JavaScript microformats v2 parser for the browser and node.js", "type": "module", "main": "dist/index.cjs", "types": "dist/index.d.ts", "module": "dist/index.mjs", "homepage": "https://microformats.github.io/microformats-parser/", "repository": "https://github.com/microformats/microformats-parser.git", "author": "Aimee Gamble-Milner (https://github.com/aimee-gm)", "license": "MIT", "keywords": [ "microformats", "parser", "mf2", "indieweb" ], "scripts": { "prepare": "husky", "prebuild": "rm -rf ./dist", "build": "rollup -c", "demo": "http-server public", "lint": "eslint --cache './**/*.{ts,js}'", "prettier:list": "prettier '**/*.{ts,json,md,html}' --list-different", "prettier:fix": "prettier '**/*.{ts,json,md,html}' --write", "test": "c8 mocha ./test/*.spec.ts", "test:package": "mocha ./test/package.*.spec.js" }, "engines": { "node": ">=18" }, "files": [ "/dist/index.cjs", "/dist/index.cjs.map", "/dist/index.mjs", "/dist/index.mjs.map", "/dist/index.d.ts", "/CONTRIBUTING.md" ], "dependencies": { "parse5": "^7.1.2" }, "devDependencies": { "@rollup/plugin-commonjs": "^25.0.4", "@rollup/plugin-html": "^2.0.0", "@rollup/plugin-node-resolve": "^15.2.1", "@rollup/plugin-terser": "^0.4.3", "@rollup/plugin-typescript": "^11.1.3", "@types/chai": "^4.2.11", "@types/glob": "^8.1.0", "@types/mocha": "^10.0.1", "@types/node": "^20.8.6", "@typescript-eslint/eslint-plugin": "^7.0.0", "@typescript-eslint/parser": "^6.0.0", "c8": "^9.0.0", "chai": "^5.0.0", "eslint": "^8.16.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-import": "^2.26.0", "glob": "^10.3.4", "http-server": "^14.1.1", "husky": ">=4", "lint-staged": ">=10", "microformat-tests": "https://github.com/microformats/tests", "mocha": "^11.0.0", "prettier": "^3.0.3", "rollup": "^4.1.5", "rollup-plugin-dts": "^6.0.2", "rollup-plugin-import-css": "^4.0.1", "source-map-support": "^0.5.19", "ts-node": "^10.8.0", "tslib": "^2.6.2", "typescript": "^5.2.2" }, "lint-staged": { "*.{js,ts,json,css,md,html}": "prettier --write", "*.{js,ts}": "eslint --fix" } }