money-ts
Version:
TypeScript library for type-safe and lossless encoding and manipulation of world currencies and precious metals
90 lines (89 loc) • 2.35 kB
JSON
{
"name": "money-ts",
"version": "0.1.2",
"description": "TypeScript library for type-safe and lossless encoding and manipulation of world currencies and precious metals",
"files": [
"lib"
],
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"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 --no-semi --single-quote --print-width 120 --parser typescript --list-different \"{src,test}/**/*.ts\"",
"fix-prettier": "prettier --no-semi --single-quote --print-width 120 --parser typescript --write \"{src,test}/**/*.ts\"",
"test": "npm run prettier && npm run lint && npm run typings-checker && npm run jest",
"clean": "rm -rf lib/*",
"build": "npm run clean && tsc"
},
"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",
"dependencies": {
"big-integer": "^1.6.26",
"fp-ts": "^1.0.1",
"io-ts": "^1.1.5",
"io-ts-types": "^0.3.1",
"monocle-ts": "^1.0.0",
"newtype-ts": "^0.2.0"
},
"devDependencies": {
"@types/benchmark": "^1.0.31",
"@types/big-integer": "0.0.31",
"@types/jest": "^22.2.2",
"@types/node": "8.0.19",
"benchmark": "^2.1.4",
"jest": "^22.4.3",
"prettier": "^1.13.5",
"testcheck": "^1.0.0-rc.2",
"ts-jest": "^22.4.2",
"ts-node": "3.3.0",
"tslint": "4.4.2",
"tslint-config-standard": "4.0.0",
"typescript": "^2.9.2",
"typings-checker": "1.1.2"
},
"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"
]
}
}