mirror of
https://github.com/carloscuesta/gitmoji.git
synced 2025-12-08 20:14:12 +00:00
181 lines
4.1 KiB
JSON
181 lines
4.1 KiB
JSON
{
|
|
"name": "gitmojis",
|
|
"version": "3.13.0",
|
|
"engines": {
|
|
"node": "16"
|
|
},
|
|
"description": "An emoji guide for your commit messages.",
|
|
"private": false,
|
|
"main": "src/data/gitmojis.json",
|
|
"files": [
|
|
"src/data/gitmojis.json"
|
|
],
|
|
"scripts": {
|
|
"build": "next build",
|
|
"dev": "next dev",
|
|
"flow": "flow",
|
|
"lint": "eslint src && prettier --check src/**/*.{js,json,css}",
|
|
"postbuild": "next-sitemap",
|
|
"start": "next start",
|
|
"test": "jest --coverage",
|
|
"validate:gitmojis": "jsonlint ./src/data/gitmojis.json -V ./src/data/schema.json",
|
|
"prepublishOnly": "npm run validate:gitmojis",
|
|
"prepare": "husky install"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.19.6",
|
|
"@babel/eslint-parser": "^7.19.1",
|
|
"@babel/preset-flow": "^7.0.0",
|
|
"@babel/preset-react": "^7.18.6",
|
|
"clipboard": "^2.0.4",
|
|
"eslint": "^8.26.0",
|
|
"eslint-config-next": "^13.0.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-import-resolver-alias": "^1.1.2",
|
|
"eslint-plugin-flowtype": "^8.0.3",
|
|
"eslint-plugin-jest": "^27.1.3",
|
|
"eslint-plugin-react": "^7.31.10",
|
|
"flow-bin": "^0.193.0",
|
|
"focus-trap-react": "^10.0.0",
|
|
"husky": "^8.0.0",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"jest": "^29.0.1",
|
|
"jest-environment-jsdom": "^29.0.1",
|
|
"jest-fetch-mock": "^3.0.3",
|
|
"jsonlint": "^1.6.3",
|
|
"lint-staged": "^13.0.0",
|
|
"next": "^13.0.0",
|
|
"next-pwa": "^5.4.4",
|
|
"next-sitemap": "^2.1.5",
|
|
"next-themes": "^0.2.0",
|
|
"prettier": "2.7.1",
|
|
"prop-types": "^15.8.1",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-test-renderer": "^18.2.0"
|
|
},
|
|
"author": {
|
|
"name": "carloscuesta",
|
|
"email": "hi@carloscuesta.me",
|
|
"url": "https://carloscuesta.me"
|
|
},
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/carloscuesta/gitmoji/issues"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/carloscuesta/gitmoji.git"
|
|
},
|
|
"homepage": "https://gitmoji.dev",
|
|
"keywords": [
|
|
"gitmoji",
|
|
"emoji",
|
|
"carloscuesta",
|
|
"commit"
|
|
],
|
|
"prettier": {
|
|
"semi": false,
|
|
"singleQuote": true,
|
|
"arrowParens": "always"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,jsx}": [
|
|
"eslint --cache --fix",
|
|
"prettier --write src/**/*.{js,json,css}",
|
|
"git add"
|
|
]
|
|
},
|
|
"jest": {
|
|
"collectCoverageFrom": [
|
|
"src/**/*.{js,jsx}"
|
|
],
|
|
"testMatch": [
|
|
"**/*.(spec).(js)"
|
|
],
|
|
"moduleNameMapper": {
|
|
"^.+\\.css$": "identity-obj-proxy",
|
|
"src/(.*)$": "<rootDir>/src/$1"
|
|
},
|
|
"testEnvironment": "jsdom"
|
|
},
|
|
"volta": {
|
|
"node": "16.15.0"
|
|
},
|
|
"eslintConfig": {
|
|
"parser": "@babel/eslint-parser",
|
|
"env": {
|
|
"jest": true,
|
|
"browser": true,
|
|
"es2021": true
|
|
},
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:flowtype/recommended",
|
|
"plugin:react/recommended",
|
|
"prettier",
|
|
"plugin:@next/next/recommended"
|
|
],
|
|
"parserOptions": {
|
|
"ecmaFeatures": {
|
|
"jsx": true
|
|
},
|
|
"ecmaVersion": 12,
|
|
"sourceType": "module",
|
|
"requireConfigFile": false,
|
|
"babelOptions": {
|
|
"presets": [
|
|
"next/babel",
|
|
"@babel/preset-react",
|
|
"@babel/preset-flow"
|
|
]
|
|
}
|
|
},
|
|
"plugins": [
|
|
"react",
|
|
"flowtype"
|
|
],
|
|
"rules": {
|
|
"flowtype/require-valid-file-annotation": [
|
|
2,
|
|
"always",
|
|
{
|
|
"annotationStyle": "line"
|
|
}
|
|
],
|
|
"react/react-in-jsx-scope": "off",
|
|
"@next/next/no-img-element": "off",
|
|
"react/no-unknown-property": ["error", { "ignore": ["jsx", "global"] }]
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": [
|
|
"*.spec.js",
|
|
"stubs.js",
|
|
"**/__mocks__/*.js"
|
|
],
|
|
"rules": {
|
|
"flowtype/require-valid-file-annotation": 0
|
|
}
|
|
}
|
|
],
|
|
"settings": {
|
|
"react": {
|
|
"version": "detect",
|
|
"flowVersion": "detect"
|
|
},
|
|
"import/resolver": {
|
|
"alias": {
|
|
"map": [
|
|
[
|
|
"src",
|
|
"./src"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"dependencies": {}
|
|
}
|