-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
60 lines (60 loc) · 1.31 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
{
"name": "@p12/numeral",
"version": "1.1.3",
"license": "MIT",
"author": "Lincheng <1139489076@qq.com>",
"description": "format number",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"module": "dist/numeral.esm.js",
"files": [
"dist",
"src"
],
"repository": {
"url": "https://github.com/ProjectTwelve/numeral",
"type": "git"
},
"homepage": "https://github.com/ProjectTwelve/numeral#readme",
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "jest",
"lint": "tsdx lint",
"prepare": "tsdx build",
"size": "size-limit",
"analyze": "size-limit --why"
},
"husky": {
"hooks": {
"pre-commit": "tsdx lint"
}
},
"size-limit": [
{
"path": "dist/numeral.cjs.production.min.js",
"limit": "10 KB"
},
{
"path": "dist/numeral.esm.js",
"limit": "10 KB"
}
],
"devDependencies": {
"@babel/preset-typescript": "^7.18.6",
"@types/jest": "^29.0.0",
"@types/numeral": "^2.0.2",
"prettier": "^2.7.1",
"ts-jest": "^28.0.8",
"typescript": "^4.8.2"
},
"dependencies": {
"@size-limit/preset-small-lib": "^8.0.1",
"decimal.js-light": "^2.5.1",
"husky": "^8.0.1",
"numeral": "^2.0.6",
"size-limit": "^8.0.1",
"tsdx": "^0.14.1",
"tslib": "^2.4.0"
}
}