svelte-confetti-explosion 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- package/.prettierrc +5 -0
- package/README.md +38 -0
- package/package.json +28 -0
- package/pnpm-lock.yaml +924 -0
- package/src/app.html +12 -0
- package/src/global.d.ts +1 -0
- package/src/lib/ConfettiExplosion.svelte +404 -0
- package/src/lib/index.ts +1 -0
- package/src/routes/index.svelte +22 -0
- package/src/routes/page.svelte +5 -0
- package/static/favicon.png +0 -0
- package/svelte.config.js +23 -0
- package/tsconfig.json +31 -0
package/.prettierrc
ADDED
package/README.md
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
# create-svelte
|
2
|
+
|
3
|
+
Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte);
|
4
|
+
|
5
|
+
## Creating a project
|
6
|
+
|
7
|
+
If you're seeing this, you've probably already done this step. Congrats!
|
8
|
+
|
9
|
+
```bash
|
10
|
+
# create a new project in the current directory
|
11
|
+
npm init svelte@next
|
12
|
+
|
13
|
+
# create a new project in my-app
|
14
|
+
npm init svelte@next my-app
|
15
|
+
```
|
16
|
+
|
17
|
+
> Note: the `@next` is temporary
|
18
|
+
|
19
|
+
## Developing
|
20
|
+
|
21
|
+
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
|
22
|
+
|
23
|
+
```bash
|
24
|
+
npm run dev
|
25
|
+
|
26
|
+
# or start the server and open the app in a new browser tab
|
27
|
+
npm run dev -- --open
|
28
|
+
```
|
29
|
+
|
30
|
+
## Building
|
31
|
+
|
32
|
+
Before creating a production version of your app, install an [adapter](https://kit.svelte.dev/docs#adapters) for your target environment. Then:
|
33
|
+
|
34
|
+
```bash
|
35
|
+
npm run build
|
36
|
+
```
|
37
|
+
|
38
|
+
> 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.
|
package/package.json
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
{
|
2
|
+
"name": "svelte-confetti-explosion",
|
3
|
+
"version": "0.0.1",
|
4
|
+
"svelte": "./ConfettiExplosion.svelte",
|
5
|
+
"devDependencies": {
|
6
|
+
"@sveltejs/kit": "^1.0.0-next.197",
|
7
|
+
"prettier": "^2.4.1",
|
8
|
+
"prettier-plugin-svelte": "^2.5.0",
|
9
|
+
"sass": "^1.43.4",
|
10
|
+
"svelte": "^3.44.2",
|
11
|
+
"svelte-check": "^2.2.10",
|
12
|
+
"svelte-preprocess": "^4.9.8",
|
13
|
+
"svelte2tsx": "^0.4.10",
|
14
|
+
"tslib": "^2.3.1",
|
15
|
+
"typescript": "^4.5.2"
|
16
|
+
},
|
17
|
+
"type": "module",
|
18
|
+
"scripts": {
|
19
|
+
"dev": "svelte-kit dev",
|
20
|
+
"build": "svelte-kit build",
|
21
|
+
"package": "svelte-kit package",
|
22
|
+
"preview": "svelte-kit preview",
|
23
|
+
"check": "svelte-check --tsconfig ./tsconfig.json",
|
24
|
+
"check:watch": "svelte-check --tsconfig ./tsconfig.json --watch",
|
25
|
+
"lint": "prettier --ignore-path .gitignore --check --plugin-search-dir=. .",
|
26
|
+
"format": "prettier --ignore-path .gitignore --write --plugin-search-dir=. ."
|
27
|
+
}
|
28
|
+
}
|