-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
77 lines (77 loc) · 1.95 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
{
"name": "pretty-num",
"version": "0.5.2",
"description": "Lightweight module for formatting numbers to a human readable string",
"main": "dist/index.js",
"module": "src/index.js",
"files": [
"/src/",
"/dist/"
],
"scripts": {
"build": "npm run bundle && npm run bundle:min",
"bundle": "rollup -c build/rollup.config.js",
"bundle:min": "rollup -c build/rollup.uglify.config.js",
"prepublishOnly": "npm run lint && npm run test && npm run build",
"lint": "eslint --ext .js ./src ./test",
"lint:fix": "eslint --ext .js ./src ./test --fix",
"test": "jest",
"coverage": "jest --coverage",
"precommit": "echo 'Pre-commit checks...' && npm run lint"
},
"pre-commit": [
"precommit"
],
"repository": {
"type": "git",
"url": "git+https://github.com/shrpne/pretty-num.git"
},
"keywords": [
"format",
"pretty",
"big",
"number",
"human",
"readable",
"string",
"text",
"exponential",
"thousands",
"separator",
"significant",
"round",
"decimal",
"fixed",
"decrease",
"precision"
],
"author": "shrpne <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/shrpne/pretty-num/issues"
},
"dependencies": {
"from-exponential": "^1.1.1",
"thousands": "^1.0.1"
},
"devDependencies": {
"@babel/core": "^7.18.2",
"@babel/preset-env": "^7.18.2",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-commonjs": "^22.0.0",
"@rollup/plugin-node-resolve": "^13.3.0",
"babel-jest": "^28.1.1",
"coveralls": "^3.1.1",
"eslint": "^8.17.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.5.3",
"eslint-plugin-jsdoc": "^39.3.2",
"eslint-plugin-security": "^1.5.0",
"eslint-plugin-unicorn": "^42.0.0",
"jest": "^28.1.1",
"pre-commit": "^1.2.2",
"rollup": "^2.75.6",
"rollup-plugin-terser": "^7.0.2"
}
}