gitmoji/packages/website/package.json
Carlos Cuesta 7d305f45f3
♻️ Migrate from yarn to pnpm (#1503)
* 🔧 Add `pnpm-workspace` configuration

* 🔧 Add `pnpm-lock` file

* ♻️ Replace `yarn` with `pnpm` in root package.json

* 🔥 Remove yarn binary

* ⬆️ Bump `next-pwa` dependencies

* 🔥 Remove yarn lockfile

* ♻️ Replace `yarn` with `pnpm` in gitmojis package

* ♻️ Replace `yarn` with `pnpm` in website package

* ♻️ Replace `yarn` with `pnpm` in GitHub workflows

* ♻️ Adjust `lintstagedrc` prettier arguments

* 📝 Update documentation

* ♻️ Replace `yarn` with `pnpm` in git hooks

* 🔥 Remove yarn refs from git files

* ⬆️ Update `clipboard` dependency

* 👷‍♂️ Install pnpm in GitHub Actions

* 🔥 Remove unnecessary `exec` c md

* 📝 Update documentation

* 🔧 Specify pnpm as an engine
2023-06-14 18:18:53 +02:00

162 lines
3.6 KiB
JSON

{
"name": "website",
"private": true,
"version": "1.0.0",
"engines": {
"node": "18"
},
"scripts": {
"build": "next build && next-sitemap",
"tscheck": "pnpm exec tsc --noEmit",
"dev": "next dev",
"lint": "eslint ./src && prettier --check ./src/**/*.{ts,tsx,css}",
"start": "next start",
"test": "FORCE_COLOR=1 jest --coverage"
},
"devDependencies": {
"@types/fetch-mock": "^7.3.5",
"@types/jest": "^29.5.2",
"@types/react": "^18.2.11",
"@types/react-test-renderer": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.59.9",
"@typescript-eslint/parser": "^5.59.11",
"clipboard": "^2.0.11",
"eslint": "^8.42.0",
"eslint-config-next": "^13.4.5",
"eslint-config-prettier": "^8.8.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-react": "^7.32.2",
"focus-trap-react": "^10.1.4",
"gitmojis": "workspace:*",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"jest-fetch-mock": "^3.0.3",
"lint-staged": "^13.2.2",
"next": "^13.4.5",
"next-pwa": "^5.6.0",
"next-sitemap": "^4.1.3",
"next-themes": "^0.2.0",
"node-mocks-http": "^1.12.2",
"prettier": "2.8.8",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hot-toast": "^2.4.1",
"react-test-renderer": "^18.2.0",
"typescript": "^5.1.3"
},
"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"
},
"volta": {
"node": "16.15.0"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"env": {
"jest": true,
"browser": true,
"es2021": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"prettier",
"plugin:@next/next/recommended",
"plugin:import/typescript"
],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 12,
"sourceType": "module",
"requireConfigFile": false,
"babelOptions": {
"presets": [
"next/babel"
]
}
},
"plugins": [
"react",
"@typescript-eslint",
"import"
],
"rules": {
"react/react-in-jsx-scope": "off",
"@next/next/no-img-element": "off",
"react/no-unknown-property": [
"error",
{
"ignore": [
"jsx",
"global"
]
}
],
"import/order": [
"error",
{
"groups": [
[
"builtin",
"external"
],
[
"internal",
"parent",
"sibling",
"index"
]
],
"newlines-between": "always"
}
]
},
"settings": {
"react": {
"version": "detect"
},
"import/resolver": {
"alias": {
"map": [
[
"src",
"./src"
]
]
},
"typescript": true,
"node": true
}
}
}
}