UNPKG

easy-constructor

Version:

JavaScript class constructors without the boilerplate

87 lines (86 loc) 2.11 kB
{ "name": "easy-constructor", "version": "0.9.7", "description": "JavaScript class constructors without the boilerplate", "keywords": [ "javascript", "typescript", "class", "boilerplate", "oop", "object-oriented-programming", "easy-constructor", "easy", "constructor" ], "repository": { "type": "git", "url": "https://github.com/arnaugomez/easy-constructor" }, "license": "MIT", "author": { "name": "Arnau Gómez", "email": "agomez1f@gmail.com" }, "type": "module", "exports": { ".": { "import": "./lib/index.js", "require": "./lib/index.cjs" } }, "main": "./lib/index.js", "files": [ "lib/", "package.json", "LICENSE.md", "README.md" ], "scripts": { "build": "tsup", "check-exports": "attw --pack .", "format": "prettier .", "lint": "eslint . --max-warnings 0", "lint:knip": "knip", "prepare": "husky", "test": "vitest", "tsc": "tsc" }, "lint-staged": { "*": "prettier --ignore-unknown --write" }, "dependencies": { "type-fest": "^4.26.1" }, "devDependencies": { "@arethetypeswrong/cli": "0.17.0", "@eslint/js": "9.18.0", "@release-it/conventional-changelog": "10.0.0", "@types/eslint__js": "8.42.3", "@types/node": "22.10.0", "@vitest/coverage-v8": "3.0.0", "@vitest/eslint-plugin": "1.1.7", "console-fail-test": "0.5.0", "eslint": "9.18.0", "eslint-plugin-n": "17.15.0", "husky": "9.1.6", "knip": "5.42.0", "lint-staged": "15.4.0", "prettier": "3.4.1", "prettier-plugin-curly": "0.3.1", "prettier-plugin-packagejson": "2.5.3", "prettier-plugin-sh": "0.14.0", "release-it": "18.1.1", "tsup": "8.3.5", "typescript": "5.7.2", "typescript-eslint": "8.21.0", "vitest": "3.0.0" }, "packageManager": "pnpm@9.15.0+sha512.76e2379760a4328ec4415815bcd6628dee727af3779aaa4c914e3944156c4299921a89f976381ee107d41f12cfa4b66681ca9c718f0668fa0831ed4c6d8ba56c", "engines": { "node": ">=18.3.0" }, "publishConfig": { "provenance": true } }