This repository has been archived by the owner on Dec 5, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 226
/
package.json
115 lines (115 loc) · 3.66 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
{
"name": "react-popper",
"version": "2.3.0",
"description": "Official library to use Popper on React projects",
"license": "MIT",
"author": "Travis Arnold <travis@souporserious.com> (http://souporserious.com)",
"contributors": [
"Federico Zivolo <federico.zivolo@gmail.com> (https://fezvrasta.github.io)"
],
"homepage": "https://popper.js.org/react-popper",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"typings": "typings/react-popper.d.ts",
"sideEffects": false,
"files": [
"/dist",
"/lib",
"/typings/react-popper.d.ts"
],
"scripts": {
"build": "yarn build:clean && yarn build:esm && yarn build:cjs && yarn build:umd && yarn build:flow",
"build:clean": "rimraf dist/ && rimraf lib/",
"build:umd": "rollup -c && rimraf dist/index.esm.js",
"build:esm": "cross-env BABEL_ENV=esm babel src --out-dir lib/esm",
"build:cjs": "cross-env BABEL_ENV=cjs babel src --out-dir lib/cjs",
"build:flow": "flow-copy-source --ignore '{__typings__/*,*.test}.js' src lib/cjs",
"demo:dev": "parcel --out-dir demo/dist demo/index.html",
"demo:build": "parcel build --out-dir demo/dist demo/index.html --public-url=/react-popper",
"demo:deploy": "yarn demo:build && gh-pages -d demo/dist",
"test": "yarn test:eslint && yarn test:flow && yarn test:ts && yarn test:jest",
"test:ts": "tsc --project ./typings/tests",
"test:flow": "flow check",
"test:jest": "jest",
"test:eslint": "eslint src",
"prepare": "yarn build",
"precommit": "pretty-quick --staged && test",
"prepublishOnly": "git-branch-is master"
},
"jest": {
"setupFilesAfterEnv": [
"<rootDir>jest.setup.js"
]
},
"repository": {
"type": "git",
"url": "https://github.com/popperjs/react-popper"
},
"bugs": {
"url": "https://github.com/popperjs/react-popper/issues"
},
"keywords": [
"react",
"react-popper",
"popperjs",
"component",
"drop",
"tooltip",
"popover"
],
"peerDependencies": {
"@popperjs/core": "^2.0.0",
"react": "^16.8.0 || ^17 || ^18",
"react-dom": "^16.8.0 || ^17 || ^18"
},
"dependencies": {
"react-fast-compare": "^3.0.1",
"warning": "^4.0.2"
},
"devDependencies": {
"@atomico/rollup-plugin-sizes": "^1.1.3",
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.0",
"@babel/plugin-transform-modules-commonjs": "^7.9.0",
"@babel/polyfill": "^7.8.7",
"@babel/preset-env": "^7.9.0",
"@babel/preset-flow": "^7.9.0",
"@babel/preset-react": "^7.9.4",
"@emotion/core": "^10.0.28",
"@emotion/styled": "^10.0.27",
"@popperjs/core": "^2.3.3",
"@rollup/plugin-commonjs": "^11.0.2",
"@rollup/plugin-node-resolve": "^7.1.1",
"@rollup/plugin-replace": "^2.3.1",
"@testing-library/react": "^13.1.1",
"@testing-library/react-hooks": "^8.0.0",
"@types/react": "^16.9.29",
"babel-eslint": "^10.1.0",
"babel-jest": "^25.2.4",
"cross-env": "^7.0.2",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-flowtype": "^4.7.0",
"eslint-plugin-jest": "^23.8.2",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^3.0.0",
"flow-bin": "^0.176.2",
"flow-copy-source": "^2.0.9",
"gh-pages": "^2.2.0",
"git-branch-is": "^3.1.0",
"jest": "^25.2.4",
"parcel-bundler": "^1.12.4",
"prettier": "^2.0.2",
"pretty-quick": "^2.0.1",
"react": "18.0.0",
"react-dom": "^18.0.0",
"react-spring": "^8.0.27",
"react-test-renderer": "^18.0.0",
"rimraf": "^3.0.2",
"rollup": "^2.3.1",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-terser": "^5.3.0",
"typescript": "^3.8.3"
}
}