Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
style: add prettier-plugin-packagejson, format
Browse files Browse the repository at this point in the history
  • Loading branch information
MikaelSiidorow committed Jul 22, 2023
1 parent c7da7ae commit 2a866da
Show file tree
Hide file tree
Showing 3 changed files with 171 additions and 31 deletions.
6 changes: 5 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,9 @@
"semi": true,
"printWidth": 100,
"tailwindConfig": "./tailwind.config.cjs",
"plugins": ["prettier-plugin-organize-imports", "prettier-plugin-tailwindcss"]
"plugins": [
"prettier-plugin-organize-imports",
"prettier-plugin-packagejson",
"prettier-plugin-tailwindcss"
]
}
61 changes: 31 additions & 30 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,47 +1,44 @@
{
"name": "@tietokilta/ui",
"version": "0.0.0-development",
"license": "MIT",
"homepage": "https://tietokilta.github.io/ui/",
"repository": {
"type": "git",
"url": "https://github.com/Tietokilta/ui.git"
},
"license": "MIT",
"author": "Mikael Siidorow <[email protected]> (https://siidorow.com)",
"type": "module",
"files": [
"dist"
],
"main": "./dist/ui.umd.cjs",
"module": "./dist/ui.js",
"types": "./dist/ui.d.ts",
"exports": {
".": {
"types": "./dist/ui.d.ts",
"import": "./dist/ui.js",
"require": "./dist/ui.umd.cjs"
}
},
"dependencies": {
"@radix-ui/react-tabs": "1.0.4",
"class-variance-authority": "^0.7.0",
"clsx": "^2.0.0",
"tailwind-merge": "^1.14.0"
},
"peerDependencies": {
"autoprefixer": "^10.4.13",
"postcss": "^8.4.21",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"tailwindcss": "^3.2.4"
},
"main": "./dist/ui.umd.cjs",
"module": "./dist/ui.js",
"types": "./dist/ui.d.ts",
"files": [
"dist"
],
"scripts": {
"prepare": "husky install",
"dev": "storybook dev -p 6006 --disable-telemetry",
"build": "tsc && vite build && dts-bundle-generator -o ./dist/ui.d.ts ./lib/main.ts",
"build-storybook": "storybook build --disable-telemetry && touch ./storybook-static/.nojekyll",
"deploy-storybook": "gh-pages -d storybook-static -t true",
"check": "tsc",
"lint": "prettier --check . && eslint .",
"deploy-storybook": "gh-pages -d storybook-static -t true",
"dev": "storybook dev -p 6006 --disable-telemetry",
"format": "prettier --write .",
"test": "vitest",
"semantic-release": "semantic-release"
"lint": "prettier --check . && eslint .",
"prepare": "husky install",
"semantic-release": "semantic-release",
"test": "vitest"
},
"dependencies": {
"@radix-ui/react-tabs": "1.0.4",
"class-variance-authority": "^0.7.0",
"clsx": "^2.0.0",
"tailwind-merge": "^1.14.0"
},
"devDependencies": {
"@commitlint/cli": "^17.6.7",
Expand Down Expand Up @@ -75,6 +72,7 @@
"postcss": "^8.4.27",
"prettier": "^3.0.0",
"prettier-plugin-organize-imports": "^3.2.3",
"prettier-plugin-packagejson": "^2.4.5",
"prettier-plugin-tailwindcss": "^0.4.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand All @@ -85,11 +83,14 @@
"vite": "^4.4.6",
"vitest": "^0.33.0"
},
"peerDependencies": {
"autoprefixer": "^10.4.13",
"postcss": "^8.4.21",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"tailwindcss": "^3.2.4"
},
"engines": {
"node": "^16.14 || >=18.12"
},
"repository": {
"type": "git",
"url": "https://github.com/Tietokilta/ui.git"
}
}
135 changes: 135 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2a866da

Please sign in to comment.