This repository has been archived by the owner on Dec 21, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 47
/
package.json
109 lines (109 loc) · 2.67 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
{
"name": "open.mp",
"version": "1.0.0",
"scripts": {
"test": "eslint pages/*.jsx pages/**/*.js components/**/*.js",
"dev": "next",
"build": "next build",
"start": "next start",
"favicon": "real-favicon generate faviconDescription.json faviconData.json static"
},
"dependencies": {
"@babel/generator": "^7.12.5",
"@babel/parser": "^7.12.5",
"@babel/traverse": "^7.12.5",
"@mdx-js/loader": "^1.6.21",
"@mdx-js/mdx": "^1.6.21",
"@mdx-js/react": "^1.6.21",
"@next/mdx": "^10.0.1",
"@octokit/graphql": "^4.5.7",
"@zeit/next-css": "^1.0.1",
"date-fns": "^2.16.1",
"dotenv": "^8.2.0",
"flag-icon-css": "^3.5.0",
"isomorphic-unfetch": "^3.1.0",
"lodash": "^4.17.20",
"next": "^10.0.1",
"next-compose-plugins": "^2.2.1",
"next-ga": "^2.3.4",
"next-images": "github:twopluszero/next-images",
"next-seo": "^4.16.0",
"prism-react-renderer": "^1.1.1",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"styled-jsx": "^3.3.1",
"unist-util-visit": "^2.0.3",
"url-loader": "^4.1.1",
"z": "^1.0.9"
},
"devDependencies": {
"babel-eslint": "^10.1.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"cross-env": "^7.0.2",
"eslint": "^7.13.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.21.5",
"file-loader": "^6.2.0",
"husky": "^4.3.0",
"lint-staged": "^10.5.1",
"prettier": "^2.1.2"
},
"eslintConfig": {
"root": true,
"parser": "babel-eslint",
"env": {
"es6": true,
"node": true
},
"extends": [
"airbnb",
"prettier"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"react",
"prettier"
],
"rules": {
"prettier/prettier": "error",
"react/prop-types": "off",
"import/prefer-default-export": "off",
"jsx-a11y/anchor-is-valid": "off",
"react/jsx-one-expression-per-line": "off",
"react/jsx-props-no-spreading": "off",
"react/jsx-closing-tag-location": "off"
}
},
"prettier": {
"printWidth": 100,
"proseWrap": "always",
"arrowParens": "always",
"singleQuote": true
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"{src}/**/*.{js,jsx}": [
"eslint",
"prettier --write",
"git add"
]
}
}