-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
114 lines (114 loc) · 2.4 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
{
"name": "@jlozovei/format-money",
"version": "0.0.0-development",
"description": "The coolest money formatting helper for JavaScript!",
"main": "dist/index.js",
"scripts": {
"build": "rollup -c",
"format": "prettier \"{./,tests}/*.js\" --write",
"test:dev": "cross-env NODE_ICU_DATA=node_modules/full-icu jest",
"test": "cross-env NODE_ICU_DATA=node_modules/full-icu jest --coverage --watchAll=false",
"semantic-release": "semantic-release"
},
"repository": {
"type": "git",
"url": "https://github.com/jlozovei/format-money.git"
},
"author": "Julio Lozovei <[email protected]> (https://jlozovei.dev)",
"license": "MIT",
"bugs": {
"url": "https://github.com/jlozovei/format-money/issues"
},
"homepage": "https://github.com/jlozovei/format-money#readme",
"files": [
"dist"
],
"keywords": [
"money",
"toLocaleString",
"format"
],
"devDependencies": {
"cross-env": "^7.0.2",
"eslint": "^8.1.0",
"eslint-config-prettier": "^6.13.0",
"eslint-plugin-prettier": "^3.1.4",
"full-icu": "^1.3.1",
"husky": "^4.3.0",
"jest": "^27.3.1",
"prettier": "^2.1.2",
"semantic-release": "^19.0.3"
},
"dependencies": {
"@babel/core": "^7.12.3",
"@babel/preset-env": "^7.12.1",
"@babel/register": "^7.12.1",
"rollup": "^2.32.0"
},
"husky": {
"hooks": {
"pre-push": "npm run format"
}
},
"jest": {
"collectCoverageFrom": [
"*.js"
],
"coverageReporters": [
"json-summary",
"text",
"lcov"
],
"coverageDirectory": "./coverage/"
},
"prettier": {
"printWidth": 100,
"useTabs": false,
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"trailingComma": "none"
},
"babel": {
"presets": [
"@babel/preset-env"
]
},
"eslintConfig": {
"root": true,
"env": {
"browser": true,
"es6": true
},
"plugins": [
"prettier"
],
"extends": [
"eslint:recommended",
"plugin:prettier/recommended"
],
"parserOptions": {
"ecmaVersion": 2016,
"sourceType": "module"
},
"rules": {
"indent": [
"error",
2
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
],
"prettier/prettier": "error"
}
}
}