1 | {
|
2 | "name": "tippy.js",
|
3 | "version": "6.1.0",
|
4 | "description": "The complete tooltip, popover, dropdown, and menu solution for the web",
|
5 | "main": "dist/tippy.cjs.js",
|
6 | "module": "dist/tippy.esm.js",
|
7 | "unpkg": "dist/tippy-bundle.umd.min.js",
|
8 | "types": "index.d.ts",
|
9 | "sideEffects": [
|
10 | "**/*.css"
|
11 | ],
|
12 | "author": "atomiks",
|
13 | "contributors": [
|
14 | "Brett Zamir"
|
15 | ],
|
16 | "license": "MIT",
|
17 | "bugs": "https://github.com/atomiks/tippyjs/issues",
|
18 | "homepage": "https://atomiks.github.io/tippyjs/",
|
19 | "keywords": [
|
20 | "tooltip",
|
21 | "popover",
|
22 | "popper",
|
23 | "dropdown",
|
24 | "popup",
|
25 | "tippy",
|
26 | "tippy.js"
|
27 | ],
|
28 | "files": [
|
29 | "dist/",
|
30 | "animations/",
|
31 | "themes/",
|
32 | "headless/",
|
33 | "index.d.ts"
|
34 | ],
|
35 | "repository": {
|
36 | "type": "git",
|
37 | "url": "git+https://github.com/atomiks/tippyjs.git"
|
38 | },
|
39 | "scripts": {
|
40 | "dev": "cross-env NODE_ENV=dev rollup -c --watch",
|
41 | "build": "node build/index.js && rollup -c && bundlesize",
|
42 | "build:visual": "cross-env NODE_ENV=test rollup -c",
|
43 | "serve": "serve test/visual",
|
44 | "test:dom": "jest unit integration --coverage",
|
45 | "test:functional": "jest functional",
|
46 | "test": "npm run test:dom && npm run test:functional",
|
47 | "check-types": "tsc",
|
48 | "lint": "eslint . --ext .ts,.js",
|
49 | "format": "prettier --write \"**/*.{js,ts,json,md,mdx,scss,css}\"",
|
50 | "clean": "rimraf dist/ themes/ animations/ coverage/ .devserver/ .cache/ ./index.d.ts",
|
51 | "prepare": "npm run clean && npm run build"
|
52 | },
|
53 | "browserslist": [
|
54 | "> 0.5%",
|
55 | "not dead",
|
56 | "not safari < 8"
|
57 | ],
|
58 | "bundlesize": [
|
59 | {
|
60 | "path": "dist/tippy-bundle.umd.min.js",
|
61 | "maxSize": "10 kB"
|
62 | },
|
63 | {
|
64 | "path": "headless/dist/tippy-headless.umd.min.js",
|
65 | "maxSize": "10 kB"
|
66 | },
|
67 | {
|
68 | "path": "dist/tippy.umd.min.js",
|
69 | "maxSize": "10 kB"
|
70 | },
|
71 | {
|
72 | "path": "dist/tippy.css",
|
73 | "maxSize": "5 kB"
|
74 | }
|
75 | ],
|
76 | "husky": {
|
77 | "hooks": {
|
78 | "pre-commit": "lint-staged"
|
79 | }
|
80 | },
|
81 | "lint-staged": {
|
82 | "src/**/*.ts": [
|
83 | "jest --findRelatedTests",
|
84 | "eslint . --ext .ts,.js",
|
85 | "git add"
|
86 | ],
|
87 | "{build,src,test,website/src}/**/*.{ts,js,json,css,scss,md}": [
|
88 | "prettier --write",
|
89 | "git add"
|
90 | ]
|
91 | },
|
92 | "devDependencies": {
|
93 | "@babel/core": "^7.8.3",
|
94 | "@babel/preset-env": "^7.8.3",
|
95 | "@babel/preset-typescript": "^7.8.3",
|
96 | "@testing-library/dom": "^6.11.0",
|
97 | "@types/node": "^12.12.25",
|
98 | "@typescript-eslint/eslint-plugin": "^2.21.0",
|
99 | "@typescript-eslint/parser": "^2.21.0",
|
100 | "autoprefixer": "^9.7.4",
|
101 | "babel-jest": "^24.9.0",
|
102 | "babel-plugin-dev-expression": "^0.2.2",
|
103 | "bundlesize": "^0.18.0",
|
104 | "colorette": "^1.1.0",
|
105 | "core-js": "^3.6.4",
|
106 | "cross-env": "^7.0.0",
|
107 | "cssnano": "^4.1.10",
|
108 | "dotenv": "^8.2.0",
|
109 | "eslint": "^6.8.0",
|
110 | "eslint-config-prettier": "^6.9.0",
|
111 | "husky": "^3.1.0",
|
112 | "jest": "^24.9.0",
|
113 | "jest-environment-jsdom-fourteen": "^1.0.1",
|
114 | "jest-image-snapshot": "^2.12.0",
|
115 | "jest-puppeteer": "^4.4.0",
|
116 | "lint-staged": "^9.5.0",
|
117 | "postcss": "^7.0.26",
|
118 | "poster": "0.0.9",
|
119 | "prettier": "^1.19.1",
|
120 | "promise": "^8.0.3",
|
121 | "puppeteer": "^2.1.0",
|
122 | "rimraf": "^3.0.0",
|
123 | "rollup": "^1.29.1",
|
124 | "rollup-plugin-babel": "^4.3.3",
|
125 | "rollup-plugin-commonjs": "^10.0.2",
|
126 | "rollup-plugin-css-only": "^1.0.0",
|
127 | "rollup-plugin-json": "^4.0.0",
|
128 | "rollup-plugin-livereload": "^1.0.4",
|
129 | "rollup-plugin-node-resolve": "^5.2.0",
|
130 | "rollup-plugin-replace": "^2.2.0",
|
131 | "rollup-plugin-sass": "^1.2.2",
|
132 | "rollup-plugin-serve": "^1.0.1",
|
133 | "rollup-plugin-terser": "^5.2.0",
|
134 | "sass": "^1.25.0",
|
135 | "serve": "^11.3.0",
|
136 | "typescript": "^3.7.5"
|
137 | },
|
138 | "dependencies": {
|
139 | "@popperjs/core": "^2.1.1"
|
140 | }
|
141 | }
|