-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
93 lines (93 loc) · 2.9 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
{
"name": "@lzwme/asmd-calc",
"version": "1.3.3",
"description": "支持浮点数精度的加减乘除四则运算 JS 库。",
"main": "build/main/index.js",
"browser": "build/main/index.js",
"module": "build/module/index.js",
"typings": "build/main/index.d.ts",
"private": false,
"license": "MIT",
"repository": "https://github.com/lzwme/asmd-calc.git",
"author": {
"name": "renxia",
"email": "[email protected]",
"url": "https://lzw.me"
},
"engines": {
"node": ">=10"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.com"
},
"keywords": [
"calc",
"precision",
"number",
"decimal",
"float",
"floating-point",
"浮点数计算",
"浮点数精确计算"
],
"scripts": {
"prepare": "husky install",
"start": "npm run watch",
"build": "run-s clean && run-p build:*",
"build:main": "tsc -p tsconfig.cjs.json",
"build:module": "tsc -p tsconfig.module.json",
"fix": "run-s fix:*",
"fix:prettier": "prettier \"src/**/*.ts\" --write",
"fix:lint": "eslint src --ext .ts --fix",
"test": "run-s test:*",
"test:lint": "eslint src --ext .ts",
"test:prettier": "prettier \"src/**/*.ts\" --list-different",
"test:unit": "npm run cov",
"watch": "run-s clean build:main && run-p \"build:main -- -w\" \"test:unit -- --watch\"",
"watch:build": "tsc -p tsconfig.json -w",
"watch:test": "jest --watch",
"cov": "jest --coverage --silent",
"cov:html": "jest --coverage --silent --reporter=html",
"doc": "run-s doc:html",
"doc:html": "typedoc src/ --exclude **/*.spec.ts --out build/docs --tsconfig tsconfig.module.json",
"doc:json": "typedoc src/ --exclude **/*.spec.ts --json build/docs/typedoc.json --tsconfig tsconfig.module.json",
"version": "standard-version",
"clean": "flh rm -f build",
"release": "run-s build doc:html",
"release-version": "run-s test release version",
"benchmark": "ts-node -T benchmark/index.ts"
},
"devDependencies": {
"@jest/core": "^29",
"@lzwme/fed-lint-helper": "^2.3.4",
"@swc/core": "^1.3.70",
"@swc/jest": "^0.2.26",
"@types/eslint": "^8.44.0",
"@types/jest": "^29.5.3",
"@types/node": "^20",
"@typescript-eslint/eslint-plugin": "^6.1.0",
"@typescript-eslint/parser": "^6.1.0",
"decimal.js": "^10.4.3",
"eslint": "^8.45.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-functional": "^5.0.8",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.3",
"eslint-plugin-prettier": "^5.0.0",
"husky": "^8.0.3",
"jest": "^29",
"mathjs": "^11.9.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.0.0",
"standard-version": "^9.5.0",
"ts-node": "^10.9.1",
"typedoc": "^0.24.8",
"typescript": "^5.1.6"
},
"packageManager": "[email protected]",
"prettier": {
"singleQuote": true
}
}