-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
136 lines (136 loc) · 3.24 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"name": "template",
"version": "1.0.0",
"private": "true",
"description": "Customizable Front-End Template",
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "npx eslint . --ext .ts,.tsx",
"lint:fix": "npx eslint . --ext .ts,.tsx --fix",
"format": "prettier --write .",
"check-format": "prettier --list-different \"./**/*.{md,mdx,ts,js,tsx,jsx}\"",
"prepare": "husky install",
"postinstall": "yarn husky install && yarn build",
"pre-commit": "yarn lint:fix",
"pre-push": "yarn check-format"
},
"prettier": {
"singleQuote": true,
"jsxSingleQuote": true,
"tabWidth": 2,
"printWidth": 80,
"useTabs": false,
"semi": false,
"trailingComma": "es5",
"bracketSpacing": true,
"arrowParens": "avoid"
},
"eslintConfig": {
"extends": [
"next",
"eslint:recommended",
"next/core-web-vitals",
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"ignorePatterns": [
"postcss.config.js",
"tailwind.config.js"
],
"rules": {
"import/order": [
"error",
{
"groups": [
"builtin",
"external",
"internal"
],
"pathGroups": [
{
"pattern": "react",
"group": "external",
"position": "before"
}
],
"pathGroupsExcludedImportTypes": [
"react"
],
"newlines-between": "always",
"alphabetize": {
"order": "asc",
"caseInsensitive": true
}
}
],
"no-unused-vars": "off",
"no-console": "warn",
"@typescript-eslint/explicit-module-boundary-types": "off"
},
"globals": {
"React": true,
"JSX": true
}
},
"dependencies": {
"eslint-config-prettier": "^8.5.0",
"next": "^12.2.1",
"next-themes": "^0.2.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-use": "^17.4.0",
"use-sound": "^4.0.1"
},
"devDependencies": {
"@types/node": "^18.0.3",
"@types/react": "^18.0.15",
"@typescript-eslint/eslint-plugin": "^5.30.5",
"@typescript-eslint/parser": "^5.30.5",
"autoprefixer": "^10.4.7",
"eslint": "^8.19.0",
"eslint-config-next": "12.2.1",
"eslint-plugin-prettier": "^4.2.1",
"file-loader": "^6.2.0",
"husky": "^8.0.1",
"postcss": "^8.4.14",
"prettier": "^2.7.1",
"tailwindcss": "^3.1.5",
"typescript": "^4.7.4"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"keywords": [
"tailwindcss",
"template",
"radix",
"react",
"nextjs"
],
"author": {
"email": "[email protected]",
"name": "Cristian Crețu",
"url": "https://cretu.dev"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/cristicretu/ts-next-tailwind-template/issues"
},
"homepage": "https://template.cretu.dev"
}