-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
96 lines (96 loc) · 2.8 KB
/
package.json
File metadata and controls
96 lines (96 loc) · 2.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"name": "@eriveltonsilva/currency.js",
"description": "A lightweight and reliable JavaScript library for precise currency operations, built to safely handle monetary values without floating point errors.",
"version": "0.1.4",
"keywords": [
"currency",
"currency.js",
"money",
"money.js",
"finance",
"rounding",
"decimal",
"precision",
"format",
"monetary"
],
"license": "MIT",
"type": "module",
"engines": {
"node": ">=20"
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs",
"default": "./dist/index.mjs"
}
},
"sideEffects": false,
"author": "Erivelton Silva <eriveltondasilva13@gmail.com>",
"homepage": "https://github.com/eriveltondasilva/currency.js#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/eriveltondasilva/currency.js.git"
},
"bugs": {
"url": "https://github.com/eriveltondasilva/currency.js/issues",
"email": "eriveltondasilva13@gmail.com"
},
"files": [
"dist",
"LICENSE",
"README.md",
"CHANGELOG.md"
],
"contributors": [],
"prettier": "@eriveltonsilva/prettier-config",
"publishConfig": {
"access": "public"
},
"x-comments": {},
"scripts": {
"build": "tsup",
"build:release": "tsup --minify",
"prepublishOnly": "npm run build:release",
"prepare": "husky",
"start": "node ./dist/index.cjs",
"dev": "node --env-file=.env ./src/index.ts",
"fmt": "prettier ./src/** --write --cache --cache-strategy metadata",
"lint": "eslint --fix ./src/**",
"clean": "rm -rf ./dist ./coverage",
"check:types": "tsc --noEmit",
"code:fix": "npm run fmt && npm run lint",
"validate": "npm run check:types && npm run lint && npm run test",
"version:patch": "npm version patch -m \"chore(release): v% [skip ci]\"",
"version:minor": "npm version minor -m \"chore(release): v% [skip ci]\"",
"version:major": "npm version major -m \"chore(release): v% [skip ci]\"",
"postversion": "git push --follow-tags",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage"
},
"devDependencies": {
"@eriveltonsilva/prettier-config": "^1.0.1",
"@eslint/js": "^9.27.0",
"@tsconfig/node-ts": "^23.6.1",
"@tsconfig/node20": "^20.1.5",
"@tsconfig/strictest": "^2.0.5",
"@types/node": "^22.15.19",
"@vitest/coverage-v8": "^3.1.3",
"eslint": "^9.27.0",
"eslint-config-prettier": "^10.1.5",
"globals": "^16.1.0",
"husky": "^9.1.7",
"prettier": "^3.5.3",
"ts-node": "^10.9.2",
"tsup": "^8.5.0",
"typescript": "^5.8.3",
"typescript-eslint": "^8.32.1",
"vitest": "^3.1.3"
}
}