generated from ciampo/_nextjs-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
96 lines (96 loc) · 2.89 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
{
"name": "portfolio-2019",
"version": "1.2.0",
"main": "pages/index.js",
"author": "Marco Ciampini <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/ciampo/portfolio-2019.git"
},
"license": "MIT",
"private": true,
"scripts": {
"analyze": "ANALYZE=true yarn build",
"data": "node scripts/get-contentful-content.js",
"dev": "yarn generate:seo && node server.js",
"build": "yarn generate:seo && next build",
"generate:seo": "node scripts/create-robots.js && node scripts/create-sitemap.js",
"test": "stylelint '**/*.css' && tsc --noEmit && eslint '*/**/*.{js,ts,tsx}'",
"test:fix": "yarn test --fix",
"static": "rm -rf .next/ out/ && yarn data && yarn build && yarn next export && node ./scripts/add-netlify-headers.js",
"serve:static": "yarn netlify dev --dir out",
"serve:ssr": "NODE_ENV=production node server.js"
},
"browserslist": [
"> 1%",
"last 2 versions",
"Firefox ESR",
"not dead"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"post-checkout": "if [[ $HUSKY_GIT_PARAMS =~ 1$ ]]; then yarn install --frozen-lockfile; fi",
"post-merge": "yarn install --frozen-lockfile",
"post-rebase": "yarn install",
"pre-push": "yarn test"
}
},
"lint-staged": {
"*.{js|ts|tsx}": [
"eslint --fix",
"git add"
],
"*.css": [
"stylelint",
"git add"
]
},
"dependencies": {
"@contentful/rich-text-react-renderer": "^13.4.0",
"@contentful/rich-text-types": "^13.4.0",
"framer-motion": "^1.6.15",
"next": "^9.2.0",
"preact": "^10.2.1",
"react-ga4": "^1.4.1",
"react-use": "^13.8.0",
"tailwindcss-aspect-ratio": "^2.0.0",
"throttle-debounce": "^2.1.0"
},
"devDependencies": {
"@fullhuman/postcss-purgecss": "^1.3.0",
"@next/bundle-analyzer": "^9.1.2",
"@types/node": "^12.12.6",
"@types/react": "^16.9.11",
"@types/react-dom": "^16.9.3",
"@types/throttle-debounce": "^2.1.0",
"@typescript-eslint/eslint-plugin": "^2.6.1",
"@typescript-eslint/parser": "^2.6.1",
"autoprefixer": "^9.7.1",
"contentful": "^7.10.0",
"cssnano": "^4.1.10",
"dotenv": "^8.2.0",
"eslint": "^6.6.0",
"eslint-config-prettier": "^6.5.0",
"eslint-loader": "^3.0.2",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-react": "^7.16.0",
"eslint-plugin-react-hooks": "^2.2.0",
"husky": "^3.0.9",
"lint-staged": "^10.0.0-1",
"module-alias": "^2.2.2",
"netlify-cli": "^2.20.2",
"postcss-easy-import": "^3.0.0",
"postcss-reporter": "^6.0.1",
"preact-render-to-string": "^5.1.3",
"preact-ssr-prepass": "^1.0.0",
"prettier": "^1.18.2",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"stylelint": "^11.1.1",
"stylelint-config-recommended": "^3.0.0",
"tailwindcss": "^1.1.3",
"typescript": "5.1.6",
"webpack": "^4.41.2"
}
}