UNPKG

rehype-all-the-thumbs-curate

Version:

Supporting rehype-all-the-thumbs by finding elements to be processed

125 lines (124 loc) 3.98 kB
{ "name": "rehype-all-the-thumbs-curate", "version": "0.4.3", "description": "Supporting rehype-all-the-thumbs by finding elements to be processed", "files": [ "src/", "dist/", "typings/" ], "main": "dist/umd/index.js", "types": "src/index.ts", "scripts": { "test": "npm run 'build:tsc'; tape tests/**/*.test.js", "tests": "rm -f src/index.js; ts-node tests/index.test.js", "removeBuild": "rm -f src/index.js", "test:NYC": "nyc --branches=75 --functions=75 --lines=90 --statements=80 npm run tests | tap-nyc ", "test:lcov": "nyc --branches=75 --functions=75 --lines=90 --statements=80 --reporter=lcovonly npm run tests", "test:clover": "nyc --branches=75 --functions=75 --lines=90 --statements=80 --reporter=clover npm run tests", "genDocs": "typedoc src/index.ts", "openDocs": "open docs/index.html", "cp-dts": "npm run cp-dts-umd; npm run cp-dts-cjs; npm run cp-dts-dist", "cp-dts-umd": "cp src/index.d.ts dist/umd/index.d.ts", "cp-dts-cjs": "cp src/index.d.ts dist/cjs/index.d.ts", "cp-dts-dist": "cp src/index.d.ts dist/index.d.ts", "coverage": "nyc report --reporter=text-lcov | codecov --pipe", "lint": "eslint src/index.ts", "lint:fix": "eslint --fix src/index.ts", "build": "npm run build:esb", "build:tsc": "tsc", "build:esb": "npm run esbuild", "esbuild": "mkdir -p dist/umd ; mkdir -p dist/cjs ; npm run esbuild:umd ; npm run esbuild:cjs ; npm run esbuild:min", "esbuild:umd": "esbuild src/index.ts --bundle --platform=node --target=node10 > dist/umd/index.js", "esbuild:cjs": "esbuild src/index.ts --platform=node --target=node10 > dist/cjs/index.cjs", "esbuild:min": "esbuild src/index.ts --bundle --platform=node --target=node10 --minify > dist/index.min.js" }, "dependencies": { "hast-util-select": "^4.0.0" }, "devDependencies": { "@istanbuljs/nyc-config-typescript": "^1.0.1", "@types/mustache": "^4.0.1", "@types/sharp": "^0.26.0", "@types/vfile": "^4.0.0", "@typescript-eslint/eslint-plugin": "^4.15.2", "@typescript-eslint/parser": "^4.15.2", "codecov": "^3.8.0", "esbuild": "^0.8.0", "eslint": "^7.20.0", "eslint-config-standard": "^16.0.2", "eslint-plugin-import": "^2.22.1", "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^4.3.1", "husky": "^4.3.0", "json-diff": "^0.5.4", "lodash.get": "^4.4.2", "np": "^7.0.0", "nyc": "^15.0.0", "rehype-format": "^3.1.0", "rehype-parse": "^7.0.1", "rehype-stringify": "^8.0.0", "tap-nyc": "^1.0.3", "tape": "^5.0.1", "tape-promise": "^4.0.0", "ts-node": "^9.1.1", "typedoc": "^0.20.28", "typescript": "^4.2.2", "unified": "^9.2.0", "vfile": "^4.2.0", "vfile-reporter": "^6.0.1", "vfile-reporter-pretty": "^5.0.0" }, "author": { "name": "Eric D Moore", "url": "https://im.ericdmoore.com" }, "license": "MIT", "homepage": "https://github.com/ericdmoore/rehype-all-the-thumbs-curate#readme", "bugs": { "url": "https://github.com/ericdmoore/rehype-all-the-thumbs-curate/issues" }, "repository": { "type": "git", "url": "https://github.com/ericdmoore/rehype-all-the-thumbs-curate.git" }, "husky": { "hooks": { "pre-commit": "npm run lint:fix; npm test", "pre-push": "npm run lint:fix ; npm test; npm run cp-dts" } }, "nyc": { "check-coverage": true, "lines": 100, "functions": 100, "branches": 90 }, "prettier": { "tabWidth": 2, "useTabs": false, "singleQuote": true, "bracketSpacing": false, "semi": false, "trailingComma": "none" }, "directories": { "lib": "src", "doc": "docs", "test": "tests" }, "keywords": [ "unified", "unifiedjs", "rehype", "rehypejs", "rehype-plugin", "plugin", "thumbnails", "picture", "responsive", "images", "html", "tree" ] }