UNPKG

declarative-js

Version:

_declarative-js_ is modern JavaScript library, that helps to: - tackle array transformation with built in JavaScript array api (e.g. `array.filter(toBe.unique())`), - provide a type-level solution for representing optional values instead of null referen

83 lines 2.73 kB
{ "name": "declarative-js", "version": "3.10.0", "main": "index.js", "module": "index.mjs", "types": "index.d.ts", "exports": { ".": { "types": "./index.d.ts", "require": "./index.js", "import": "./index.mjs" } }, "author": "Pavel Surinin <pavel.surinin@gmail.com>", "license": "MIT", "homepage": "https://pavel-surinin.github.io/declarativejs/", "repository": { "type": "git", "url": "https://github.com/pavel-surinin/declarative-js.git" }, "keywords": [ "optional", "array", "reduce", "map", "sort", "javascript", "typescript", "groupby", "group by", "filter", "unique", "tomap", "to map", "toobject", "to object", "collect", "zip", "unzip", "partition", "partition by", "functional", "declarative", "optimized", "flat" ], "dependencies": {}, "devDependencies": { "@types/jest": "22.2.3", "coveralls": "3.0.5", "install": "0.12.2", "jest": "22.4.3", "ts-jest": "22.4.5", "tslint": "5.18.0", "typedoc": "0.22.10", "typedoc-plugin-markdown": "2.1.1", "typescript": "3.7.2", "vitepress": "^1.6.4" }, "scripts": { "compile": "node scripts/compile.js", "typecheck": "tsc --noEmit", "lint": "tslint -c tslint.json -p tsconfig.json -t stylish", "test": "jest -c jest.config.js", "test:coverage": "pnpm run test --coverage", "delete:target": "rm -rf target", "typedocs": "node scripts/typedocs.js", "docs": "pnpm run typedocs && pnpm run docs:build", "docs:commit": "pnpm run docs && git add . && git commit -m \"Updated generated documentation\" && git push", "now": "cd docs && now -n declarativejs", "docs:dev": "vitepress dev docs", "docs:build": "vitepress build docs && rm -rf docs/.vitepress/dist/typedoc && cp -R docs/typedoc docs/.vitepress/dist/typedoc", "docs:preview": "vitepress preview docs", "docs:start": "pnpm run docs:dev", "build": "pnpm run delete:target && pnpm run lint && pnpm run typecheck && pnpm run compile && pnpm run test:coverage", "copy": "cp package.json target/out/package.json && cp licence target/out/LICENCE && node scripts/readme", "publish:prepatch": "pnpm run build && pnpm version prepatch && pnpm run copy && pnpm publish target/out", "publish:patch": "pnpm run build && pnpm version patch && pnpm run copy && pnpm publish target/out", "publish:minor": "pnpm run build && pnpm version minor && pnpm run copy && pnpm publish target/out", "publish:major": "pnpm run build && pnpm version major && pnpm run copy && pnpm publish target/out", "coveralls": "cat target/coverage/lcov.info | coveralls" } }