nzambello.dev/package.json

127 lines
2.5 KiB
JSON

{
"name": "nzambello.dev",
"type": "module",
"version": "0.0.1",
"scripts": {
"dev": "astro dev",
"start": "astro dev",
"build": "astro build",
"preview": "astro preview",
"astro": "astro"
},
"engines": {
"node": ">=16"
},
"packageManager": "yarn@3.2.3",
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "es5",
"arrowParens": "avoid",
"endOfLine": "auto",
"overrides": [
{
"files": "*.css",
"options": {
"tabWidth": 4,
"printWidth": 120
}
},
{
"files": "*.json",
"options": {
"printWidth": 200
}
}
]
},
"eslintIgnore": [
"/node_modules",
"/build"
],
"eslintConfig": {
"env": {
"browser": true,
"es2021": true,
"jest": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": "latest",
"sourceType": "module"
},
"settings": {
"react": {
"version": "detect"
}
},
"globals": {
"JSX": "readonly",
"NodeJS": "readonly",
"MutationCallback": "readonly"
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:react/jsx-runtime",
"plugin:storybook/recommended",
"prettier"
],
"plugins": [
"jest",
"react",
"@typescript-eslint",
"prettier",
"react-hooks",
"jsx-a11y"
],
"rules": {
"endOfLine": "off",
"react/no-unknown-property": "off",
"react/require-default-props": "off",
"no-unused-vars": "off",
"no-extra-boolean-cast": "off",
"no-console": "off",
"no-shadow": "off"
}
},
"stylelint": {
"extends": [
"stylelint-config-recommended",
"stylelint-config-prettier",
"stylelint-config-idiomatic-order"
],
"rules": {
"at-rule-no-unknown": [
true,
{
"ignoreAtRules": [
"extend",
"function",
"include",
"mixin",
"return"
]
}
]
}
},
"dependencies": {
"@picocss/pico": "^1.5.10",
"astro": "^3.0.10"
},
"devDependencies": {
"@commitlint/cli": "17.3.0",
"@commitlint/config-conventional": "17.3.0",
"husky": "8.0.2",
"stylelint": "14.15.0",
"stylelint-config-idiomatic-order": "9.0.0",
"stylelint-config-prettier": "9.0.4",
"stylelint-config-recommended": "9.0.0"
}
}