mirror of
https://github.com/Discreetly/frontend.git
synced 2026-01-08 20:38:04 -05:00
repo work
This commit is contained in:
41
README.md
41
README.md
@@ -1,38 +1,9 @@
|
|||||||
# create-svelte
|
# Dev
|
||||||
|
|
||||||
Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte).
|
`npm i`
|
||||||
|
|
||||||
## Creating a project
|
## Run the frontend
|
||||||
|
|
||||||
If you're seeing this, you've probably already done this step. Congrats!
|
`npm i`
|
||||||
|
`npm run prepare` // only needed once
|
||||||
```bash
|
`npm run dev`
|
||||||
# create a new project in the current directory
|
|
||||||
npm create svelte@latest
|
|
||||||
|
|
||||||
# create a new project in my-app
|
|
||||||
npm create svelte@latest my-app
|
|
||||||
```
|
|
||||||
|
|
||||||
## 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
|
|
||||||
|
|
||||||
To create a production version of your app:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
npm run build
|
|
||||||
```
|
|
||||||
|
|
||||||
You can preview the production build with `npm run preview`.
|
|
||||||
|
|
||||||
> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment.
|
|
||||||
|
|||||||
8
package-lock.json
generated
8
package-lock.json
generated
@@ -9,7 +9,7 @@
|
|||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@semaphore-protocol/group": "^3.10.1",
|
"@semaphore-protocol/group": "^3.10.1",
|
||||||
"discreetly-interfaces": "^0.1.3",
|
"discreetly-interfaces": "^0.1.5",
|
||||||
"poseidon-lite": "^0.2.0",
|
"poseidon-lite": "^0.2.0",
|
||||||
"socket.io-client": "^4.7.1"
|
"socket.io-client": "^4.7.1"
|
||||||
},
|
},
|
||||||
@@ -2226,9 +2226,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/discreetly-interfaces": {
|
"node_modules/discreetly-interfaces": {
|
||||||
"version": "0.1.3",
|
"version": "0.1.5",
|
||||||
"resolved": "https://registry.npmjs.org/discreetly-interfaces/-/discreetly-interfaces-0.1.3.tgz",
|
"resolved": "https://registry.npmjs.org/discreetly-interfaces/-/discreetly-interfaces-0.1.5.tgz",
|
||||||
"integrity": "sha512-9NC8KZukSB18/lR3hjHDO1WqMdsxxN0JXu6wOR/0mZ1eCNUkuh4sKkf/8C5xuU7NM0o/sK7wAm3/H0MR4DOkcg==",
|
"integrity": "sha512-RcdBvop3n8K4xlvD6/P9APD7nKhONNon++fh5UdDqa3bjWxLtZsaHna7pTfIuymjUmimDrqiMVB6JCS3ys4MFw==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"poseidon-lite": "^0.2.0",
|
"poseidon-lite": "^0.2.0",
|
||||||
"rlnjs": "^3.1.4"
|
"rlnjs": "^3.1.4"
|
||||||
|
|||||||
Reference in New Issue
Block a user