-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
89 lines (89 loc) · 2 KB
/
package.json
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
{
"name": "zero-decimal-currencies",
"version": "1.2.0",
"description": "Get the smallest currency unit even it is a Zero Decimal Currency",
"main": "dist/index.js",
"files": [
"dist/"
],
"keywords": [
"zero-decimal",
"currencies",
"zero",
"decimal",
"currency",
"stripe",
"parse"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/KelvinCampelo/zero-decimal-currencies"
},
"scripts": {
"clean": "rm -rf ./dist ./coverage ./.tsimp ./node_modules",
"build": "tsc && tsup ./src --format esm,cjs,iife",
"check": "pnpm outdated --depth 0",
"coveralls": "pnpm run test:coverage && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage",
"lint": "eslint src test.ts",
"test": "ava",
"test:coverage": "c8 --reporter=lcov ava",
"validate": "pnpm run lint && pnpm test",
"prepare": "pnpm run build && pnpm run validate",
"pp": "pnpm run prepare",
"major": "pmm major",
"minor": "pmm minor",
"patch": "pmm patch"
},
"author": {
"name": "Kelvin Campelo",
"email": "kelvsousa@gmail.com",
"url": "https://github.com/KelvinCampelo"
},
"pre-commit": [
"validate"
],
"devDependencies": {
"@swc/core": "^1.5.7",
"@types/node": "^20.12.12",
"ava": "^6.1.3",
"c8": "^9.1.0",
"coveralls-next": "^4.2.1",
"cz-conventional-changelog": "^3.3.0",
"nyc": "^15.1.0",
"pmm": "^2.0.0",
"pre-commit": "^1.2.2",
"tsimp": "^2.0.11",
"tsup": "^8.0.2",
"typescript": "^5.4.5",
"typescript-eslint": "^7.10.0"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"type": "module",
"ava": {
"extensions": {
"ts": "module"
},
"nodeArguments": [
"--import=tsimp"
]
},
"tsup": {
"entry": [
"src/index.ts"
],
"target": "es5",
"platform": "neutral",
"format": [
"cjs",
"esm",
"iife"
],
"clean": true,
"tsconfig": "tsconfig.json"
}
}