Skip to content

Commit

Permalink
feat: initial nextjs official
Browse files Browse the repository at this point in the history
  • Loading branch information
lilonghe authored Aug 3, 2023
1 parent 54df2cd commit 22ca446
Show file tree
Hide file tree
Showing 13 changed files with 2,672 additions and 0 deletions.
3 changes: 3 additions & 0 deletions official/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["next/core-web-vitals", "airbnb-base"]
}
35 changes: 35 additions & 0 deletions official/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts
Empty file added official/README.md
Empty file.
5 changes: 5 additions & 0 deletions official/next-env.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
4 changes: 4 additions & 0 deletions official/next.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/** @type {import('next').NextConfig} */
const nextConfig = {};

module.exports = nextConfig;
28 changes: 28 additions & 0 deletions official/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name": "official",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
},
"dependencies": {
"@types/node": "20.4.6",
"@types/react": "18.2.18",
"@types/react-dom": "18.2.7",
"autoprefixer": "10.4.14",
"eslint": "8.46.0",
"eslint-config-next": "13.4.12",
"next": "13.4.12",
"postcss": "8.4.27",
"react": "18.2.0",
"react-dom": "18.2.0",
"tailwindcss": "3.3.3",
"typescript": "5.1.6"
},
"devDependencies": {
"eslint-config-airbnb-base": "^15.0.0"
}
}
Loading

0 comments on commit 22ca446

Please sign in to comment.