UNPKG

map-transform-cjs

Version:
72 lines (71 loc) 1.85 kB
{ "name": "map-transform-cjs", "version": "0.2.0", "description": "MapTransform with CJS support", "author": "Kjell-Morten Bratsberg Thorsen <kjellmorten@integreat.io>", "contributors": [ "Steven Oderayi <oderayi@gmail.com>" ], "license": "ISC", "keywords": [ "map", "transform", "javascript", "object", "path", "cjs", "esm" ], "type": "module", "exports": { ".": { "import": "./dist/index.js", "types": "./dist/index.d.ts", "default": "./dist/index.cjs" }, "./definitionHelpers.js": { "import": "./dist/utils/definitionHelpers.js", "types": "./dist/utils/definitionHelpers.d.ts", "default": "./dist/utils/definitionHelpers.cjs" }, "./types.js": { "types": "./dist/types.d.ts", "default": "./dist/types.d.cjs" } }, "scripts": { "test": "npm run build && c8 --reporter=text-summary ava --config ./ava-dist.config.js", "test:watch": "npm run dev", "dev": "ava --watch", "perf": "ava --watch --config ./ava-perf.config.js", "build": "tsup", "prepublish": "npm run build", "coverage": "c8 report", "lint": "eslint --ext .ts src", "verify": "npm run lint && npm test" }, "repository": { "type": "git", "url": "git+https://github.com/oderayi/map-transform-cjs.git" }, "engines": { "node": ">= 14" }, "bugs": { "url": "https://github.com/oderayi/map-transform-cjs/issues" }, "homepage": "https://github.com/oderayi/map-transform-cjs#readme", "dependencies": { "deepmerge": "^4.3.1", "map-any-cjs": "^1.0.1" }, "devDependencies": { "@integreat/ts-dev-setup": "^6.0.4", "@types/deep-freeze": "^0.1.5", "@types/node": "^20.16.5", "@types/sinon": "^17.0.3", "deep-freeze": "0.0.1", "sinon": "^18.0.1", "tsup": "^8.3.0" } }