Skip to content

Commit

Permalink
ci: 🐝 initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rodneylab committed Jun 9, 2021
0 parents commit eb2ead0
Show file tree
Hide file tree
Showing 44 changed files with 2,032 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .env.EXAMPLE
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
VITE_CONTACT_EMAIL="[email protected]"
VITE_FACEBOOK_PAGE="rodneyLab"
VITE_GITHUB_PAGE="rodneylab"
VITE_LINKEDIN_PROFILE="ask-rodney"
VITE_TELEGRAM_USERNAME="askRodney"
VITE_TIKTOK_USERNAME="@askRodney"
VITE_TWITTER_USERNAME="askRodney"
VITE_TWITTER_USER_ID="1234567890"
VITE_WIRE_USERNAME="@rodneylab"
15 changes: 15 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
module.exports = {
root: true,
extends: ['eslint:recommended', 'prettier'],
plugins: ['svelte3'],
overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }],
parserOptions: {
sourceType: 'module',
ecmaVersion: 2019
},
env: {
browser: true,
es2017: true,
node: true
}
};
16 changes: 16 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# SveltKit Files
/.svelte-kit

# Dependency directories
node_modules/
/package

# Optional eslint cache
.eslintcache

# dotenv environment variable files
.env*
!.env.EXAMPLE

# Mac files
.DS_Store
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
engine-strict=true
4 changes: 4 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.svelte-kit/**
static/**
build/**
node_modules/**
6 changes: 6 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"useTabs": true,
"singleQuote": true,
"trailingComma": "none",
"printWidth": 100
}
38 changes: 38 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# create-svelte

Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte);

## Creating a project

If you're seeing this, you've probably already done this step. Congrats!

```bash
# create a new project in the current directory
npm init svelte@next

# create a new project in my-app
npm init svelte@next my-app
```

> Note: the `@next` is temporary
## Developing

Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:

```bash
npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open
```

## Building

Before creating a production version of your app, install an [adapter](https://kit.svelte.dev/docs#adapters) for your target environment. Then:

```bash
npm run build
```

> You can preview the built app with `npm run preview`, regardless of whether you installed an adapter. This should _not_ be used to serve your app in production.
9 changes: 9 additions & 0 deletions jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"compilerOptions": {
"baseUrl": ".",
"paths": {
"$lib/*": ["src/lib/*"]
}
},
"include": ["src/**/*.d.ts", "src/**/*.js", "src/**/*.svelte"]
}
10 changes: 10 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[build]
command = "npm run build"
functions = "functions"
publish = "build"

[dev]
command = "svelte-kit dev"

[functions]
directory = "netlify/functions"
Loading

0 comments on commit eb2ead0

Please sign in to comment.