-
Notifications
You must be signed in to change notification settings - Fork 57
/
package.json
100 lines (100 loc) · 2.9 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
{
"name": "react-popper-tooltip",
"version": "4.4.2",
"description": "React tooltip library built around react-popper",
"author": "Mohsin Ul Haq <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/mohsinulhaq/react-popper-tooltip"
},
"keywords": [
"react",
"tooltip",
"popover",
"overlay",
"react-tooltip",
"react-popper"
],
"main": "dist/cjs/react-popper-tooltip.js",
"module": "dist/esm/react-popper-tooltip.js",
"browser": "dist/esm/react-popper-tooltip.js",
"typings": "dist/index.d.ts",
"style": "dist/styles.css",
"files": [
"dist"
],
"sideEffects": [
"dist/styles.css"
],
"scripts": {
"build": "rm -rf dist && rollup -c && cp src/styles.css dist && yarn tsc && rm -rf compiled",
"prepare": "husky install && yarn typecheck && yarn build && yarn test && yarn lint-staged",
"prettier": "prettier --write src/**/*.{ts,tsx}",
"typecheck": "tsc --noEmit",
"lint": "eslint \"{src,tests,examples}**/*.{ts,tsx}\"",
"start": "rollup -c -w",
"test": "jest --env=jsdom tests",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook"
},
"jest": {
"modulePathIgnorePatterns": [
"<rootDir>/examples/"
],
"setupFilesAfterEnv": [
"@testing-library/jest-dom/extend-expect"
]
},
"lint-staged": {
"**/*.(ts|tsx)": [
"yarn lint --fix"
]
},
"peerDependencies": {
"react": ">=16.6.0",
"react-dom": ">=16.6.0"
},
"dependencies": {
"@babel/runtime": "^7.18.3",
"@popperjs/core": "^2.11.5",
"react-popper": "^2.3.0"
},
"devDependencies": {
"@babel/core": "^7.18.5",
"@babel/plugin-transform-runtime": "^7.18.5",
"@babel/preset-env": "^7.18.2",
"@babel/preset-react": "^7.17.12",
"@babel/preset-typescript": "^7.17.12",
"@storybook/addon-actions": "^6.5.9",
"@storybook/addon-essentials": "^6.5.9",
"@storybook/addon-links": "^6.5.9",
"@storybook/react": "^6.5.9",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.3.0",
"@testing-library/user-event": "^14.2.1",
"@types/jest": "^28.1.3",
"@types/react": "^18.0.14",
"@types/react-dom": "^18.0.5",
"@typescript-eslint/eslint-plugin": "^5.29.0",
"@typescript-eslint/parser": "^5.29.0",
"babel-loader": "^8.2.5",
"eslint": "^8.18.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^8.0.1",
"jest": "^28.1.1",
"jest-environment-jsdom": "^28.1.1",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rollup": "^2.75.7",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-size-snapshot": "^0.12.0",
"typescript": "^4.7.4"
}
}