UNPKG

@on-the-ground/quackquack

Version:

Message-based duck typing system focused on behavioral roles instead of structural types.

72 lines (71 loc) 1.74 kB
{ "name": "@on-the-ground/quackquack", "version": "0.0.12", "description": "Message-based duck typing system focused on behavioral roles instead of structural types.", "keywords": [ "duck-typing", "protocol", "message-passing", "runtime-type-checking", "behavioral-type", "role", "guard", "contract", "object-oriented", "dynamic-typing", "introspection", "composition", "interface", "existence", "alan-kay", "oop", "quack" ], "author": "Joohyung Park <joohyung-park@on-the-ground.org>", "license": "MIT", "files": [ "dist/index.mjs", "dist/index.cjs", "dist/index.d.ts", "dist/quack-parser.js" ], "main": "dist/index.cjs", "module": "dist/index.mjs", "types": "dist/index.d.ts", "exports": { "import": "./dist/index.mjs", "require": "./dist/index.cjs" }, "scripts": { "build": "yarn clean; rollup -c", "clean": "rm -rf dist", "test": "jest", "prepublishOnly": "yarn build && yarn test" }, "dependencies": { "@zod/mini": "^4.0.0-beta.0", "fast-deep-equal": "^3.1.3", "tslib": "^2.8.1" }, "devDependencies": { "@rollup/plugin-commonjs": "^28.0.6", "@rollup/plugin-node-resolve": "^16.0.1", "@rollup/plugin-typescript": "^12.1.4", "@types/jest": "^30.0.0", "jest": "^30.0.5", "prettier": "^3.6.2", "rollup": "^4.45.1", "rollup-plugin-copy": "^3.5.0", "rollup-plugin-dts": "^6.2.1", "ts-jest": "^29.4.0", "ts-node": "^10.9.2", "typescript": "^5.8.3" }, "repository": { "type": "git", "url": "https://github.com/on-the-ground/quackquack" }, "bugs": { "url": "https://github.com/on-the-ground/quackquack/issues" } }