UNPKG

2.51 kBJSONView Raw
1{
2 "name": "react-tether",
3 "version": "3.0.3",
4 "description": "A positioning engine to make overlays, tooltips and dropdowns better",
5 "type": "module",
6 "source": "src/react-tether.tsx",
7 "exports": {
8 "require": "./lib/react-tether.cjs",
9 "default": "./lib/react-tether.modern.js"
10 },
11 "main": "./lib/react-tether.cjs",
12 "module": "./lib/react-tether.esm.js",
13 "unpkg": "./lib/react-tether.umd.js",
14 "types": "./lib/react-tether.d.ts",
15 "scripts": {
16 "build": "microbundle --jsx React.createElement --jsxFragment React.Fragment",
17 "demo": "parcel example/index.html",
18 "demo:deploy": "./bin/build-demo",
19 "unit": "jest tests/unit",
20 "e2e": "testcafe chrome tests/e2e --app \"npm run demo\"",
21 "e2e:full": "testcafe \"saucelabs:Chrome@latest\",\"saucelabs:Firefox@latest\",\"saucelabs:MicrosoftEdge@latest\",\"saucelabs:Safari@latest\" tests/e2e --app 'npm run demo'",
22 "test": "npm run typescript && npm run unit",
23 "tdd": "npm run unit -- --watch",
24 "typescript": "tsc",
25 "prepare": "husky install"
26 },
27 "repository": {
28 "type": "git",
29 "url": "https://github.com/danreeves/react-tether"
30 },
31 "keywords": [
32 "react",
33 "react-tether",
34 "tether",
35 "component",
36 "drop"
37 ],
38 "author": "Dan Reeves <hey@danreev.es>, Travis Arnold <travis@souporserious.com> (http://souporserious.com)",
39 "license": "MIT",
40 "bugs": {
41 "url": "https://github.com/danreeves/react-tether/issues"
42 },
43 "homepage": "https://github.com/danreeves/react-tether",
44 "dependencies": {
45 "tether": "^1.4.7",
46 "@types/tether": "^1.4.6"
47 },
48 "peerDependencies": {
49 "react": "*",
50 "react-dom": "*"
51 },
52 "devDependencies": {
53 "@testing-library/jest-dom": "^5.16.5",
54 "@testing-library/react": "^13.4.0",
55 "@types/react": "^18.0.19",
56 "@types/react-dom": "^18.0.6",
57 "@types/styled-components": "^5.1.26",
58 "@types/testing-library__jest-dom": "^5.14.5",
59 "git-directory-deploy": "1.5.1",
60 "husky": "^8.0.0",
61 "jest": "^29.0.3",
62 "jest-environment-jsdom": "^29.0.3",
63 "microbundle": "^0.15.1",
64 "parcel-bundler": "^1.10.3",
65 "prettier": "^2.7.1",
66 "pretty-quick": "^3.1.3",
67 "react": "^18",
68 "react-dom": "^18",
69 "react-draggable": "4.4.5",
70 "strip-indent": "4.0.0",
71 "styled-components": "^5.3.5",
72 "testcafe": "2.0.0",
73 "testcafe-browser-provider-saucelabs": "1.9.0",
74 "ts-jest": "^29.0.1",
75 "typescript": "^5.2"
76 },
77 "files": [
78 "dist",
79 "lib"
80 ],
81 "jest": {
82 "preset": "ts-jest",
83 "testEnvironment": "jsdom",
84 "setupFilesAfterEnv": [
85 "@testing-library/jest-dom/extend-expect"
86 ]
87 }
88}