-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
89 lines (89 loc) · 2.25 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
{
"name": "numabbr",
"version": "1.0.2",
"description": "Abbreviate number to a more human-friendly format (3.6K, 6.8M, etc.)",
"main": "lib/index.js",
"module": "es/index.js",
"unpkg": "dist/numabbr.js",
"types": "lib/index.d.ts",
"files": [
"dist",
"es",
"lib"
],
"keywords": [
"number",
"abbreviate",
"abbr",
"format",
"round",
"commatize",
"units"
],
"author": {
"name": "bubkoo",
"email": "bubkoo.wy@gmail.com"
},
"license": "MIT",
"scripts": {
"lint": "eslint 'src/**/*.{js,ts}?(x)' --fix",
"clean": "rimraf dist es lib",
"build:esm": "tsc --module esnext --target es2017 --outDir ./es",
"build:cjs": "tsc --module commonjs --target es5 --outDir ./lib",
"build:umd": "rollup -c",
"build": "run-s build:esm build:cjs build:umd",
"prebuild": "run-s lint clean",
"test": "jest",
"coveralls": "cat ./test/coverage/lcov.info | coveralls",
"pretest": "rimraf ./test/coverage",
"prepare": "is-ci || husky install .husky"
},
"lint-staged": {
"**/*.{js,jsx,tsx,ts,less,md,json}": [
"pretty-quick — staged"
],
"*.ts": [
"eslint --fix"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"release": {
"extends": "@bubkoo/semantic-release-config"
},
"homepage": "https://github.com/bubkoo/number-abbreviate#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/bubkoo/number-abbreviate.git"
},
"bugs": {
"url": "https://github.com/bubkoo/number-abbreviate/issues"
},
"devDependencies": {
"@bubkoo/eslint-config": "^1.1.0",
"@bubkoo/rollup-config": "^1.0.3",
"@bubkoo/semantic-release-config": "^1.3.0",
"@bubkoo/tsconfig": "^1.0.0",
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@types/jest": "^28.1.7",
"coveralls": "^3.1.1",
"eslint": "^8.22.0",
"husky": "^8.0.1",
"is-ci": "^3.0.1",
"jest": "^28.1.3",
"lint-staged": "^13.0.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"pretty-quick": "^3.1.3",
"rimraf": "^3.0.2",
"rollup": "^2.78.0",
"semantic-release": "^19.0.3",
"ts-jest": "^28.0.8",
"tslib": "^2.4.0",
"typescript": "^4.7.4"
}
}