diff --git a/package.json b/package.json index 5b453e1..63303ac 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,14 @@ "private": true, "version": "0.0.0", "type": "module", + "license": "MIT", + "repository": { + "url": "git+https://github.com/Im-Rises/nbody-simulator-barnes-hut-react-p5-website.git", + "type": "git" + }, + "author": "Im-Rises (Quentin Morel)", + "description": "A react component that simulates the n-body problem using the Barnes-Hut algorithm and the p5.js library.", + "homepage": "https://im-rises.github.io/nbody-simulator-barnes-hut-react-p5-website/", "scripts": { "dev": "vite", "build": "vite build", diff --git a/vite.config.js b/vite.config.js index 861b04b..eb1a9a6 100644 --- a/vite.config.js +++ b/vite.config.js @@ -4,4 +4,5 @@ import react from '@vitejs/plugin-react-swc' // https://vitejs.dev/config/ export default defineConfig({ plugins: [react()], + base: '/nbody-simulator-barnes-hut-react-p5/', })