feat(shell): better package name, install npm deps, show options
This commit is contained in:
parent
3fd1bb9044
commit
1ee1b8e07b
3 changed files with 12 additions and 1 deletions
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -1,9 +1,11 @@
|
||||||
{
|
{
|
||||||
"name": "nixin-web",
|
"name": "NixiN",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
|
"name": "NixiN",
|
||||||
|
"license": "AGPL-3.0",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"vitepress": "^1.3.3"
|
"vitepress": "^1.3.3"
|
||||||
}
|
}
|
||||||
|
|
|
@ -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": {
|
"scripts": {
|
||||||
"docs:dev": "vitepress dev",
|
"docs:dev": "vitepress dev",
|
||||||
"docs:build": "vitepress build",
|
"docs:build": "vitepress build",
|
||||||
|
|
|
@ -8,5 +8,7 @@ stdenv.mkDerivation {
|
||||||
];
|
];
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
export PATH="$PWD/node_modules/.bin/:$PATH"
|
export PATH="$PWD/node_modules/.bin/:$PATH"
|
||||||
|
npm install
|
||||||
|
npm run
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue