{
    "name": "h5p-nodejs-library",
    "version": "6.2.0",
    "description": "A community re-implementation of the H5P server",
    "license": "GPL-3.0-or-later",
    "repository": {
        "type": "git",
        "url": "https://github.com/Lumieducation/H5P-Nodejs-library"
    },
    "scripts": {
        "build:watch": "npx tsc -w -p ./tsconfig.build.json",
        "build": "sh build.sh",
        "ci": "npm run build && npm run lint && npm run format:check && npm run test && npm run test:integration && npm run test:e2e",
        "clear": "rm -rf test/data/hub-content && rm -rf h5p && rm test/data/content-type-cache/real-content-types.json && rm -rf build && rm -rf coverage && rm -rf node_modules",
        "download:content-type-cache": "ts-node scripts/update-real-content-type-cache.ts",
        "download:content": "node scripts/download-examples.js test/data/content-type-cache/real-content-types.json test/data/hub-content",
        "download:h5p": "sh scripts/install.sh",
        "format:check": "npx prettier --check \"{src,test,examples}/**/*.ts\"",
        "format": "npx prettier --write \"{src,test,examples}/**/*.ts\"",
        "lint": "npx tslint --project tsconfig.json --config tslint.json",
        "prepare": "npm run download:content-type-cache && npm run download:h5p && npm run build",
        "semantic-release": "semantic-release",
        "start:dbs": "docker-compose -f test/implementation/db/mongo-s3-docker-compose.yml up -d",
        "start": "npx ts-node examples/express.ts",
        "stop:dbs": "docker-compose -f test/implementation/db/mongo-s3-docker-compose.yml down",
        "test:coverage": "npx jest --config jest.coverage.config.js --collect-coverage --testTimeout=120000",
        "test:db": "npx jest --config jest.db.config.js --maxWorkers=${BUILD_WORKERS-`nproc`} --logHeapUsage",
        "test:e2e:tests": "npx jest --config jest.e2e.config.js --maxWorkers=1",
        "test:e2e": "start-server-and-test start http://localhost:8080 test:e2e:tests",
        "test:integration": "npx jest --config jest.integration.config.js --maxWorkers=${BUILD_WORKERS-`nproc`} --logHeapUsage",
        "test:server+upload": "start-server-and-test start http://localhost:8080 test:upload",
        "test:upload": "npx ts-node test/e2e/customUpload.ts ${H5P_FILES} ${ERROR_FILE}",
        "test:watch": "jest --watch",
        "test": "jest --logHeapUsage --maxWorkers=${BUILD_WORKERS-`nproc`}"
    },
    "release": {
        "branch": "master"
    },
    "husky": {
        "hooks": {
            "pre-commit": "npm run lint && npm run format:check",
            "pre-push": "npm run ci",
            "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
        }
    },
    "contributors": [
        {
            "name": "Sebastian Rettig",
            "email": "serettig@posteo.de"
        },
        {
            "name": "Nikolas Martens"
        },
        {
            "name": "Jan Philip Schellenberg",
            "email": "jps@Lumi.education",
            "url": "http://Lumi.education"
        },
        {
            "name": "Bo Biene",
            "email": "biene@inray.de",
            "url": "https://www.qm-team.de/mymento-kursportal/"
        },
        {
            "name": "jdavidavendano"
        },
        {
            "name": "jankapunkt"
        }
    ],
    "dependencies": {
        "ajv-keywords": "^4.0.0",
        "ajv": "^7.0.0",
        "axios": "^0.21.0",
        "crc": "^3.8.0",
        "debug": "^4.1.1",
        "fs-extra": "^9.0.0",
        "glob-promise": "^3.4.0",
        "html-escaper": "^3.0.0",
        "image-size": "^0.9.0",
        "jsonpath": "^1.0.2",
        "merge": "^2.0.0",
        "mime-types": "^2.1.26",
        "nanoid": "^3.1.10",
        "postcss-clean": "^1.1.0",
        "postcss-safe-parser": "^5.0.2",
        "postcss-url": "^10.1.1",
        "postcss": "^8.1.10",
        "promisepipe": "^3.0.0",
        "qs": "^6.9.3",
        "sanitize-html": "^2.1.1",
        "stream-buffers": "^3.0.2",
        "tmp-promise": "^3.0.0",
        "uglify-js": "^3.12.0",
        "upath": "^2.0.0",
        "yauzl-promise": "^2.1.3",
        "yazl": "^2.5.1"
    },
    "devDependencies": {
        "@commitlint/config-conventional": "11.0.0",
        "@semantic-release/git": "9.0.0",
        "@semantic-release/github": "7.2.0",
        "@types/express": "4.17.9",
        "@types/fs-extra": "9.0.5",
        "@types/html-escaper": "3.0.0",
        "@types/jest": "26.0.19",
        "@types/jsonpath": "0.2.0",
        "@types/mime-types": "2.1.0",
        "@types/mongodb": "3.6.3",
        "@types/puppeteer": "5.4.2",
        "@types/react": "^17.0.0",
        "@types/sanitize-html": "1.27.0",
        "@types/stream-buffers": "3.0.3",
        "@types/supertest": "2.0.10",
        "@types/uglify-js": "^3.11.1",
        "@types/yauzl-promise": "2.1.0",
        "@types/yazl": "2.4.2",
        "aws-sdk": "2.814.0",
        "axios-mock-adapter": "1.19.0",
        "body-parser": "1.19.0",
        "commitlint": "11.0.0",
        "express-fileupload": "1.2.0",
        "express": "4.17.1",
        "husky": "4.3.6",
        "i18next-fs-backend": "1.0.7",
        "i18next-http-middleware": "3.0.6",
        "i18next": "19.8.4",
        "jest": "26.6.3",
        "mockdate": "3.0.2",
        "mongodb": "3.6.3",
        "prettier": "2.2.1",
        "puppeteer": "5.5.0",
        "semantic-release": "17.3.0",
        "source-map-support": "0.5.19",
        "start-server-and-test": "1.11.6",
        "stream-mock": "2.0.5",
        "supertest": "6.0.1",
        "ts-jest": "26.4.4",
        "ts-node": "9.1.1",
        "tslint-config-airbnb": "5.11.2",
        "tslint-config-prettier": "1.18.0",
        "tslint": "6.1.3",
        "typescript": "4.1.3"
    },
    "main": "./build/src/index.js",
    "types": "./build/src/index.d.ts"
}
