Skip to content
Snippets Groups Projects
package.json 2.56 KiB
Newer Older
Reiter, Christoph's avatar
Reiter, Christoph committed
    "name": "@dbp-toolkit/tooltip",
    "homepage": "https://gitlab.tugraz.at/dbp/web-components/toolkit/-/tree/main/packages/tooltip",
Reiter, Christoph's avatar
Reiter, Christoph committed
    "version": "0.0.3",
Reiter, Christoph's avatar
Reiter, Christoph committed
    "main": "src/index.js",
    "license": "LGPL-2.1-or-later",
    "repository": {
        "type": "git",
        "url": "https://gitlab.tugraz.at/dbp/web-components/toolkit.git",
        "directory": "packages/tooltip"
    },
    "publishConfig": {
        "registry": "https://registry.npmjs.org",
        "access": "public"
    },
    "devDependencies": {
        "@esm-bundle/chai": "^4.2.0",
        "@rollup/plugin-commonjs": "^24.0.0",
        "@rollup/plugin-json": "^6.0.0",
        "@rollup/plugin-node-resolve": "^15.0.0",
        "@rollup/plugin-terser": "^0.3.0",
        "@rollup/plugin-url": "^8.0.0",
Reiter, Christoph's avatar
Reiter, Christoph committed
        "eslint": "^8.0.0",
        "eslint-plugin-jsdoc": "^39.0.0",
        "i18next-parser": "^7.0.0",
Reiter, Christoph's avatar
Reiter, Christoph committed
        "karma": "^6.0.0",
        "karma-chrome-launcher": "^3.0.0",
        "karma-firefox-launcher": "^2.1.0",
        "karma-mocha": "^2.0.1",
        "karma-source-map-support": "^1.4.0",
        "mocha": "^10.0.0",
        "playwright-core": "^1.20.2",
Reiter, Christoph's avatar
Reiter, Christoph committed
        "prettier": "^2.5.1",
Reiter, Christoph's avatar
Reiter, Christoph committed
        "rollup": "^3.2.5",
Reiter, Christoph's avatar
Reiter, Christoph committed
        "rollup-plugin-copy": "^3.1.0",
        "rollup-plugin-delete": "^2.0.0",
        "rollup-plugin-replace": "^2.2.0",
Reiter, Christoph's avatar
Reiter, Christoph committed
        "rollup-plugin-serve": "^2.0.0"
Reiter, Christoph's avatar
Reiter, Christoph committed
    },
    "dependencies": {
Reiter, Christoph's avatar
Reiter, Christoph committed
        "@dbp-toolkit/auth": "^0.3.1",
        "@dbp-toolkit/common": "^0.3.3",
        "@open-wc/scoped-elements": "^2.1.0",
Reiter, Christoph's avatar
Reiter, Christoph committed
        "lit": "^2.0.0",
        "tippy.js": "^6.3.1"
    },
    "scripts": {
        "clean": "rm dist/*",
        "format": "yarn run format:eslint && yarn run format:prettier",
        "format:eslint": "eslint \"**/*.{js,ts}\" --fix",
        "format:prettier": "prettier \"**/*.{js,json,ts}\" --write",
        "build": "yarn run build-local",
Reiter, Christoph's avatar
Reiter, Christoph committed
        "build-local": "rollup --bundleConfigAsCjs -c",
        "build-dev": "rollup --bundleConfigAsCjs -c --environment BUILD:development",
        "build-prod": "rollup --bundleConfigAsCjs -c --environment BUILD:production",
        "build-demo": "rollup --bundleConfigAsCjs -c --environment BUILD:demo",
        "build-test": "rollup --bundleConfigAsCjs -c --environment BUILD:test",
        "i18next": "i18next",
Reiter, Christoph's avatar
Reiter, Christoph committed
        "watch": "rollup --bundleConfigAsCjs -c --watch",
Reiter, Christoph's avatar
Reiter, Christoph committed
        "watch-local": "yarn run watch",
Reiter, Christoph's avatar
Reiter, Christoph committed
        "watch-dev": "rollup --bundleConfigAsCjs -c --watch --environment BUILD:development",
        "test": "rollup --bundleConfigAsCjs -c --environment BUILD:test && karma start --singleRun",
Reiter, Christoph's avatar
Reiter, Christoph committed
        "lint": "eslint ."
    }