chore: configure next.js with storybook, tailwind css & typescript
parents
Showing
.czrc
0 → 100644
.dockerignore
0 → 100644
.editorconfig
0 → 100644
.env.sample
0 → 100644
.eslintrc.json
0 → 100644
.gitignore
0 → 100644
.huskyrc
0 → 100644
.prettierrc
0 → 100644
.storybook/main.ts
0 → 100644
.storybook/preview.ts
0 → 100644
.yarnrc.yml
0 → 100644
README.md
0 → 100644
app/another/page.tsx
0 → 100644
app/layout.tsx
0 → 100644
app/not-found.tsx
0 → 100644
app/page.tsx
0 → 100644
components/base/typography.stories.tsx
0 → 100644
components/button/button.stories.tsx
0 → 100644
components/button/index.tsx
0 → 100644
components/layout/page-not-found/img/404.png
0 → 100644
56 KB
components/layout/page-not-found/index.tsx
0 → 100644
lib/.gitkeep
0 → 100644
next-env.d.ts
0 → 100644
next.config.js
0 → 100644
package.json
0 → 100644
{ | ||
"name": "nextjs-starter-template", | ||
"version": "0.1.0", | ||
"private": true, | ||
"scripts": { | ||
"dev": "next dev", | ||
"build": "next build", | ||
"start": "next start", | ||
"storybook": "storybook dev -p 6006", | ||
"build-storybook": "storybook build", | ||
"analyze": "cross-env ANALYZE=true next build" | ||
}, | ||
"dependencies": { | ||
"@types/node": "^20.11.0", | ||
"@types/react": "^18.2.47", | ||
"autoprefixer": "^10.4.16", | ||
"classnames": "^2.5.1", | ||
"css-loader": "^6.8.1", | ||
"next": "^14.0.4", | ||
"next-images": "^1.8.5", | ||
"normalize.css": "^8.0.1", | ||
"postcss": "^8.4.33", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"sharp": "^0.33.1", | ||
"style-loader": "^3.3.3", | ||
"tailwindcss": "^3.4.1", | ||
"typescript": "^5.3.3" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "^18.4.3", | ||
"@commitlint/config-conventional": "^18.4.3", | ||
"@storybook/addon-essentials": "^7.6.7", | ||
"@storybook/addon-interactions": "7.6.7", | ||
"@storybook/addon-links": "^7.6.7", | ||
"@storybook/addon-onboarding": "1.0.10", | ||
"@storybook/blocks": "7.6.7", | ||
"@storybook/nextjs": "^7.6.7", | ||
"@storybook/react": "7.6.7", | ||
"@storybook/test": "7.6.7", | ||
"@types/eslint": "^8", | ||
"babel-loader": "^9.1.3", | ||
"cross-env": "^7.0.3", | ||
"cz-conventional-changelog": "^3.3.0", | ||
"eslint": "^8.56.0", | ||
"eslint-config-next": "^14.0.4", | ||
"eslint-plugin-storybook": "^0.6.15", | ||
"husky": "^8.0.3", | ||
"prettier": "^3.1.1", | ||
"pretty-quick": "^3.1.3", | ||
"storybook": "^7.6.7", | ||
"webpack-bundle-analyzer": "^4.10.1" | ||
}, | ||
"packageManager": "yarn@4.0.2" | ||
} |
postcss.config.js
0 → 100644
public/favicon.ico
0 → 100644
File added
public/img/nextjs.svg
0 → 100644
public/img/tailwind.svg
0 → 100644
public/img/typescript.svg
0 → 100644
styles/globals.css
0 → 100644
tailwind.config.ts
0 → 100644
tsconfig.json
0 → 100644
yarn.lock
0 → 100644
This source diff could not be displayed because it is too large.
You can
view the blob
instead.