Add Prettier as dependency

pull/45/head
Nikita Karamov 2022-02-08 18:52:13 +01:00
parent c3295cc821
commit c626ffdb39
No known key found for this signature in database
GPG Key ID: 3C8E688C96EEB9C9
2 changed files with 4 additions and 1 deletions

1
.prettierignore Symbolic link
View File

@ -0,0 +1 @@
./.gitignore

View File

@ -35,7 +35,7 @@
"build": "rollup --config",
"build:dev": "cross-env NODE_ENV=development rollup --config",
"dev": "cross-env NODE_ENV=development rollup --config --watch",
"lint": "eslint src/*.js",
"lint": "prettier --check . && eslint src/*.js",
"release": "np",
"size": "size-limit",
"test": "pnpm run lint && pnpm run build && pnpm run size",
@ -52,6 +52,7 @@
"cssnano": "^5.0.16",
"eslint": "^8.8.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.4",
"np": "^7.6.0",
"postcss": "^8.4.6",
@ -59,6 +60,7 @@
"postcss-calc": "^8.2.3",
"postcss-css-variables": "^0.18.0",
"postcss-mixins": "^9.0.1",
"prettier": "^2.5.1",
"rollup": "^2.67.0",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-terser": "^7.0.2",