-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
82 lines (82 loc) · 2.06 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
{
"name": "safe-number-js",
"version": "1.0.0",
"description": "A lightweight JavaScript library for handling numeric precision and large numbers",
"main": "dist/safeNumber.js",
"module": "dist/safeNumber.esm.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"src",
"LICENSE",
"README.md"
],
"scripts": {
"build": "rollup -c rollup.config.cjs",
"test": "jest",
"lint": "eslint src",
"format": "prettier --write \"src/**/*.{js,ts}\"",
"prepare": "npm run build",
"prepublishOnly": "npm test && npm run lint",
"preversion": "npm run lint",
"version": "npm run format && git add -A src",
"postversion": "git push && git push --tags"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
},
"keywords": [
"number",
"precision",
"floating-point",
"big-number",
"currency",
"javascript",
"typescript"
],
"author": "",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/GWnbsp/safe-number-js.git"
},
"bugs": {
"url": "https://github.com/GWnbsp/safe-number-js/issues"
},
"homepage": "https://github.com/GWnbsp/safe-number-js#readme",
"devDependencies": {
"@babel/core": "^7.23.7",
"@babel/preset-env": "^7.23.7",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.5",
"@types/jest": "^29.5.11",
"@typescript-eslint/eslint-plugin": "^6.17.0",
"@typescript-eslint/parser": "^6.17.0",
"eslint": "^8.56.0",
"jest": "^29.7.0",
"prettier": "^3.1.1",
"rollup": "^4.9.1",
"rollup-plugin-dts": "^6.1.0",
"ts-jest": "^29.1.1",
"typescript": "^5.3.3"
},
"dependencies": {
"tslib": "^2.6.2"
}
}