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

76 lines (75 loc) 2.63 kB
{ "name": "declarative-js", "version": "3.8.16", "main": "index.js", "types": "index.d.ts", "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": { "fast-deep-equal": "2.0.1" }, "devDependencies": { "@types/jest": "22.2.3", "coveralls": "3.0.5", "docsify": "4.12.0", "docsify-cli": "^4.4.3", "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" }, "scripts": { "compile": "tsc -d", "lint": "tslint -c tslint.json -p tsconfig.json -t stylish", "test": "jest -c jest.config.js", "test:coverage": "npm test -- --coverage", "delete:target": "rm -rf target", "docsify": "npx docsify -c .docs/ssr.config.js init ./docs", "typedocs": "typedoc --out ./docs/typedoc src --theme minimal --name declarative-js --readme ./readme.md --exclude **/internal/**.ts --ignoreCompilerErrors --excludeNotExported --excludeExternals --excludePrivate", "docs": "npm run docsify && npm run typedocs", "docs:commit": "npm run docs && git add . && git commit -m \"Updated generated documentation\" && git push", "now": "cd docs && now -n declarativejs", "docs:start": "docsify serve ./docs", "build": "npm run delete:target && npm run lint && npm run compile && npm run test:coverage", "copy": "cp package.json target/out/package.json && cp LICENCE target/out/LICENCE && node scripts/readme", "publish:prepatch": "npm run build && npm version prepatch && npm run copy && npm publish target/out", "publish:patch": "npm run build && npm version patch && npm run copy && npm publish target/out", "publish:minor": "npm run build && npm version minor && npm run copy && npm publish target/out", "publish:major": "npm run build && npm version major && npm run copy && npm publish target/out", "coveralls": "cat target/coverage/lcov.info | coveralls" } }