-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
111 lines (111 loc) · 2.24 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
{
"name": "@jlozovei/trim-currency",
"version": "0.0.0-development",
"description": "A cool JS helper to trim/clean currency values",
"main": "dist/index.js",
"scripts": {
"build": "rollup -c",
"format": "prettier \"{./,tests}/*.js\" --write",
"test:dev": "jest",
"test": "jest --coverage --watchAll=false",
"semantic-release": "semantic-release"
},
"repository": {
"type": "git",
"url": "https://github.com/jlozovei/trim-currency.git"
},
"author": "Julio Lozovei <[email protected]> (https://jlozovei.dev)",
"license": "MIT",
"bugs": {
"url": "https://github.com/jlozovei/trim-currency/issues"
},
"homepage": "https://github.com/jlozovei/trim-currency#readme",
"files": [
"dist"
],
"keywords": [
"currency",
"trim"
],
"dependencies": {
"@babel/core": "^7.12.3",
"@babel/preset-env": "^7.12.1",
"@babel/register": "^7.12.1",
"rollup": "^1.32.0"
},
"devDependencies": {
"eslint": "^8.1.0",
"eslint-config-prettier": "^6.13.0",
"eslint-plugin-prettier": "^3.1.2",
"husky": "^4.3.0",
"jest": "^27.3.1",
"prettier": "^1.19.1",
"semantic-release": "^19.0.3"
},
"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"
}
}
}