UNPKG

parse-ingredient

Version:

Recipe ingredient parser with support for mixed numbers and vulgar fractions

73 lines (72 loc) 1.9 kB
{ "name": "parse-ingredient", "author": "Jake Boone", "version": "1.3.0", "license": "MIT", "description": "Recipe ingredient parser with support for mixed numbers and vulgar fractions", "files": [ "dist" ], "main": "./dist/cjs/index.js", "module": "./dist/parse-ingredient.legacy-esm.js", "exports": { "./package.json": "./package.json", ".": { "import": { "types": "./dist/types-esm/index.d.mts", "default": "./dist/parse-ingredient.mjs" }, "require": { "types": "./dist/types/index.d.ts", "default": "./dist/cjs/index.js" } } }, "types": "./dist/types/index.d.ts", "unpkg": "./dist/parse-ingredient.umd.min.js", "keywords": [ "parse", "recipe", "ingredient", "quantity", "number" ], "bugs": { "url": "https://github.com/jakeboone02/parse-ingredient/issues" }, "homepage": "https://github.com/jakeboone02/parse-ingredient", "repository": { "type": "git", "url": "https://github.com/jakeboone02/parse-ingredient" }, "engines": { "node": ">=10" }, "scripts": { "start": "bun --hot ./index.html", "build": "bun --bun x tsup", "docs": "typedoc", "test": "bun test", "watch": "bun test --watch", "lint": "bunx oxlint@latest --format=github", "pretty-print": "prettier --write '*.{html,json,ts}' './src/*.*'", "publish:npm": "np", "codesandbox-ci": "bash .codesandbox/ci.sh", "publish:demo": "bun ./gh-pages.publish.js" }, "devDependencies": { "@jakeboone02/generate-dts": "0.1.1", "@types/bun": "^1.2.8", "@types/node": "^22.13.14", "@types/web": "^0.0.214", "np": "^10.2.0", "prettier": "3.5.3", "prettier-plugin-organize-imports": "4.1.0", "tsup": "^8.4.0", "typedoc": "^0.28.1", "typescript": "^5.8.2" }, "dependencies": { "numeric-quantity": "^2.0.1" } }