@abraham/reflection
Version:
Lightweight ES Module implementation of reflect-metadata
85 lines (84 loc) • 2.04 kB
JSON
{
"name": "@abraham/reflection",
"version": "0.13.0",
"description": "Lightweight ES Module implementation of reflect-metadata",
"type": "module",
"exports": {
"import": "./dist/index.js",
"require": "./dist/index.umd.cjs"
},
"main": "./dist/index.umd.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"build": "tsc && rollup -c",
"clean": "rimraf dist",
"format": "prettier . --write",
"lint:eslint": "eslint src --ext .ts",
"lint:prettier": "prettier . --check",
"lint": "npm run lint:eslint && npm run lint:prettier",
"pkg-ok": "pkg-ok",
"prebuild": "npm run clean",
"prepare": "npm run build",
"prepublishOnly": "npm run pkg-ok",
"start": "jest --watch",
"test": "jest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/abraham/reflection.git"
},
"keywords": [
"typescript",
"reflect",
"reflect-metadata",
"metadata",
"lightweight",
"micro",
"library",
"decorator"
],
"author": "Abraham Williams <4braham@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/abraham/reflection/issues"
},
"homepage": "https://github.com/abraham/reflection#readme",
"devDependencies": {
"@eslint/js": "^9.0.0",
"@types/jest": "^29.0.0",
"eslint": "^9.0.0",
"eslint-plugin-import": "^2.0.0",
"eslint-plugin-jest": "^28.0.0",
"jest": "^29.0.0",
"pkg-ok": "^3.0.0",
"prettier": "^3.0.0",
"rimraf": "^6.0.1",
"rollup": "^4.0.0",
"ts-jest": "^29.0.0",
"typescript": "^5.0.0",
"typescript-eslint": "^8.0.0"
},
"jest": {
"collectCoverage": true,
"roots": [
"<rootDir>/src"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
},
"prettier": {
"singleQuote": true,
"trailingComma": "all"
}
}