-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
98 lines (98 loc) · 3.36 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
{
"name": "typescript-tactics",
"version": "4.12.0",
"sideEffects": false,
"private": true,
"scripts": {
"unset:git-hooks-path": "git config --unset core.hooksPath",
"simple-git-hooks": "npx simple-git-hooks",
"postinstall": "is-ci || npm run simple-git-hooks",
"prettify": "prettier --write .",
"check:lint": "eslint \"src/**/*.{js,jsx,ts,tsx}\"",
"check:typescript": "tsc --noEmit",
"check": "run-s prettify check:lint check:typescript",
"test": "jest --coverage",
"test:watch": "jest --watch",
"test:ci": "cross-env NODE_ENV=development jest --ci",
"next:dev": "next dev",
"next:export": "next export",
"next:build": "next build",
"next:start": "next start",
"start": "run-s next:dev",
"clean:node_modules-cache": "rimraf node_modules/.cache",
"clean:next-cache": "rimraf .next",
"clean:next-output": "rimraf out",
"clean": "run-p clean:node_modules-cache clean:next-cache clean:next-output",
"build:ci": "run-s clean next:build next:export",
"postbuild:ci": "node scripts/post-export.js",
"build": "run-s clean next:build",
"serve-nextjs-output": "serve out -l 3000",
"serve": "run-s build next:start",
"serve:ci": "cross-env NODE_ENV=local run-s build:ci serve-nextjs-output",
"predeploy:gh-pages": "touch out/.nojekyll",
"deploy:gh-pages": "gh-pages -d out --dotfiles",
"deploy": "run-s build:ci deploy:gh-pages",
"ci": "cross-env NODE_ENV=production run-s test:ci build:ci",
"pullrequest": "run-s check build",
"bundle-analyze": "cross-env ANALYZE=true run-s clean next:build"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,md,html,css,scss}": "prettier --write",
"src/**/*.{js,jsx,ts,tsx}": "eslint --fix"
},
"dependencies": {
"@mdx-js/loader": "^2.1.5",
"@mdx-js/react": "^2.1.5",
"@next/mdx": "^12.3.1",
"clsx": "1.2.1",
"gray-matter": "^4.0.3",
"i18next": "21.10.0",
"i18next-browser-languagedetector": "6.1.8",
"next": "12.3.1",
"prismjs": "^1.29.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-i18next": "11.18.6",
"rehype-prism-plus": "^1.5.0",
"remark-frontmatter": "^4.0.1"
},
"devDependencies": {
"@next/bundle-analyzer": "12.3.1",
"@next/eslint-plugin-next": "12.3.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^14.4.3",
"@types/node": "18.11.3",
"@types/react": "18.0.21",
"@typescript-eslint/eslint-plugin": "5.40.1",
"@typescript-eslint/parser": "5.40.1",
"autoprefixer": "10.4.12",
"cross-env": "7.0.3",
"eslint": "8.26.0",
"eslint-config-next": "12.3.1",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-react": "7.31.10",
"eslint-plugin-tailwindcss": "3.6.2",
"eslint-plugin-testing-library": "^5.9.1",
"gh-pages": "4.0.0",
"is-ci": "3.0.1",
"jest": "^29.2.1",
"jest-environment-jsdom": "^29.2.1",
"lint-staged": "13.0.3",
"npm-run-all2": "6.0.2",
"postcss": "8.4.18",
"postcss-import": "15.0.0",
"prettier": "2.7.1",
"prettier-plugin-tailwindcss": "0.1.13",
"rimraf": "3.0.2",
"sass": "1.55.0",
"serve": "14.0.1",
"simple-git-hooks": "2.8.0",
"tailwindcss": "3.2.1",
"typescript": "4.8.4"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
}
}