forked from atomiks/tippyjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
157 lines (157 loc) · 4.11 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
{
"name": "tippy.js",
"version": "6.3.7",
"description": "The complete tooltip, popover, dropdown, and menu solution for the web",
"main": "dist/tippy.cjs.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/",
"headless/",
"index.d.ts"
],
"repository": {
"type": "git",
"url": "git+https://github.com/atomiks/tippyjs.git"
},
"scripts": {
"dev": "cross-env NODE_ENV=dev rollup -c .config/rollup.config.js --watch",
"build": "node build/index.js && rollup -c .config/rollup.config.js && bundlesize",
"build:visual": "cross-env NODE_ENV=test rollup -c .config/rollup.config.js",
"serve": "serve test/visual",
"test:dom": "jest unit integration --coverage",
"test:functional": "jest functional",
"test:types": "tsc && tsd",
"test": "yarn test:types && yarn test:dom && yarn test:functional",
"lint": "eslint . --ext .ts,.js",
"format": "prettier --write \"**/*.{js,ts,json,md,mdx,scss,css}\" --ignore-path .config/.prettierignore",
"clean": "rimraf dist/ themes/ animations/ coverage/ .devserver/ .cache/ ./index.d.ts",
"prepare": "yarn clean && yarn build"
},
"babel": {
"extends": "./.config/babel.config"
},
"jest": {
"preset": "./.config/jest.config"
},
"eslintConfig": {
"extends": "./.config/eslint.config"
},
"prettier": {
"singleQuote": true,
"bracketSpacing": false,
"proseWrap": "always"
},
"browserslist": [
"> 0.5%",
"not dead",
"not safari < 8"
],
"bundlesize": [
{
"path": "dist/tippy-bundle.umd.min.js",
"maxSize": "10 kB"
},
{
"path": "headless/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/preset-env": "^7.8.3",
"@babel/preset-typescript": "^7.13.0",
"@testing-library/dom": "^6.11.0",
"@types/node": "^12.12.25",
"@typescript-eslint/eslint-plugin": "^4.16.1",
"@typescript-eslint/parser": "^4.16.1",
"autoprefixer": "^9.7.4",
"babel-jest": "^25.3.0",
"babel-plugin-dev-expression": "^0.2.2",
"bundlesize": "^0.18.0",
"colorette": "^1.1.0",
"core-js": "^3.6.4",
"cross-env": "^7.0.0",
"cssnano": "^4.1.10",
"dotenv": "^8.2.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.9.0",
"husky": "^3.1.0",
"jest": "^25.3.0",
"jest-environment-jsdom-fourteen": "^1.0.1",
"jest-image-snapshot": "^2.12.0",
"jest-puppeteer": "^4.4.0",
"jest-puppeteer-docker": "^1.3.2",
"lint-staged": "^9.5.0",
"postcss": "^7.0.26",
"poster": "0.0.9",
"prettier": "^2.0.1",
"promise": "^8.0.3",
"puppeteer": "^2.1.1",
"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",
"tsd": "^0.14.0",
"typescript": "^4.2.2"
},
"dependencies": {
"@popperjs/core": "^2.9.0"
}
}