@mahmoudxyz/hassan
Version:
Type-safe data mapper for TypeScript with zero runtime overhead
92 lines (91 loc) • 2.88 kB
JSON
{
"name": "@mahmoudxyz/hassan",
"publishConfig": {
"access": "public"
},
"version": "1.1.4",
"type": "module",
"description": "Type-safe data mapper for TypeScript with zero runtime overhead",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/types/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/types/index.d.ts",
"default": "./dist/cjs/index.js"
}
}
},
"files": [
"dist"
],
"scripts": {
"build": "npm run clean && npm run build:types && npm run build:cjs && npm run build:esm",
"build:types": "tsc --project tsconfig.build.json --emitDeclarationOnly --outDir dist/types",
"build:cjs": "tsc --project tsconfig.build.json --module commonjs --outDir dist/cjs",
"build:esm": "tsc --project tsconfig.build.json --module esnext --outDir dist/esm",
"clean": "rimraf dist",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "eslint src tests",
"lint:fix": "eslint src tests --fix",
"format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"",
"format:check": "prettier --check \"src/**/*.ts\" \"tests/**/*.ts\"",
"type-check": "tsc --noEmit",
"prepublishOnly": "npm run build && npm run test && npm run lint",
"release": "semantic-release",
"prepare": "husky",
"contributors:add": "all-contributors add",
"contributors:generate": "all-contributors generate",
"contributors:init": "all-contributors init",
"contributors:check": "all-contributors check"
},
"keywords": [
"typescript",
"mapper",
"data-transformation",
"type-safe",
"zero-runtime"
],
"author": "Mahmoud Ahmed mahmoudahmedxyz@gmail.com",
"license": "MIT",
"devDependencies": {
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-typescript": "^12.1.4",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/jest": "^30.0.0",
"@types/node": "^24.1.0",
"all-contributors-cli": "^6.26.1",
"conventional-changelog-conventionalcommits": "^9.1.0",
"eslint": "^9.31.0",
"eslint-config-prettier": "^10.1.8",
"husky": "^9.1.7",
"jest": "^30.0.5",
"lint-staged": "^16.1.2",
"prettier": "^3.6.2",
"rimraf": "^6.0.1",
"rollup": "^4.45.1",
"semantic-release": "^24.2.7",
"ts-jest": "^29.4.0",
"typescript": "^5.8.3",
"typescript-eslint": "^8.38.0"
},
"dependencies": {
"tslib": "^2.8.1"
},
"repository": {
"type": "git",
"url": "https://github.com/mahmoudxyz/hassan.git"
},
"bugs": {
"url": "https://github.com/mahmoudxyz/hassan/issues"
},
"homepage": "https://github.com/mahmoudxyz/hassan#readme"
}