-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
119 lines (119 loc) · 2.86 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
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
{
"name": "decimal-eval",
"description": "A tiny, safe, fast JavaScript library for decimal arithmetic expressions.",
"version": "0.1.1",
"main": "index.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"sideEffects": false,
"scripts": {
"start": "rollup -c -w",
"build": "rollup -c",
"test": "jest",
"dts": "node scripts/dts.js",
"size": "node scripts/size.js",
"lint": "eslint {src,test}/**/*.ts --fix",
"benchmark": "node ./benchmark"
},
"keywords": [
"eval",
"evaluator",
"decimal",
"mathjs",
"math",
"math-eval",
"math-evaluator",
"expression-evaluator",
"parser",
"js",
"javascript",
"calculation"
],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"homepage": "https://github.com/peakchen90/decimal-eval#readme",
"bugs": {
"url": "https://github.com/peakchen90/decimal-eval/issues"
},
"repository": {
"type": "git",
"url": "git@github.com:peakchen90/decimal-eval.git"
},
"author": "peakchen90 <1558267774@qq.com>",
"license": "MIT",
"files": [
"index.js",
"dist",
"README.md",
"LICENSE"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": [
"eslint --fix",
"git add"
]
},
"jest": {
"verbose": true,
"preset": "ts-jest",
"globals": {
"__VERSION__": true,
"ts-jest": {
"tsconfig": {
"target": "es6",
"sourceMap": true
}
}
},
"testMatch": [
"**/test/**/*.test.{ts,tsx}"
],
"collectCoverage": true,
"coverageDirectory": "<rootDir>/test/coverage",
"collectCoverageFrom": [
"src/**/*.{ts,tsx}"
]
},
"dependencies": {
"@babel/runtime": "^7.14.0",
"bignumber.js": "^9.0.1"
},
"devDependencies": {
"@babel/core": "^7.14.3",
"@babel/plugin-proposal-class-properties": "^7.13.0",
"@babel/plugin-transform-runtime": "^7.14.3",
"@babel/preset-env": "^7.14.2",
"@babel/preset-typescript": "^7.13.0",
"@microsoft/api-extractor": "^7.15.2",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^19.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.0.0",
"@rollup/plugin-replace": "^2.4.2",
"@rollup/plugin-typescript": "^8.2.1",
"@types/jest": "^26.0.23",
"@typescript-eslint/eslint-plugin": "^4.24.0",
"@typescript-eslint/parser": "^4.24.0",
"chalk": "^4.1.1",
"del": "^6.0.0",
"eslint": "^7.26.0",
"eslint-config-alloy": "^4.1.0",
"gzip-size": "^6.0.0",
"husky": "^4.3.8",
"jest": "^26.6.3",
"lint-staged": "^10.5.4",
"ora": "^5.4.0",
"rollup": "^2.48.0",
"rollup-plugin-clear": "^2.0.7",
"rollup-plugin-terser": "^7.0.2",
"ts-jest": "^26.5.6",
"typescript": "^4.2.4"
}
}