Skip to content

Commit 4e5543a

Browse files
committed
Added a top level package.json
1 parent 907c777 commit 4e5543a

File tree

8 files changed

+29
-13
lines changed

8 files changed

+29
-13
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Added
11+
12+
- Added a top level package.json (#246).
13+
1014
## [2.2.0] - 2025-10-30
1115

1216
### Changed

README.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,15 @@ The instructions below explain when and how to use the `select-config.cjs` scrip
6565

6666
## Getting started
6767

68-
The Web application is located in directory `main`.
69-
Go to that directory.
70-
7168
To install:
7269

7370
```bash
7471
npm install
7572
```
7673

74+
The Web application is located in directory `main`.
75+
Go to that directory.
76+
7777
To select the appropriate configuration (here shown for `demo`):
7878

7979
```bash
@@ -104,12 +104,6 @@ Resources:
104104

105105
Go to directory `test`.
106106

107-
To install, execute:
108-
109-
```bash
110-
npm install
111-
```
112-
113107
Spin up resources:
114108

115109
```bash

main/package-lock.json

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

main/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"name": "miravi-a-linked-data-viewer",
33
"private": true,
4-
"version": "1.0.0",
54
"type": "module",
65
"scripts": {
76
"dev": "vite",

package-lock.json

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"name": "miravi-a-linked-data-viewer-top-level",
3+
"description": "Miravi - a linked data viewer",
4+
"private": true,
5+
"license": "MIT",
6+
"author": "Martin Vanbrabant",
7+
"scripts": {
8+
"postinstall": "cd main && npm install && cd ../test && npm install"
9+
}
10+
}

test/package-lock.json

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"name": "tools-for-miravi-a-linked-data-viewer",
33
"private": true,
4-
"version": "1.0.0",
54
"type": "module",
65
"scripts": {
76
"serve": "bash scripts/prepare-dir-to-serve.sh && http-server -p 5173 serve-this",

0 commit comments

Comments
 (0)