/
package.json
141 lines (141 loc) 路 3.14 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
{
"name": "gitmoji-cli",
"version": "6.2.0",
"description": "A gitmoji client for using emojis on commit messages.",
"engines": {
"node": ">=14"
},
"bin": {
"gitmoji": "lib/cli.js"
},
"files": [
"lib"
],
"scripts": {
"build": "babel src -d lib",
"clean": "rm -rf lib",
"coverage": "codecov",
"flow": "flow",
"lint": "prettier --check src/**/*.js",
"package": "pkg . --output ./bin/gitmoji --targets latest-linux-x64,latest-macos-x64,latest-win-x64",
"prepare": "husky install",
"prepublishOnly": "yarn run lint && yarn run flow && yarn run test",
"test": "jest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/carloscuesta/gitmoji-cli.git"
},
"keywords": [
"gitmoji",
"emoji",
"carloscuesta",
"commit"
],
"author": {
"name": "carloscuesta",
"email": "hi@carloscuesta.me",
"url": "https://carloscuesta.me"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/carloscuesta/gitmoji-cli/issues"
},
"homepage": "https://github.com/carloscuesta/gitmoji-cli#readme",
"dependencies": {
"chalk": "4.1.0",
"conf": "10.2.0",
"execa": "5.1.1",
"fuse.js": "6.6.2",
"inquirer": "8.2.4",
"inquirer-autocomplete-prompt": "2.0.0",
"meow": "9.0.0",
"node-fetch": "2.6.7",
"ora": "5.4.1",
"path-exists": "4.0.0",
"proxy-agent": "5.0.0",
"update-notifier": "5.1.0",
"validator": "^13.7.0"
},
"devDependencies": {
"@babel/cli": "7.18.10",
"@babel/core": "7.19.1",
"@babel/preset-env": "7.19.0",
"@babel/preset-flow": "7.18.6",
"babel-plugin-module-resolver": "^4.1.0",
"codecov": "3.8.3",
"flow-bin": "^0.187.0",
"husky": "8.0.1",
"jest": "29.0.3",
"jest-fetch-mock": "3.0.3",
"jest-mock-process": "2.0.0",
"lint-staged": "13.0.3",
"pkg": "5.8.0",
"prettier": "2.7.1"
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "12"
}
}
],
"@babel/preset-flow"
],
"plugins": [
[
"module-resolver",
{
"alias": {
"@utils": "./src/utils",
"@commands": "./src/commands",
"@constants": "./src/constants"
}
}
]
]
},
"jest": {
"coverageDirectory": "./coverage/",
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.js"
],
"testMatch": [
"**/*.(spec).(js)"
],
"setupFiles": [
"./test/setupTests.js"
],
"moduleNameMapper": {
"@utils/(.*)$": "<rootDir>/src/utils/$1",
"@commands/(.*)$": "<rootDir>/src/commands/$1",
"@constants/(.*)$": "<rootDir>/src/constants/$1"
}
},
"prettier": {
"arrowParens": "always",
"semi": false,
"singleQuote": true,
"trailingComma": "none"
},
"lint-staged": {
"src/**/*.js": [
"prettier --write",
"git add"
]
},
"funding": [
{
"type": "Github Sponsors",
"url": "https://github.com/sponsors/carloscuesta"
},
{
"type": "Paypal",
"url": "https://paypal.me/carloscuesta"
}
]
}