npx create-next-app --example with-typescript --use-npm your-app
cd your-app
npx npm-check-updates -u
mkdir .vscode
curl -o .vscode/extensions.json https://gist.githubusercontent.com/vdelacou/c5f3fd74c5e836706c0adaeb0d383bd0/raw/extensions.json
curl -o .vscode/settings.json https://gist.githubusercontent.com/vdelacou/c5f3fd74c5e836706c0adaeb0d383bd0/raw/settings.json
npx install-peerdeps --dev eslint-config-airbnb
npm install --save-dev @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-import-resolver-typescript eslint-plugin-etc
npm install --save-dev @next/eslint-plugin-next
npx json -I -f package.json -e 'this.scripts={...this.scripts , "lint": "next lint" }'
curl -o .eslintrc.json https://gist.githubusercontent.com/vdelacou/c5f3fd74c5e836706c0adaeb0d383bd0/raw/.eslintrc.json
rm -rvf components interfaces pages utils
mkdir src
mkdir src/pages
mkdir src/pages/api
mkdir src/styles
npm install autoprefixer postcss tailwindcss
curl -o tailwind.config.js https://gist.githubusercontent.com/vdelacou/c5f3fd74c5e836706c0adaeb0d383bd0/raw/tailwind.config.js
curl -o postcss.config.js https://gist.githubusercontent.com/vdelacou/c5f3fd74c5e836706c0adaeb0d383bd0/raw/postcss.config.js
curl -o src/styles/main.css https://gist.githubusercontent.com/vdelacou/c5f3fd74c5e836706c0adaeb0d383bd0/raw/main.css
npm install next-seo --save
curl -o src/pages/[..slug].tsx https://gist.githubusercontent.com/vdelacou/c5f3fd74c5e836706c0adaeb0d383bd0/raw/[..slug].tsx
curl -o src/pages/api/hello.ts https://gist.githubusercontent.com/vdelacou/c5f3fd74c5e836706c0adaeb0d383bd0/raw/hello.ts
mkdir src/content
curl -o src/content/pages.json https://gist.githubusercontent.com/vdelacou/c5f3fd74c5e836706c0adaeb0d383bd0/raw/pages.json
npm install next-sitemap --save-dev
npx json -I -f package.json -e 'this.scripts={...this.scripts , "postbuild": "next-sitemap" }'
curl -o next-sitemap.js https://gist.githubusercontent.com/vdelacou/c5f3fd74c5e836706c0adaeb0d383bd0/raw/next-sitemap.js