Skip to content

Commit

Permalink
Restructure package and fix lint and check errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kbrgl committed Jun 15, 2022
1 parent 910f0df commit 533d580
Show file tree
Hide file tree
Showing 78 changed files with 477 additions and 3,187 deletions.
11 changes: 11 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,13 @@
.DS_Store
node_modules
/build
/.svelte-kit
/package
.env
.env.*
!.env.example

# Ignore files for PNPM, NPM and YARN
pnpm-lock.yaml
package-lock.json
yarn.lock
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
.DS_Store
node_modules
.turbo
/build
/.svelte-kit
/package
.env
.env.*
!.env.example
11 changes: 11 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,13 @@
.DS_Store
node_modules
/build
/.svelte-kit
/package
.env
.env.*
!.env.example

# Ignore files for PNPM, NPM and YARN
pnpm-lock.yaml
package-lock.json
yarn.lock
62 changes: 54 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,66 @@
{
"private": true,
"name": "svelte-french-toast",
"version": "1.0.2",
"description": "Buttery smooth Svelte toasts. Lightweight, customizable, and beautiful by default.",
"keywords": [
"svelte",
"notifications",
"toast",
"snackbar"
],
"repository": {
"type": "git",
"url": "https://github.com/kbrgl/svelte-french-toast.git"
},
"license": "MIT",
"author": "Kabir Goel",
"sideEffects": false,
"type": "module",
"svelte": "index.js",
"scripts": {
"build": "turbo run build",
"dev": "turbo run dev --parallel",
"lint": "turbo run lint",
"format": "prettier --write \"**/*.{ts,tsx,md}\""
"build": "svelte-kit build",
"check": "svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-check --tsconfig ./tsconfig.json --watch",
"dev": "svelte-kit dev",
"format": "prettier --write --plugin-search-dir=. .",
"lint": "prettier --check --plugin-search-dir=. . && eslint .",
"package": "svelte-kit package && cp README.md header-image.png package/",
"prepare": "svelte-kit sync",
"preview": "svelte-kit preview",
"test": "playwright test"
},
"dependencies": {
"svelte-writable-derived": "^2.1.3"
},
"devDependencies": {
"@playwright/test": "^1.21.0",
"@rollup/plugin-commonjs": "^22.0.0",
"@rollup/plugin-node-resolve": "^13.3.0",
"@rollup/plugin-typescript": "^8.3.2",
"@sveltejs/adapter-auto": "next",
"@sveltejs/kit": "next",
"@tsconfig/svelte": "^3.0.0",
"@types/prismjs": "^1.26.0",
"@typescript-eslint/eslint-plugin": "^5.10.1",
"@typescript-eslint/parser": "^5.10.1",
"eslint": "^8.12.0",
"autoprefixer": "^10.4.7",
"eslint": "latest",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-svelte3": "^4.0.0",
"postcss": "^8.4.14",
"prettier": "latest",
"prettier-plugin-svelte": "^2.5.0",
"prism-svelte": "^0.5.0",
"prismjs": "^1.28.0",
"rollup": "^2.75.5",
"rollup-plugin-svelte": "^7.1.0",
"rollup-plugin-terser": "^7.0.2",
"svelte": "^3.48.0",
"turbo": "latest",
"typescript": "^4.7.3"
"svelte-check": "^2.2.6",
"svelte-preprocess": "^4.10.6",
"svelte2tsx": "^0.5.10",
"tailwindcss": "^3.0.24",
"tslib": "^2.3.1",
"typescript": "~4.6.4"
}
}
7 changes: 0 additions & 7 deletions packages/svelte-french-toast/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion packages/svelte-french-toast/.npmignore

This file was deleted.

47 changes: 0 additions & 47 deletions packages/svelte-french-toast/package.json

This file was deleted.

32 changes: 0 additions & 32 deletions packages/svelte-french-toast/rollup.config.js

This file was deleted.

7 changes: 0 additions & 7 deletions packages/svelte-french-toast/tsconfig.json

This file was deleted.

File renamed without changes.
Loading

1 comment on commit 533d580

@vercel
Copy link

@vercel vercel bot commented on 533d580 Jun 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.