-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
63 lines (63 loc) · 1.98 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
{
"name": "portfolio",
"description": "spencerlepine.com - developer portfolio site v3",
"version": "3.0.0",
"private": true,
"engines": {
"node": ">=18.17.0"
},
"scripts": {
"dev": "next dev",
"build": "NEXT_TELEMETRY_DISABLED=1 NODE_ENV=production next build",
"start": "next start",
"lint": "next lint",
"blog:clone": "git clone https://github.com/spencerlepine/blog blog",
"blog:env": "echo 'GISCUS_PROJECT_ID=\"$GISCUS_PROJECT_ID\"' >> blog/.env && echo 'GISCUS_DISCUSSION_CATEGORY=\"$GISCUS_DISCUSSION_CATEGORY\"' >> blog/.env && echo 'GISCUS_DISCUSSION_CATEGORY_ID=\"$GISCUS_DISCUSSION_CATEGORY_ID\"' >> blog/.env && echo 'ALGOLIA_APP_ID=\"$ALGOLIA_APP_ID\"' >> blog/.env && echo 'ALGOLIA_API_KEY=\"$ALGOLIA_API_KEY\"' >> blog/.env && echo 'ALGOLIA_INDEX_NAME=\"$ALGOLIA_INDEX_NAME\"' >> blog/.env",
"blog:build": "cd blog && npm install && npm run build",
"blog:copy": "cp -r blog/build/* public/blog",
"build:with-blog": "npm run blog:clone && npm run blog:env && npm run blog:build && yarn run blog:copy && yarn run build"
},
"dependencies": {
"lucide-react": "^0.453.0",
"next": "14.2.12",
"react": "^18",
"react-dom": "^18",
"sharp": "^0.33.5",
"tech-stack-icons": "^2.1.0"
},
"devDependencies": {
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"husky": "4.3.8",
"lint-staged": "10.5.4",
"postcss": "^8",
"prettier": "2.8.8",
"tailwindcss": "^3.4.1",
"typescript": "^5"
},
"prettier": {
"printWidth": 180,
"tabWidth": 2,
"singleQuote": true,
"semi": true,
"trailingComma": "es5",
"bracketSpacing": true,
"arrowParens": "avoid",
"proseWrap": "always",
"requirePragma": false,
"insertPragma": false,
"endOfLine": "lf",
"jsxBracketSameLine": true
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.(js|jsx|ts|tsx|json|css|md)": [
"prettier --write"
]
}
}