-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathpackage.json
More file actions
154 lines (154 loc) · 3.79 KB
/
package.json
File metadata and controls
154 lines (154 loc) · 3.79 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
{
"name": "n2words",
"version": "4.0.0",
"description": "Convert numbers to words in 70+ languages with zero dependencies. Supports BigInt, decimals, and browser/Node.js environments.",
"keywords": [
"number-to-words",
"num2words",
"n2words",
"to-words",
"spell-out",
"cardinal-numbers",
"ordinal-numbers",
"currency-to-words",
"i18n",
"tree-shakeable",
"zero-dependencies",
"esm",
"typescript",
"bigint"
],
"homepage": "https://github.com/forzagreen/n2words#readme",
"bugs": {
"url": "https://github.com/forzagreen/n2words/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/forzagreen/n2words.git"
},
"license": "MIT",
"author": "Wael TELLAT",
"contributors": [
"Tyler Vigario (https://github.com/TylerVigario)"
],
"funding": {
"type": "github",
"url": "https://github.com/sponsors/forzagreen"
},
"type": "module",
"sideEffects": false,
"exports": {
"./*": {
"types": "./src/*.d.ts",
"import": "./src/*.js",
"default": "./src/*.js"
},
"./utils/*": null,
"./package.json": "./package.json"
},
"files": [
"src/**/*.js",
"src/**/*.d.ts",
"dist/**/*.js",
"README.md",
"LICENSE",
"CHANGELOG.md"
],
"scripts": {
"bench": "node --expose-gc bench/index.js",
"browserslist": "browserslist",
"browserslist:coverage": "browserslist --coverage",
"build": "npm run clean && npm run build:types && npm run build:dist",
"build:dist": "npm run clean:dist && rollup -c",
"build:types": "npm run clean:types && tsc --project tsconfig.build.json",
"clean": "npm run clean:dist && npm run clean:types",
"clean:all": "npm run clean && npm run clean:artifacts",
"clean:artifacts": "rimraf coverage .nyc_output",
"clean:dist": "rimraf dist",
"clean:types": "rimraf \"src/**/*.d.ts\" --glob",
"coverage": "c8 npm run test:unit",
"docs:languages": "node scripts/generate-languages-md.js",
"lang:add": "node scripts/add-language.js",
"lint": "npm run lint:js && npm run lint:md",
"lint:fix": "npm run lint:js -- --fix && npm run lint:md -- --fix",
"lint:js": "standard",
"lint:md": "markdownlint-cli2",
"prepare:husky": "husky",
"test": "npm run test:unit && npm run build:types",
"test:unit": "ava \"test/*.test.js\" \"test/utils/*.test.js\""
},
"ava": {
"extensions": [
"js"
],
"files": [
"test/*.test.js",
"test/utils/*.test.js"
],
"timeout": "30s",
"concurrency": 8,
"workerThreads": false
},
"standard": {
"ignore": [
"!.vscode/"
]
},
"c8": {
"all": true,
"include": [
"src/"
],
"exclude": [
"src/**/*.d.ts"
],
"reporter": [
"lcov",
"text",
"json-summary"
]
},
"lint-staged": {
"*.{js,cjs,mjs}": [
"standard --fix"
],
"*.md": [
"markdownlint-cli2 --fix"
]
},
"devDependencies": {
"@babel/core": "^7.29.0",
"@babel/preset-env": "^7.29.2",
"@commitlint/cli": "^20.5.0",
"@commitlint/config-conventional": "^20.5.0",
"@commitlint/format": "^20.5.0",
"@rollup/plugin-babel": "^7.0.0",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-terser": "^1.0.0",
"@rollup/plugin-virtual": "^3.0.2",
"ava": "^7.0.0",
"benchmark": "^2.1.4",
"browserslist": "^4.28.1",
"c8": "^11.0.0",
"chalk": "^5.6.2",
"husky": "^9.1.7",
"lint-staged": "^16.4.0",
"markdownlint-cli2": "^0.22.0",
"rimraf": "^6.1.3",
"rollup": "^4.60.0",
"standard": "^17.1.2",
"typescript": "^6.0.2"
},
"overrides": {
"markdownlint-cli2": {
"smol-toml": "1.6.1"
}
},
"engines": {
"node": ">=20"
},
"publishConfig": {
"access": "public",
"provenance": true
}
}