kytta
/
pretty-money
Archived
1
0
Fork 0
[DEPRECATED] A tiny currency formatting library for JavaScript
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 

66 lines
1.8 KiB

{
"name": "pretty-money",
"version": "1.1.2",
"description": "A tiny currency formatting library for JavaScript",
"license": "MIT",
"keywords": [
"money",
"currency",
"format"
],
"homepage": "https://os.kytta.dev/pretty-money",
"repository": {
"type": "git",
"url": "git+https://github.com/kytta/pretty-money.git"
},
"bugs": {
"url": "https://github.com/kytta/pretty-money/issues"
},
"author": {
"name": "Nikita Karamov",
"email": "me@kytta.dev",
"url": "https://www.kytta.dev/"
},
"source": "./src/pretty-money.js",
"main": "./dist/pretty-money.js",
"exports": "./dist/pretty-money.modern.js",
"module": "./dist/pretty-money.esm.js",
"unpkg": "./dist/pretty-money.umd.js",
"types": "./dist/pretty-money.d.ts",
"type": "module",
"files": [
"dist/",
"CHANGELOG.md",
"LICENSE",
"README.md"
],
"scripts": {
"build": "run-p build:*",
"build:node": "microbundle --name prettyMoney --target node --format es,cjs",
"build:web": "microbundle --name prettyMoney --format modern,umd",
"dev": "microbundle watch --name prettyMoney --target node --format es,cjs",
"pretest": "run-s build",
"test": "run-p --aggregate-output test:*",
"test:lint": "eslint-ci --ext .js src/",
"test:size": "size-limit",
"test:unit": "c8 --include=src pnpm run uvu && c8 report --reporter=lcov",
"uvu": "uvu $UVU_SETTINGS test/"
},
"devDependencies": {
"@size-limit/preset-small-lib": "^7.0.8",
"c8": "^7.11.0",
"eslint": "^7.32.0",
"eslint-ci": "^1.0.0",
"esm": "^3.2.25",
"microbundle": "^0.14.2",
"npm-run-all": "^4.1.5",
"size-limit": "^7.0.8",
"uvu": "^0.5.3"
},
"size-limit": [
{
"path": "./dist/pretty-money.esm.js",
"limit": "1 KB"
}
]
}