1 | {
|
2 | "name": "ts-is-number",
|
3 | "version": "1.1.0",
|
4 | "description": "The ts-is-number a utility npm package that checks if a given input is a valid finite number or a string that can be converted to a valid finite number.",
|
5 | "scripts": {
|
6 | "build": "tsup ./src && npx typedoc src/index.ts",
|
7 | "tests": "jest --coverage --config ./.jestrc.json && prettier . --write && npm run lint",
|
8 | "coverage": "jest --collect-coverage",
|
9 | "lint": "eslint . --ext .ts",
|
10 | "lint-and-fix": "eslint . --ext .ts --fix",
|
11 | "prettier-fix": "prettier . --write"
|
12 | },
|
13 | "files": [
|
14 | "dist",
|
15 | "package.json"
|
16 | ],
|
17 | "exports": {
|
18 | ".": {
|
19 | "require": "./dist/index.js",
|
20 | "import": "./dist/index.mjs",
|
21 | "types": "./dist/index.d.ts"
|
22 | }
|
23 | },
|
24 | "main": "./dist/index.js",
|
25 | "module": "./dist/index.mjs",
|
26 | "types": "./dist/index.d.ts",
|
27 | "keywords": [
|
28 | "cast",
|
29 | "check",
|
30 | "coerce",
|
31 | "coercion",
|
32 | "finite",
|
33 | "integer",
|
34 | "is",
|
35 | "isnan",
|
36 | "is-nan",
|
37 | "is-num",
|
38 | "is-number",
|
39 | "isnumber",
|
40 | "isfinite",
|
41 | "istype",
|
42 | "kind",
|
43 | "math",
|
44 | "nan",
|
45 | "num",
|
46 | "number",
|
47 | "numeric",
|
48 | "parseFloat",
|
49 | "parseInt",
|
50 | "test",
|
51 | "type",
|
52 | "typeof",
|
53 | "value"
|
54 | ],
|
55 | "author": "Pavlo Vashchenko",
|
56 | "license": "MIT",
|
57 | "devDependencies": {
|
58 | "@babel/core": "^7.22.10",
|
59 | "@babel/preset-env": "^7.22.10",
|
60 | "@babel/preset-typescript": "^7.22.5",
|
61 | "@types/jest": "^29.5.3",
|
62 | "@typescript-eslint/eslint-plugin": "^6.4.0",
|
63 | "@typescript-eslint/parser": "^6.4.0",
|
64 | "eslint": "^8.47.0",
|
65 | "prettier": "3.0.2",
|
66 | "ts-jest": "^29.1.1",
|
67 | "tsup": "^7.2.0",
|
68 | "typedoc": "^0.25.0",
|
69 | "typescript": "^5.1.6"
|
70 | }
|
71 | }
|