UNPKG

tippy.js

Version:

Highly customizable tooltip and popover library

143 lines (142 loc) 3.81 kB
{ "name": "tippy.js", "version": "6.0.0-alpha.0", "description": "Highly customizable tooltip and popover library", "main": "dist/tippy.umd.js", "module": "dist/tippy.esm.js", "unpkg": "dist/tippy-bundle.umd.min.js", "types": "index.d.ts", "sideEffects": [ "**/*.css" ], "author": "atomiks", "contributors": [ "Brett Zamir" ], "license": "MIT", "bugs": "https://github.com/atomiks/tippyjs/issues", "homepage": "https://atomiks.github.io/tippyjs/", "keywords": [ "tooltip", "popover", "popper", "dropdown", "popup", "tippy", "tippy.js" ], "files": [ "dist/", "animations/", "themes/", "index.d.ts" ], "repository": { "type": "git", "url": "git+https://github.com/atomiks/tippyjs.git" }, "scripts": { "dev": "NODE_ENV=dev rollup -c --watch", "build": "node rollup.css && rollup -c && bundlesize", "build:visual": "NODE_ENV=test rollup -c", "serve": "serve test/visual", "test:dom": "jest unit integration --coverage", "test:functional": "jest functional", "test": "npm run test:dom && npm run test:functional", "check-types": "tsc", "lint": "eslint . --ext .ts,.js", "format": "prettier --write \"**/*.{js,ts,json,md,mdx,scss,css}\"", "clean": "rimraf dist/ themes/ animations/ coverage/ .devserver/ .cache/ ./index.d.ts", "prepare": "npm run clean && npm run build" }, "browserslist": [ "> 0.5%", "not dead", "not safari < 8" ], "bundlesize": [ { "path": "dist/tippy-bundle.umd.min.js", "maxSize": "10 kB" }, { "path": "dist/tippy-headless.umd.min.js", "maxSize": "10 kB" }, { "path": "dist/tippy.umd.min.js", "maxSize": "10 kB" }, { "path": "dist/tippy.css", "maxSize": "5 kB" } ], "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "src/**/*.ts": [ "jest --findRelatedTests", "eslint . --ext .ts,.js", "git add" ], "{build,src,test,website/src}/**/*.{ts,js,json,css,scss,md}": [ "prettier --write", "git add" ] }, "devDependencies": { "@babel/core": "^7.8.3", "@babel/plugin-proposal-object-rest-spread": "^7.8.3", "@babel/plugin-transform-template-literals": "^7.8.3", "@babel/preset-env": "^7.8.3", "@babel/preset-typescript": "^7.8.3", "@testing-library/dom": "^6.11.0", "@types/node": "^12.12.25", "@typescript-eslint/eslint-plugin": "^2.17.0", "@typescript-eslint/parser": "^2.17.0", "autoprefixer": "^9.7.4", "babel-jest": "^24.9.0", "babel-plugin-dev-expression": "^0.2.2", "bundlesize": "^0.18.0", "colorette": "^1.1.0", "core-js": "^3.6.4", "cssnano": "^4.1.10", "dotenv": "^8.2.0", "eslint": "^6.8.0", "eslint-config-prettier": "^6.9.0", "husky": "^3.1.0", "jest": "^24.9.0", "jest-environment-jsdom-fourteen": "^1.0.1", "jest-image-snapshot": "^2.12.0", "jest-puppeteer": "^4.4.0", "lint-staged": "^9.5.0", "parcel": "^2.0.0-alpha.3.2", "popmotion": "^8.7.1", "postcss": "^7.0.26", "prettier": "^1.19.1", "promise": "^8.0.3", "puppeteer": "^2.1.0", "rimraf": "^3.0.0", "rollup": "^1.29.1", "rollup-plugin-babel": "^4.3.3", "rollup-plugin-commonjs": "^10.0.2", "rollup-plugin-css-only": "^1.0.0", "rollup-plugin-json": "^4.0.0", "rollup-plugin-livereload": "^1.0.4", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-replace": "^2.2.0", "rollup-plugin-sass": "^1.2.2", "rollup-plugin-serve": "^1.0.1", "rollup-plugin-terser": "^5.2.0", "sass": "^1.25.0", "serve": "^11.3.0", "typescript": "^3.7.5" }, "dependencies": { "@popperjs/core": "^2.0.5" } }