Skip to content

Commit 249f678

Browse files
committed
copy rln-js
1 parent 9544cc1 commit 249f678

38 files changed

+16697
-0
lines changed

.eslintrc.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": "next/core-web-vitals"
3+
}

.gitignore

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
8+
# testing
9+
/coverage
10+
11+
# next.js
12+
/.next/
13+
/out/
14+
15+
# production
16+
/build
17+
18+
# misc
19+
.DS_Store
20+
*.pem
21+
22+
# debug
23+
npm-debug.log*
24+
yarn-debug.log*
25+
yarn-error.log*
26+
27+
# local env files
28+
.env*.local
29+
30+
# vercel
31+
.vercel
32+
33+
# typescript
34+
*.tsbuildinfo
35+
next-env.d.ts

README.md

+23
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,25 @@
11
# waku-frontend
22
Waku's frontend. Interact with your waku node via this simple user interface
3+
4+
## Getting Started
5+
6+
First, run the development server:
7+
8+
```bash
9+
npm run dev
10+
# or
11+
yarn dev
12+
# or
13+
pnpm dev
14+
# or
15+
bun dev
16+
```
17+
18+
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
19+
20+
## To run independently
21+
22+
```bash
23+
npm run build
24+
npm run serve
25+
```

next.config.js

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/** @type {import('next').NextConfig} */
2+
const nextConfig = {
3+
output: "export",
4+
webpack: (config) => {
5+
config.externals.push({
6+
"utf-8-validate": "commonjs utf-8-validate",
7+
bufferutil: "commonjs bufferutil",
8+
});
9+
return config;
10+
},
11+
};
12+
13+
module.exports = nextConfig;

0 commit comments

Comments
 (0)