mirror of
https://github.com/vercel/next-learn.git
synced 2026-07-01 00:24:24 +00:00
Moves prettier and lint to root of the project
This commit is contained in:
22
package.json
Normal file
22
package.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"name": "15-final",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"engines": {
|
||||
"node": ">=18"
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "eslint . --ext .cjs,.js,.jsx,.mjs,.ts,.tsx",
|
||||
"prettier": "prettier --write --ignore-unknown .",
|
||||
"prettier:check": "prettier --check --ignore-unknown .",
|
||||
"start": "next start",
|
||||
"test": "npm run lint && npm run prettier:check"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "8.48.0",
|
||||
"eslint-config-next": "13.4.19",
|
||||
"eslint-config-prettier": "9.0.0",
|
||||
"prettier": "3.0.3",
|
||||
"prettier-plugin-tailwindcss": "0.5.4"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user