@eriveltondasilva/currency 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,96 @@
1
+ {
2
+ "name": "@eriveltondasilva/currency",
3
+ "description": "A lightweight and reliable JavaScript library for precise currency operations, built to safely handle monetary values without floating point errors.",
4
+ "version": "1.0.0",
5
+ "keywords": [
6
+ "currency",
7
+ "money",
8
+ "finance",
9
+ "rounding",
10
+ "decimal",
11
+ "precision",
12
+ "format",
13
+ "monetary"
14
+ ],
15
+ "license": "MIT",
16
+ "type": "module",
17
+ "main": "./dist/index.js",
18
+ "types": "./dist/index.d.ts",
19
+ "exports": {
20
+ ".": {
21
+ "types": "./dist/index.d.ts",
22
+ "import": "./dist/index.js",
23
+ "default": "./dist/index.js"
24
+ },
25
+ "./presets": {
26
+ "types": "./dist/presets.d.ts",
27
+ "import": "./dist/presets.js",
28
+ "default": "./dist/presets.js"
29
+ },
30
+ "./package.json": "./package.json"
31
+ },
32
+ "sideEffects": false,
33
+ "author": {
34
+ "name": "Erivelton Silva",
35
+ "email": "eriveltondasilva13@gmail.com"
36
+ },
37
+ "homepage": "https://github.com/eriveltondasilva/currency#readme",
38
+ "repository": {
39
+ "type": "git",
40
+ "url": "git+https://github.com/eriveltondasilva/currency.git"
41
+ },
42
+ "files": [
43
+ "dist"
44
+ ],
45
+ "scripts": {
46
+ "build": "bun run clean && tsup",
47
+ "clean": "bun run --bun rm -rf dist",
48
+ "prepublishOnly": "NODE_ENV=production bun run build",
49
+ "1xxx": "",
50
+ "fmt": "bunx --bun @biomejs/biome format .",
51
+ "fmt:fix": "bunx --bun @biomejs/biome format --write .",
52
+ "lint": "bunx --bun @biomejs/biome lint .",
53
+ "lint:fix": "bunx --bun @biomejs/biome lint --write .",
54
+ "check": "bunx --bun @biomejs/biome check .",
55
+ "check:fix": "bunx --bun @biomejs/biome check --write .",
56
+ "check:ci": "bunx --bun @biomejs/biome ci .",
57
+ "2xxx": "",
58
+ "release": "sh scripts/create-release.sh",
59
+ "release:patch": "sh scripts/create-release.sh patch",
60
+ "release:minor": "sh scripts/create-release.sh minor",
61
+ "release:major": "sh scripts/create-release.sh major",
62
+ "release:tag": "sh scripts/tag-release.sh",
63
+ "3xxx": "",
64
+ "test": "vitest run",
65
+ "test:watch": "vitest",
66
+ "test:ui": "vitest --ui",
67
+ "test:cover": "vitest run --coverage",
68
+ "4xxx": "",
69
+ "dev": "bun run types && bun run check:fix && bun run test",
70
+ "types": "tsc --noEmit -p tsconfig.json",
71
+ "init:hooks": "husky"
72
+ },
73
+ "devDependencies": {
74
+ "@biomejs/biome": "^2.4.15",
75
+ "@tsconfig/bun": "^1.0.10",
76
+ "@types/bun": "^1.3.13",
77
+ "@vitest/coverage-v8": "^4.1.6",
78
+ "@vitest/ui": "^4.1.6",
79
+ "husky": "^9.1.7",
80
+ "lint-staged": "^17.0.4",
81
+ "publint": "^0.3.20",
82
+ "tsup": "^8.5.1",
83
+ "typescript": "^5.9.3",
84
+ "vite-tsconfig-paths": "^6.1.1",
85
+ "vitest": "^4.1.6"
86
+ },
87
+ "engines": {
88
+ "node": ">=20"
89
+ },
90
+ "publishConfig": {
91
+ "access": "public"
92
+ },
93
+ "lint-staged": {
94
+ "*.{js,ts,json,md}": "bunx --bun @biomejs/biome check --write --no-errors-on-unmatched"
95
+ }
96
+ }