This repository has been archived by the owner on May 5, 2023. It is now read-only.
/
package.json
131 lines (131 loc) · 4.34 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
{
"name": "blog",
"productName": "Logan McAnsh",
"productShortName": "Blog",
"version": "3.22.4",
"private": false,
"description": "My blog for learn.co, but mostly it's a playground for things I want to build with React 🤷♂️",
"author": "Logan McAnsh <logan@mcan.sh> (https://mcan.sh)",
"license": "MIT",
"repository": "mcansh/blog",
"homepage": "https://mcansh.blog",
"engines": {
"node": ">=10.x"
},
"scripts": {
"dev": "next",
"build": "next build",
"start": "next start",
"test": "TZ=utc NODE_ENV=test jest",
"lint:css": "stylelint './**/*.js' './**/*.jsx' './**/*.tsx' './**/*.ts'",
"lint": "eslint ./ --ext js,ts,tsx --fix",
"format": "prettier --write \"**/*.+(js|jsx|json|yml|yaml|css|less|scss|ts|tsx|md|graphql|mdx)\"",
"analyze": "ANALYZE=true yarn build",
"type-check": "tsc",
"update-mdx-meta": "node scripts/update-mdx-meta",
"validate": "npm-run-all --parallel lint format lint:css type-check test"
},
"dependencies": {
"@formatjs/intl-pluralrules": "1.3.2",
"@formatjs/intl-relativetimeformat": "4.4.1",
"@formatjs/intl-utils": "1.4.3",
"@mcansh/next-nprogress": "1.1.2",
"@mdx-js/loader": "1.5.1",
"@mdx-js/react": "1.5.1",
"@next/bundle-analyzer": "9.1.4",
"@next/mdx": "9.1.4",
"@next/plugin-sentry": "9.1.4",
"babel-plugin-macros": "2.7.1",
"babel-plugin-preval": "4.0.0",
"body-scroll-lock": "2.6.4",
"date-fns": "2.8.1",
"framer-motion": "1.6.15",
"intl": "1.2.5",
"next": "9.1.4",
"nprogress": "0.2.0",
"polished": "3.4.2",
"prism-react-renderer": "1.0.2",
"react": "16.12.0",
"react-dom": "16.12.0",
"react-ga": "2.7.0",
"react-ink": "6.4.0",
"react-simple-img": "2.3.7",
"somebody": "2.0.0",
"styled-components": "4.4.1"
},
"devDependencies": {
"@babel/plugin-proposal-nullish-coalescing-operator": "7.4.4",
"@babel/plugin-proposal-optional-chaining": "7.7.4",
"@mcansh/eslint-config": "2.3.1",
"@testing-library/jest-dom": "4.2.4",
"@testing-library/react": "9.3.2",
"@types/body-scroll-lock": "2.6.1",
"@types/jest": "24.0.23",
"@types/jest-in-case": "1.0.1",
"@types/node": "12.12.12",
"@types/nprogress": "0.2.0",
"@types/prettier": "1.18.4",
"@types/react": "16.9.13",
"@types/react-dom": "16.9.4",
"@types/styled-components": "4.4.0",
"@typescript-eslint/eslint-plugin": "2.8.0",
"@typescript-eslint/parser": "2.8.0",
"@zeit/next-source-maps": "0.0.4-canary.1",
"babel-plugin-dynamic-import-node": "2.3.0",
"babel-plugin-inline-react-svg": "1.1.0",
"babel-plugin-root-import": "6.4.1",
"babel-plugin-styled-components": "1.10.6",
"eslint": "6.7.1",
"eslint-config-airbnb": "18.0.1",
"eslint-config-kentcdodds": "14.6.1",
"eslint-config-prettier": "6.7.0",
"eslint-import-resolver-babel-plugin-root-import": "1.1.1",
"eslint-import-resolver-typescript": "2.0.0",
"eslint-plugin-import": "2.18.2",
"eslint-plugin-jest": "23.0.4",
"eslint-plugin-jsx-a11y": "6.2.3",
"eslint-plugin-react": "7.16.0",
"eslint-plugin-react-hooks": "2.3.0",
"eslint-plugin-you-dont-need-lodash-underscore": "6.8.0",
"git-jiggy": "1.1.1",
"globby": "10.0.1",
"husky": "3.1.0",
"jest": "24.9.0",
"jest-in-case": "1.0.2",
"jest-styled-components": "6.3.4",
"lint-staged": "9.4.3",
"next-offline": "4.0.6",
"npm-run-all": "4.1.5",
"prettier": "1.19.1",
"remark": "11.0.2",
"remark-mdx": "1.5.1",
"remark-mdx-metadata": "1.0.1",
"remark-stringify": "7.0.4",
"stylelint": "12.0.0",
"stylelint-config-prettier": "6.0.0",
"stylelint-config-recommended": "3.0.0",
"stylelint-config-styled-components": "0.1.1",
"stylelint-prettier": "1.1.1",
"stylelint-processor-styled-components": "1.8.0",
"to-vfile": "6.0.0",
"typescript": "3.7.2"
},
"husky": {
"hooks": {
"pre-commit": "node scripts/sitemap.js && git add data/posts.json && lint-staged",
"post-commit": "yarn run update-mdx-meta post-commit"
}
},
"lint-staged": {
"*.+(js|jsx|ts|tsx)": [
"eslint --fix",
"yarn lint:css",
"./scripts/ts-precommit.sh",
"yarn test --bail --findRelatedTests"
],
"*.+(js|jsx|json|yml|yaml|css|less|scss|ts|tsx|md|graphql|mdx)": [
"prettier --write",
"git add"
]
}
}