From 1ee1b8e07b75c64a5d0439b7dbc482d266de8be7 Mon Sep 17 00:00:00 2001 From: Florian Schmitt Date: Mon, 30 Sep 2024 15:41:33 +0300 Subject: [PATCH] feat(shell): better package name, install npm deps, show options --- package-lock.json | 4 +++- package.json | 7 +++++++ shell.nix | 2 ++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index 79120c7..9756844 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,9 +1,11 @@ { - "name": "nixin-web", + "name": "NixiN", "lockfileVersion": 3, "requires": true, "packages": { "": { + "name": "NixiN", + "license": "AGPL-3.0", "devDependencies": { "vitepress": "^1.3.3" } diff --git a/package.json b/package.json index b57a2b6..bc8c651 100644 --- a/package.json +++ b/package.json @@ -1,4 +1,11 @@ { + "name": "NixiN", + "repository": { + "type": "git", + "url": "git+https://git.distrilab.fr/NixiN/nixin-web.git" + }, + "license": "AGPL-3.0", + "homepage": "https://nixin.distrilab.eu", "scripts": { "docs:dev": "vitepress dev", "docs:build": "vitepress build", diff --git a/shell.nix b/shell.nix index 093fd2c..11dafd0 100644 --- a/shell.nix +++ b/shell.nix @@ -8,5 +8,7 @@ stdenv.mkDerivation { ]; shellHook = '' export PATH="$PWD/node_modules/.bin/:$PATH" + npm install + npm run ''; }