@xtrack/visit-widgets 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/style.css ADDED
@@ -0,0 +1 @@
1
+ @import"https://fonts.googleapis.com/css2?family=Miriam+Libre:wght@400;700&display=swap";@import"https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap";@import"https://fonts.googleapis.com/icon?family=Material+Icons";
package/package.json ADDED
@@ -0,0 +1,75 @@
1
+ {
2
+ "name": "@xtrack/visit-widgets",
3
+ "version": "0.8.0",
4
+ "publishConfig": {
5
+ "access": "public"
6
+ },
7
+ "scripts": {
8
+ "start": "vite",
9
+ "build": "vite -c vite.config.build.ts build",
10
+ "lint": "eslint --cache -f unix \"src/**/*.{ts,tsx}\"",
11
+ "serve": "vite preview",
12
+ "check": "tsc --noEmit -p tsconfig.json",
13
+ "install:admin": "cd ../admin && npm install",
14
+ "prepare": "run-p install:**"
15
+ },
16
+ "eslintConfig": {
17
+ "extends": [
18
+ "react-app",
19
+ "react-app/jest"
20
+ ]
21
+ },
22
+ "main": "dist/lib.js",
23
+ "module": "./dist/lib.mjs",
24
+ "exports": {
25
+ ".": {
26
+ "import": "./dist/lib.mjs",
27
+ "require": "./dist/lib.js"
28
+ }
29
+ },
30
+ "directories": {
31
+ "dist": "dist"
32
+ },
33
+ "files": [
34
+ "dist"
35
+ ],
36
+ "browserslist": {
37
+ "production": [
38
+ ">0.2%",
39
+ "not dead",
40
+ "not op_mini all"
41
+ ],
42
+ "development": [
43
+ "last 1 chrome version",
44
+ "last 1 firefox version",
45
+ "last 1 safari version"
46
+ ]
47
+ },
48
+ "devDependencies": {
49
+ "@types/node": "^18.11.15",
50
+ "@types/react": "^18.0.0",
51
+ "@types/react-dom": "^18.0.6",
52
+ "@typescript-eslint/eslint-plugin": "^5.50.0",
53
+ "@vitejs/plugin-react": "^2.2.0",
54
+ "eslint": "^8.33.0",
55
+ "eslint-config-prettier": "^8.6.0",
56
+ "eslint-plugin-fp": "^2.3.0",
57
+ "eslint-plugin-functional": "^5.0.0",
58
+ "eslint-plugin-import": "^2.27.5",
59
+ "eslint-plugin-react": "^7.32.2",
60
+ "eslint-plugin-react-hooks": "^4.6.0",
61
+ "npm-run-all": "^4.1.5",
62
+ "prettier": "^2.8.3",
63
+ "react": "^18.0.0",
64
+ "react-dom": "^18.0.0",
65
+ "style-scoped": "^0.2.2",
66
+ "typescript": "^4.9.4",
67
+ "vite": "^3.2.5",
68
+ "vite-plugin-checker": "^0.5.3",
69
+ "vite-plugin-svgr": "^2.2.2",
70
+ "vite-tsconfig-paths": "^4.0.1"
71
+ },
72
+ "peerDependencies": {
73
+ "react": "^18.0.0"
74
+ }
75
+ }