-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
123 lines (123 loc) · 3.49 KB
/
package.json
File metadata and controls
123 lines (123 loc) · 3.49 KB
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
{
"name": "nmaterial",
"author": "Husni Adil Makmur",
"description": "A ready-to-use Next.js + Material UI boilerplate.",
"homepage": "https://github.com/husniadil/nmaterial",
"license": "MIT",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"typecheck": "tsc --noEmit --skipLibCheck",
"format": "prettier --ignore-path .eslintignore --write \"**/*.+(js|jsx|ts|tsx|json|css|md)\"",
"lint": "eslint --ignore-path .eslintignore . --ext ts --ext tsx --ext js --ext jsx",
"lint:fix": "eslint --fix --ignore-path .eslintignore . --ext ts --ext tsx --ext js --ext jsx"
},
"dependencies": {
"@material-ui/core": "^4.11.2",
"@material-ui/icons": "^4.11.2",
"@material-ui/styles": "^4.11.2",
"next": "10.0.4",
"next-compose-plugins": "^2.2.1",
"next-pwa": "^5.0.0",
"nextjs-progressbar": "^0.0.7",
"react": "17.0.1",
"react-dom": "17.0.1",
"styled-components": "^5.2.1"
},
"devDependencies": {
"@types/material-ui": "^0.21.8",
"@types/node": "^14.14.14",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@typescript-eslint/eslint-plugin": "^4.11.0",
"@typescript-eslint/parser": "^4.11.0",
"eslint": "^7.16.0",
"eslint-config-prettier": "^7.1.0",
"eslint-plugin-prettier": "^3.3.0",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"husky": "^4.3.6",
"lint-staged": "^10.5.3",
"next-assets-manifest": "^0.2.0",
"patch-package": "^6.2.2",
"prettier": "^2.2.1",
"react-is": "^17.0.1",
"typescript": "^4.1.3"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"extends": [
"prettier/@typescript-eslint",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
"plugin:react/recommended",
"plugin:react-hooks/recommended"
],
"plugins": [
"simple-import-sort"
],
"parserOptions": {
"project": "./tsconfig.json",
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"sourceType": "module"
},
"rules": {
"react/prop-types": "off",
"@typescript-eslint/camelcase": "off",
"@typescript-eslint/missin": "off",
"@typescript-eslint/explicit-function-return-type": [
"warn",
{
"allowExpressions": true
}
],
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/variable-name": "off",
"@typescript-eslint/ban-ts-ignore": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-namespace": [
"off",
{
"allowDeclarations": true
}
],
"simple-import-sort/imports": "warn",
"simple-import-sort/exports": "warn",
"no-console": "off",
"sort-keys": "off",
"sort-imports": "off",
"import-order": "off"
},
"settings": {
"react": {
"version": "detect"
}
}
},
"prettier": {
"semi": false,
"trailingComma": "es5",
"singleQuote": true,
"printWidth": 120,
"tabWidth": 2,
"arrowParens": "always"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown",
"*.{ts,tsx,js,jsx}": "eslint --cache --fix"
}
}