forked from carloscuesta/gitmoji-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
111 lines (111 loc) · 2.45 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": "gitmoji-cli",
"version": "3.2.6",
"description": "A gitmoji client for using emojis on commit messages.",
"engines": {
"node": ">=10"
},
"bin": {
"gitmoji": "lib/cli.js"
},
"files": [
"lib"
],
"scripts": {
"build": "babel src -d lib",
"package": "pkg . --output ./bin/gitmoji --targets latest-linux-x64,latest-macos-x64,latest-win-x64",
"clean": "rm -rf lib",
"flow": "flow",
"lint": "prettier --check src/**/*.js",
"prepublishOnly": "yarn run lint && yarn run flow && yarn run test && yarn run clean && yarn run build",
"coverage": "codecov",
"test": "jest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/carloscuesta/gitmoji-cli.git"
},
"keywords": [
"gitmoji",
"emoji",
"carloscuesta",
"commit"
],
"author": "Carlos Cuesta",
"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": "^6.1.0",
"execa": "^4.0.0",
"fuse.js": "^3.4.6",
"inquirer": "^7.0.0",
"inquirer-autocomplete-prompt": "^1.0.1",
"meow": "^6.0.0",
"node-fetch": "^2.6.0",
"ora": "^4.0.2",
"path-exists": "^3.0.0",
"update-notifier": "^4.0.0"
},
"devDependencies": {
"@babel/cli": "^7.10.1",
"@babel/core": "^7.10.2",
"@babel/preset-env": "^7.10.2",
"@babel/preset-flow": "^7.10.1",
"codecov": "^3.6.1",
"flow-bin": "^0.110.1",
"husky": "^4.2.1",
"jest": "^25.1.0",
"jest-fetch-mock": "^3.0.0",
"jest-mock-process": "^1.2.0",
"lint-staged": "^10.0.7",
"pkg": "^4.4.8",
"prettier": "^1.18.2"
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "10"
}
}
],
"@babel/preset-flow"
]
},
"jest": {
"coverageDirectory": "./coverage/",
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.js"
],
"testMatch": [
"**/*.(spec).(js)"
],
"setupFiles": [
"./test/setupTests.js"
]
},
"prettier": {
"semi": false,
"singleQuote": true,
"arrowParens": "always"
},
"lint-staged": {
"*.{js}": [
"prettier --write src/**/*.js",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "yarn run flow && yarn run test"
}
}
}