get rid of npm as dependency for the server

This small change would allow the server to get rid of the npm dependency as far as I understand it.
This would be great since npm is a really big dependency and not really desired on Nextcloud installations, imo.

Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
szaimen 2021-03-04 12:17:30 +01:00
parent 1983783f9d
commit afb6d4d52b
4 changed files with 0 additions and 5 deletions

1
.gitignore vendored
View file

@ -2,5 +2,4 @@
3rdparty/pdfjs/
build/
server/config.js
server/package-lock.json
server/docker-compose.yml

View file

@ -37,7 +37,6 @@ appstore: clean build
--exclude=.gitignore \
--exclude=.gitmodules \
--exclude=Makefile \
--exclude=node_modules \
--exclude=pdfjs*.zip \
--exclude=package.json \
--exclude=run-*lint.sh \

2
server/.gitignore vendored
View file

@ -1,5 +1,3 @@
*.pyc
node_modules/
pdfparser
PyPDF2

View file

@ -5,7 +5,6 @@ This document describes the `pdfdraw` server API.
## Requirements
- node
- npm
- Python2
- [pdftk](https://www.pdflabs.com/tools/pdftk-server/)
- [svg2pdf](https://pypi.org/project/svglib/)