UNPKG

3.82 kBJSONView Raw
1{
2 "name": "tippy.js",
3 "version": "5.2.1",
4 "description": "Highly customizable tooltip and popover library",
5 "main": "dist/tippy.cjs.js",
6 "module": "dist/tippy.esm.js",
7 "unpkg": "dist/tippy-bundle.iife.min.js",
8 "types": "index.d.ts",
9 "sideEffects": [
10 "dist/tippy-bundle*",
11 "**/*.css"
12 ],
13 "author": "atomiks",
14 "contributors": [
15 "Brett Zamir"
16 ],
17 "license": "MIT",
18 "bugs": "https://github.com/atomiks/tippyjs/issues",
19 "homepage": "https://atomiks.github.io/tippyjs/",
20 "keywords": [
21 "tooltip",
22 "popover",
23 "popper",
24 "dropdown",
25 "popup",
26 "tippy",
27 "tippy.js"
28 ],
29 "files": [
30 "dist/",
31 "animations/",
32 "themes/",
33 "index.d.ts"
34 ],
35 "repository": {
36 "type": "git",
37 "url": "git+https://github.com/atomiks/tippyjs.git"
38 },
39 "scripts": {
40 "dev": "parcel demo/index.html -d .devserver",
41 "dev:flip": "parcel demo/flip/index.html -d .devserver",
42 "dev:themes": "parcel demo/themes/index.html -d .devserver",
43 "dev:animations": "parcel demo/animations/index.html -d .devserver",
44 "dev:addons": "parcel demo/addons/index.html -d .devserver",
45 "dev:plugins": "parcel demo/plugins/index.html -d .devserver",
46 "build": "node rollup.pre-build && rollup --config && bundlesize",
47 "test": "jest --coverage",
48 "check-types": "tsc",
49 "lint": "eslint --report-unused-disable-directives . --ext .ts,.js",
50 "format": "prettier --write \"**/*.{js,ts,json,md,mdx,scss,css}\"",
51 "clean": "rimraf dist/ themes/ animations/ coverage/ .devserver/ .cache/ ./index.d.ts",
52 "prepare": "npm run clean && npm run build"
53 },
54 "jest": {
55 "globals": {
56 "__DEV__": true
57 },
58 "setupFilesAfterEnv": [
59 "./test/setup.js"
60 ],
61 "testRegex": "./test/.*.test.js$"
62 },
63 "browserslist": [
64 "> 0.5%",
65 "not dead",
66 "not safari < 8"
67 ],
68 "bundlesize": [
69 {
70 "path": "dist/tippy-bundle.iife.min.js",
71 "maxSize": "10 kB"
72 },
73 {
74 "path": "dist/tippy.iife.min.js",
75 "maxSize": "10 kB"
76 },
77 {
78 "path": "dist/tippy.css",
79 "maxSize": "5 kB"
80 }
81 ],
82 "husky": {
83 "hooks": {
84 "pre-commit": "lint-staged"
85 }
86 },
87 "lint-staged": {
88 "src/**/*.ts": [
89 "jest --findRelatedTests",
90 "eslint --report-unused-disable-directives . --ext .ts,.js",
91 "git add"
92 ],
93 "{build,src,test,website/src}/**/*.{ts,js,json,css,scss,md}": [
94 "prettier --write",
95 "git add"
96 ]
97 },
98 "devDependencies": {
99 "@babel/core": "^7.5.5",
100 "@babel/plugin-proposal-object-rest-spread": "^7.5.5",
101 "@babel/plugin-transform-template-literals": "^7.4.4",
102 "@babel/preset-env": "^7.5.5",
103 "@babel/preset-typescript": "^7.3.3",
104 "@testing-library/dom": "^6.8.1",
105 "@types/node": "^12.7.2",
106 "@typescript-eslint/eslint-plugin": "^2.0.0",
107 "@typescript-eslint/parser": "^2.12.0",
108 "autoprefixer": "^9.6.1",
109 "babel-jest": "^24.8.0",
110 "babel-plugin-dev-expression": "^0.2.2",
111 "bundlesize": "^0.18.0",
112 "colorette": "^1.1.0",
113 "cssnano": "^4.1.10",
114 "eslint": "^6.1.0",
115 "eslint-config-prettier": "^6.0.0",
116 "husky": "^3.0.3",
117 "jest": "^24.8.0",
118 "lint-staged": "^9.2.1",
119 "node-sass": "^4.13.1",
120 "parcel-bundler": "^1.12.4",
121 "postcss": "^7.0.17",
122 "prettier": "^1.18.2",
123 "promise": "^8.0.3",
124 "react-flip-toolkit": "^6.6.9",
125 "rimraf": "^3.0.0",
126 "rollup": "^1.19.4",
127 "rollup-plugin-babel": "^4.3.3",
128 "rollup-plugin-commonjs": "^10.0.2",
129 "rollup-plugin-css-only": "^1.0.0",
130 "rollup-plugin-json": "^4.0.0",
131 "rollup-plugin-node-resolve": "^5.2.0",
132 "rollup-plugin-replace": "^2.2.0",
133 "rollup-plugin-sass": "^1.2.2",
134 "rollup-plugin-terser": "^5.2.0",
135 "typescript": "^3.5.3"
136 },
137 "dependencies": {
138 "popper.js": "^1.16.0"
139 }
140}