From 49f33940ab387ad45a8d279118f14214b24722b8 Mon Sep 17 00:00:00 2001 From: psoubrie Date: Mon, 13 Nov 2023 17:16:39 +0000 Subject: [PATCH] start --- .devcontainer/devcontainer.json | 32 ++++++++++++++++++++++++++++++++ .gitignore | 23 +++++++++++++++++++++++ .postcssrc | 5 +++++ package.json | 7 +++++++ src/index.css | 3 +++ src/index.html | 10 ++++++++++ tailwind.config.js | 11 +++++++++++ 7 files changed, 91 insertions(+) create mode 100644 .devcontainer/devcontainer.json create mode 100644 .gitignore create mode 100644 .postcssrc create mode 100644 package.json create mode 100644 src/index.css create mode 100644 src/index.html create mode 100644 tailwind.config.js diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..16af2e3 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,32 @@ +// For format details, see https://aka.ms/devcontainer.json. For config options, see the +// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node +{ + "name": "Node.js & TypeScript", + // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile + "image": "mcr.microsoft.com/devcontainers/typescript-node:1-20-bullseye", + "customizations": { + "vscode": { + "extensions": [ + "mhutchie.git-graph", + "GitHub.copilot", + "esbenp.prettier-vscode", + "bradlc.vscode-tailwindcss" + ] + } + } + + // Features to add to the dev container. More info: https://containers.dev/features. + // "features": {}, + + // Use 'forwardPorts' to make a list of ports inside the container available locally. + // "forwardPorts": [], + + // Use 'postCreateCommand' to run commands after the container is created. + // "postCreateCommand": "yarn install", + + // Configure tool-specific properties. + // "customizations": {}, + + // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. + // "remoteUser": "root" +} diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c8aab24 --- /dev/null +++ b/.gitignore @@ -0,0 +1,23 @@ +node_modules/ +/target/ +.DS_Store +package-lock.json +coverage/ +.nyc_output/ +.cache/ +.parcel-cache/ +dist/ +lib/ +.vscode/ +.idea/ +*.min.js +# Logs +logs/ +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +tmp +parcel-bundle-reports/ +.verdaccio_storage/ +sourcemap-info.json \ No newline at end of file diff --git a/.postcssrc b/.postcssrc new file mode 100644 index 0000000..d42c370 --- /dev/null +++ b/.postcssrc @@ -0,0 +1,5 @@ +{ + "plugins": { + "tailwindcss": {} + } +} \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..4f25f77 --- /dev/null +++ b/package.json @@ -0,0 +1,7 @@ +{ + "devDependencies": { + "parcel": "^2.10.2", + "postcss": "^8.4.31", + "tailwindcss": "^3.3.5" + } +} diff --git a/src/index.css b/src/index.css new file mode 100644 index 0000000..bd6213e --- /dev/null +++ b/src/index.css @@ -0,0 +1,3 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; \ No newline at end of file diff --git a/src/index.html b/src/index.html new file mode 100644 index 0000000..4a3965a --- /dev/null +++ b/src/index.html @@ -0,0 +1,10 @@ + + + + + My First Parcel App + + +

Hello, World!

+ + \ No newline at end of file diff --git a/tailwind.config.js b/tailwind.config.js new file mode 100644 index 0000000..8b57fe9 --- /dev/null +++ b/tailwind.config.js @@ -0,0 +1,11 @@ +/** @type {import('tailwindcss').Config} */ +module.exports = { + content: [ + "./src/**/*.{html,js,ts,jsx,tsx}", + ], + theme: { + extend: {}, + }, + plugins: [], +} +