From a4809fa95a15770d989278eb7cbb4790b3b58c78 Mon Sep 17 00:00:00 2001 From: stupidcomputer Date: Wed, 8 May 2024 17:58:14 -0500 Subject: [PATCH] npm boilerplate --- package.json | 15 +++++++++++++++ shell.nix | 11 +++++++++++ 2 files changed, 26 insertions(+) create mode 100644 package.json create mode 100644 shell.nix diff --git a/package.json b/package.json new file mode 100644 index 0000000..0f47370 --- /dev/null +++ b/package.json @@ -0,0 +1,15 @@ +{ + "name": "yig", + "version": "1.0.0", + "description": "parser and explorer for YMCA CCE legislative materials", + "main": "main", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "repository": { + "type": "git", + "url": "https://git.beepboop.systems/yig" + }, + "author": "Ryan Marina", + "license": "GPL-3.0" +} diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..cf1a7dc --- /dev/null +++ b/shell.nix @@ -0,0 +1,11 @@ +with import {}; + +stdenv.mkDerivation { + name = "node"; + buildInputs = [ + nodejs + ]; + shellHook = '' + export PATH="$PWD/node_modules/.bin/:$PATH" + ''; +}