generated from erkobridee/nextjs-ssg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
81 lines (81 loc) · 2.74 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
{
"name": "nextjs-ssg",
"version": "4.12.0",
"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",
"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 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": {
"clsx": "1.2.1",
"i18next": "21.8.14",
"i18next-browser-languagedetector": "6.1.4",
"next": "12.2.2",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-i18next": "11.18.1"
},
"devDependencies": {
"@next/bundle-analyzer": "12.2.2",
"@next/eslint-plugin-next": "12.2.2",
"@types/node": "17.0.42",
"@types/react": "17.0.47",
"@typescript-eslint/eslint-plugin": "5.30.7",
"@typescript-eslint/parser": "5.30.7",
"autoprefixer": "10.4.7",
"cross-env": "7.0.3",
"eslint": "8.20.0",
"eslint-config-next": "12.2.2",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-react": "7.30.1",
"eslint-plugin-tailwindcss": "3.6.0",
"gh-pages": "4.0.0",
"is-ci": "3.0.1",
"lint-staged": "13.0.3",
"npm-run-all2": "6.0.1",
"postcss": "8.4.14",
"postcss-import": "14.1.0",
"prettier": "2.7.1",
"prettier-plugin-tailwindcss": "0.1.12",
"rimraf": "3.0.2",
"sass": "1.53.0",
"serve": "14.0.1",
"simple-git-hooks": "2.8.0",
"tailwindcss": "3.1.6",
"typescript": "4.7.4"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
}
}