UNPKG

@epicallan/money-ts

Version:

TypeScript library for type-safe and lossless encoding and manipulation of world currencies and precious metals

95 lines (94 loc) 2.39 kB
{ "name": "@epicallan/money-ts", "version": "0.2.3", "description": "TypeScript library for type-safe and lossless encoding and manipulation of world currencies and precious metals", "main": "lib/index.js", "typings": "lib/index.d.ts", "files": [ "lib" ], "scripts": { "lint": "tslint src/**/*.ts test/**/*.ts", "typings-checker": "typings-checker --allow-expect-error --project typings-checker/tsconfig.json typings-checker/index.ts", "jest": "jest", "prettier": "prettier --list-different \"{src,test}/**/*.ts\"", "fix-prettier": "prettier --write \"{src,test}/**/*.ts\"", "test": "npm run prettier && npm run lint && npm run typings-checker && npm run jest && npm run docs", "clean": "rm -rf lib/*", "build": "npm run clean && tsc", "prerelease": "npm run build", "docs": "docs-ts" }, "repository": { "type": "git", "url": "https://github.com/gcanti/money-ts.git" }, "author": "Giulio Canti <giulio.canti@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/gcanti/money-ts/issues" }, "homepage": "https://github.com/gcanti/money-ts", "devDependencies": { "@types/benchmark": "^1.0.31", "@types/big-integer": "0.0.31", "@types/jest": "^22.2.2", "@types/node": "12.12.2", "benchmark": "^2.1.4", "docs-ts": "0.0.1", "jest": "^22.4.3", "monocle-ts": "^2.3.10", "newtype-ts": "^0.3.4", "prettier": "^2.2.1", "testcheck": "^1.0.0-rc.2", "ts-jest": "^22.4.2", "ts-node": "3.3.0", "tslint": "^6.1.3", "tslint-config-standard": "^9.0.0", "typescript": "^4.2.4", "typings-checker": "1.1.2" }, "dependencies": { "big-integer": "^1.6.0", "fp-ts": "^2.5.0", "io-ts": "^2.2.16", "io-ts-types": "^0.5.0", "monocle-ts": "^2.0.0", "newtype-ts": "^0.3.0" }, "tags": [ "TypeScript", "money", "type-safe", "newtype", "newtype-ts", "fp-ts" ], "keywords": [ "TypeScript", "money", "type-safe", "newtype", "newtype-ts", "fp-ts" ], "jest": { "globals": { "ts-jest": { "skipBabel": true } }, "collectCoverage": true, "transform": { "^.+\\.tsx?$": "ts-jest" }, "testRegex": "test", "moduleFileExtensions": [ "ts", "js" ], "testPathIgnorePatterns": [ "helpers.ts" ] } }