add package.json and lock file
This commit is contained in:
parent
1bd3230c71
commit
117c170e7c
@ -23,7 +23,8 @@ This experimental app uses the radio-browser.info api and offers radio stations
|
||||
## Testing
|
||||
Can be easily tested using Docker:
|
||||
```
|
||||
docker run -v /tmp/nextcloud-app-radio:/opt/nextcloud/apps/radio -d --name nextcloud -p 80:80 rootlogin/nextcloud
|
||||
docker build -t nextcloud-testing https://git.project-insanity.org/onny/docker-nextcloud.git
|
||||
docker run -v /tmp/nextcloud-app-radio:/opt/nextcloud/apps/radio -d --name nextcloud -p 80:80 nextcloud-testing
|
||||
```
|
||||
First part of -v is the path to the cloned or downloaded nextcloud radio app. Debug running container it with:
|
||||
```
|
||||
|
@ -28,7 +28,7 @@ $g = \OC::$server->getURLGenerator();
|
||||
OC::$server->getNavigationManager()->add( array(
|
||||
'id' => 'radio',
|
||||
'order' => 74,
|
||||
'href' => $g->linkTo( 'radio', 'index.php' ),
|
||||
'href' => $g->linkTo( 'apps', 'radio' ),
|
||||
'icon' => $g->imagePath( 'radio', 'radio.png' ),
|
||||
'name' => 'Radio'
|
||||
));
|
||||
|
18
package-lock.json
generated
Normal file
18
package-lock.json
generated
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"name": "nextcloud-app-radio",
|
||||
"version": "0.7.0",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
"howler": {
|
||||
"version": "2.2.0",
|
||||
"resolved": "https://registry.npmjs.org/howler/-/howler-2.2.0.tgz",
|
||||
"integrity": "sha512-sGPkrAQy7jh5mNDbkRNG0F82R2HFDYNsQXBcX4smXQT0y0F4UMsa/+jXaGwWvcrajWr2tDB7JUkH7G5qSnuIyQ=="
|
||||
},
|
||||
"jquery": {
|
||||
"version": "3.5.1",
|
||||
"resolved": "https://registry.npmjs.org/jquery/-/jquery-3.5.1.tgz",
|
||||
"integrity": "sha512-XwIBPqcMn57FxfT+Go5pzySnm4KWkT1Tv7gjrpT1srtf8Weynl6R273VJ5GjkRb51IzMp5nbaPjJXMWeju2MKg=="
|
||||
}
|
||||
}
|
||||
}
|
19
package.json
Normal file
19
package.json
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
"name": "nextcloud-app-radio",
|
||||
"version": "0.7.0",
|
||||
"description": "Radio app for Nextcloud",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://git.project-insanity.org/onny/nextcloud-app-radio.git"
|
||||
},
|
||||
"author": "Jonas Heinrich",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"howler": "^2.2.0",
|
||||
"jquery": "^3.5.1"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user