UNPKG

objectypes

Version:

A type-safe library to transform and validate objects

61 lines (60 loc) 1.71 kB
{ "name": "objectypes", "version": "1.3.1", "description": "A type-safe library to transform and validate objects", "files": [ "dist" ], "main": "dist", "types": "dist/index.d.ts", "repository": { "type": "git", "url": "https://github.com/marquesVF/objectypes" }, "typescript": { "definition": "./dist/index.d.ts" }, "scripts": { "build": "tsc -p tsconfig.lib.json", "clean": "rm -rf dist", "watch": "tsc -p tsconfig.lib.json --watch", "benchmark": "yarn benchmark:build && yarn benchmark:run", "benchmark:build": "tsc -p tsconfig.benchmark.json", "benchmark:run": "node build-benchmark/benchmark/objectypes.js", "prepare": "yarn build", "lint": "yarn lint:eslint && yarn lint:prettier", "lint:eslint": "ESLINT_USE_FLAT_CONFIG=false eslint --cache --ext .ts lib", "lint:prettier": "prettier \"**/*.{ts,md,yml}\"", "fix": "yarn lint:prettier --write && yarn lint:eslint --fix", "test": "jest", "test:watch": "jest --watch", "test:cov": "jest --coverage" }, "keywords": [ "type-safety", "mapper", "json", "converter", "typescript" ], "author": "Vinícius de F. Marques", "license": "MIT", "devDependencies": { "@types/jest": "^29.5.12", "@typescript-eslint/eslint-plugin": "^7.8.0", "@typescript-eslint/parser": "^7.8.0", "eslint": "^9.2.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.29.1", "jest": "^29.7.0", "lodash": "^4.17.21", "prettier": "^3.2.5", "ts-jest": "^29.1.2", "typescript": "^5.4.5" }, "dependencies": { "@types/ramda": "^0.30.0", "ramda": "^0.30.0", "reflect-metadata": "^0.2.2" } }