UNPKG

macoolka-type-model

Version:

`macoolka-type-model` is a library for define model in TypeScript. It easily build a type contain field and method to your Application. It provide a generation model for type and validition

64 lines (63 loc) 1.5 kB
{ "name": "macoolka-type-model", "version": "0.3.11", "main": "lib/index.js", "types": "lib/index.d.ts", "files": [ "lib" ], "author": "fastspeeed@gmail.com", "scripts": { "reinstall": "rm -rf node_modules/ && yarn install", "clean": "rm -rf lib/ coverage/ ", "test": "jest", "build": "rm -rf lib/ && tsc ", "prepush": "npm run test", "coverage": "rimraf coverage && jest --coverage" }, "dependencies": { "fp-ts": "^2.12.1", "io-ts": "^2.2.16", "macoolka-algorithms": "^0.3.4", "macoolka-collection": "^0.3.4", "macoolka-io": "^0.3.4", "macoolka-object": "^0.3.4" }, "devDependencies": { "@jest/types": "^28.1.3", "@types/jest": "^28.1.5", "@types/node": "^18.0.5", "jest": "^28.1.3", "macoolka-prettier": "^0.3.5", "ts-jest": "^28.0.6", "typescript": "^4.7.4" }, "jest": { "moduleFileExtensions": [ "ts", "tsx", "js" ], "collectCoverageFrom": [ "src/**/*.{js,jsx,tsx,ts}", "!**/node_modules/**", "!**/vendor/**" ], "transform": { "^.+\\.tsx?$": "ts-jest" }, "testRegex": "(./src/*|\\.(test|spec))\\.(ts|tsx)$" }, "repository": { "type": "git", "url": "https://github.com/macoolka/macoolka-type-model.git" }, "homepage": "https://github.com/macoolka/macoolka-type-model", "keywords": [ "macoolka", "typescript", "algebraic-data-types", "functional-programming" ], "license": "MIT" }