gitmoji-cli
Version:
A gitmoji client for using emojis on commit messages.
179 lines (178 loc) • 4.57 kB
JSON
{
"name": "gitmoji-cli",
"version": "9.5.0",
"packageManager": "yarn@1.22.22",
"type": "module",
"description": "A gitmoji client for using emojis on commit messages.",
"engines": {
"node": ">=18"
},
"bin": {
"gitmoji": "lib/cli.js"
},
"files": [
"lib"
],
"scripts": {
"build": "babel src -d lib --extensions \".js,.ts\"",
"clean": "rm -rf lib",
"flow": "flow",
"lint": "eslint ./src && prettier --check src/**/*.js --parser=flow && prettier --check src/**/*.ts --parser=typescript",
"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": "FORCE_COLOR=1 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": "^5.3.0",
"conf": "13.0.1",
"execa": "^8.0.1",
"fuse.js": "7.0.0",
"inquirer": "~9.3.6",
"inquirer-autocomplete-prompt": "^3.0.1",
"meow": "^13.2.0",
"node-fetch": "^3.3.2",
"ora": "^8.1.0",
"path-exists": "^5.0.0",
"proxy-agent": "^6.3.1",
"update-notifier": "^7.3.1",
"validator": "^13.12.0"
},
"devDependencies": {
"@babel/cli": "7.25.7",
"@babel/core": "7.25.7",
"@babel/plugin-syntax-import-assertions": "^7.25.6",
"@babel/preset-env": "7.25.4",
"@babel/preset-flow": "7.24.7",
"@babel/preset-typescript": "^7.24.7",
"@types/jest": "^29.5.13",
"@types/update-notifier": "^6.0.8",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"babel-plugin-module-extension-resolver": "^1.0.0-rc.2",
"babel-plugin-module-resolver": "5.0.2",
"babel-plugin-transform-import-meta": "^2.2.1",
"eslint": "8.57.1",
"eslint-plugin-ft-flow": "3.0.11",
"eslint-plugin-immutable": "1.0.0",
"flow-bin": "^0.247.1",
"hermes-eslint": "0.23.1",
"husky": "9.1.4",
"jest": "29.7.0",
"jest-fetch-mock": "3.0.3",
"jest-mock-process": "2.0.0",
"lint-staged": "15.2.10",
"pkg": "5.8.1",
"prettier": "3.3.3",
"turbo": "^2.1.3",
"typescript": "^5.6.2"
},
"jest": {
"coverageDirectory": "./coverage/",
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.js",
"src/**/*.ts"
],
"testMatch": [
"**/*.(spec).(js|ts)"
],
"setupFiles": [
"./test/setupTests.js"
],
"moduleFileExtensions": [
"js",
"ts"
],
"transformIgnorePatterns": [],
"moduleNameMapper": {
"^#ansi-styles$": "<rootDir>/node_modules/chalk/source/vendor/ansi-styles/index.js",
"^#supports-color$": "<rootDir>/node_modules/chalk/source/vendor/supports-color/index.js",
"@utils/(.*)$": "<rootDir>/src/utils/$1",
"@commands/(.*)$": "<rootDir>/src/commands/$1",
"@constants/(.*)$": "<rootDir>/src/constants/$1",
"^(\\.\\.?\\/.+)\\.js$": "$1"
}
},
"prettier": {
"arrowParens": "always",
"semi": false,
"singleQuote": true,
"trailingComma": "none"
},
"eslintConfig": {
"parser": "hermes-eslint",
"plugins": [
"ft-flow",
"immutable",
"@typescript-eslint"
],
"env": {
"es2021": true,
"node": true,
"jest": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"overrides": [
{
"files": [
"./**/*.ts"
],
"parser": "@typescript-eslint/parser"
}
],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"rules": {
"no-var": "error",
"no-undef": "error",
"no-param-reassign": "error"
},
"globals": {
"$Values": "readonly"
}
},
"lint-staged": {
"src/**/*.js": [
"prettier --write"
],
"src/**/*.ts": [
"prettier --write"
]
},
"funding": [
{
"type": "Github Sponsors",
"url": "https://github.com/sponsors/carloscuesta"
},
{
"type": "Paypal",
"url": "https://paypal.me/carloscuesta"
}
]
}