-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
66 lines (66 loc) · 1.68 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
{
"name": "intl-number-parser",
"version": "1.0.5",
"description": "Utility for parsing international numbers to native JavaScript numbers based on the locale",
"type": "module",
"main": "dist/index.cjs",
"module": "./dist/index.mjs",
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"files": [
"dist/**/*"
],
"scripts": {
"lint": "eslint . --ext .js,.jsx,.ts,.tsx,.json",
"lint:fix": "eslint . --ext .js,.jsx,.ts,.tsx,.json --fix",
"ts:declaration": "tsc --build --emitDeclarationOnly --declarationMap --declaration",
"build": "npm run ts:declaration && node esbuild.mjs",
"test": "node --loader ts-node/esm test/NumberParser.test.ts",
"prepack": "npm run build",
"prepublishOnly": "npm test && npm run lint",
"preversion": "npm run lint",
"version": "npm run lint && git add -A src",
"postversion": "git push && git push --tags"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Exact-Realty/intl-number-parser.git"
},
"author": "Exact Realty Limited",
"license": "ISC",
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^7.10.0",
"@typescript-eslint/parser": "^7.10.0",
"esbuild": "^0.21.4",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"prettier": "^3.2.5",
"ts-node": "^10.9.2",
"typescript": "^5.4.5"
},
"keywords": [
"number parser",
"Intl",
"locale",
"number format",
"decimal",
"currency",
"parsing",
"i18n",
"internationalization",
"internationalisation",
"localization",
"localisation",
"l10n",
"number conversion"
]
}