@frigade/react 1.38.10 → 2.0.0-alpha

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/package.json CHANGED
@@ -1,26 +1,20 @@
1
1
  {
2
2
  "name": "@frigade/react",
3
- "version": "1.38.10",
3
+ "version": "2.0.0-alpha",
4
4
  "description": "Build better product onboarding, faster.",
5
+ "type": "module",
5
6
  "main": "./dist/index.js",
6
7
  "types": "./dist/index.d.ts",
7
- "files": [
8
- "./dist"
9
- ],
10
- "scripts": {
11
- "clean": "rimraf ./dist",
12
- "test": "jest",
13
- "lint": "eslint --fix --ext .ts,.tsx .",
14
- "build": "yarn clean && yarn copy-version-number && tsup",
15
- "local-release": "tsup",
16
- "storybook": "storybook dev -p 6006",
17
- "build-storybook": "storybook build",
18
- "copy-version-number": "node ./scripts/copy-version-number.js"
19
- },
8
+ "author": "Frigade Inc.",
9
+ "license": "MIT",
10
+ "homepage": "https://github.com/FrigadeHQ/javascript/tree/main/packages/reactv2#readme",
20
11
  "repository": {
21
12
  "type": "git",
22
13
  "url": "git+https://github.com/FrigadeHQ/javascript.git"
23
14
  },
15
+ "bugs": {
16
+ "url": "https://github.com/FrigadeHQ/javascript/issues"
17
+ },
24
18
  "keywords": [
25
19
  "React",
26
20
  "Onboarding",
@@ -33,44 +27,57 @@
33
27
  "React-component",
34
28
  "Walkthrough"
35
29
  ],
30
+ "exports": {
31
+ ".": {
32
+ "import": "./dist/index.js",
33
+ "require": "./dist/index.cjs",
34
+ "types": "./dist/index.d.ts"
35
+ },
36
+ "./css": {
37
+ "import": "./dist/index.css",
38
+ "require": "./dist/index.css"
39
+ },
40
+ "./src/": {
41
+ "import": "./src/",
42
+ "require": "./src/"
43
+ }
44
+ },
45
+ "files": [
46
+ "./dist"
47
+ ],
48
+ "scripts": {
49
+ "dev": "tsup --watch",
50
+ "clean": "rimraf ./dist",
51
+ "test": "jest --passWithNoTests",
52
+ "lint": "eslint --fix --ext .ts,.tsx .",
53
+ "build": "yarn clean && tsup"
54
+ },
55
+ "dependencies": {
56
+ "@emotion/react": "^11.11.1",
57
+ "@frigade/js": "workspace:*",
58
+ "@heroicons/react": "^2.0.18",
59
+ "@radix-ui/react-popover": "^1.0.7",
60
+ "@vanilla-extract/css": "^1.13.0",
61
+ "@vanilla-extract/dynamic": "^2.0.3",
62
+ "clsx": "^2.0.0",
63
+ "core-js-pure": "^3.33.0"
64
+ },
36
65
  "peerDependencies": {
37
66
  "react": "17 - 18",
38
67
  "react-dom": "17 - 18"
39
68
  },
40
69
  "devDependencies": {
41
- "@babel/core": "^7.15.8",
42
- "@babel/plugin-transform-runtime": "^7.19.6",
43
- "@babel/preset-env": "^7.21.5",
44
- "@babel/preset-react": "^7.18.6",
45
- "@babel/preset-typescript": "^7.21.5",
46
- "@storybook/addon-essentials": "^7.5.2",
47
- "@storybook/addon-interactions": "^7.5.2",
48
- "@storybook/addon-links": "^7.5.2",
49
- "@storybook/blocks": "^7.5.2",
50
- "@storybook/react": "^7.5.2",
51
- "@storybook/react-webpack5": "^7.5.2",
52
- "@storybook/testing-library": "^0.2.2",
53
- "@testing-library/react": "14.0.0",
54
70
  "@types/jest": "^23.3.1",
55
71
  "@types/react": "^18.2.34",
56
72
  "@types/react-dom": "^18.2.14",
57
- "babel-jest": "^29.4.1",
58
- "copyfiles": "^2.4.1",
59
- "eslint-config-backpacker-react-ts": "^0.3.0",
60
- "husky": "^8.0.3",
73
+ "@vanilla-extract/esbuild-plugin": "^2.3.0",
61
74
  "jest": "^29.6.2",
62
75
  "jest-config": "^29.6.2",
63
76
  "jest-environment-jsdom": "^29.6.2",
64
- "lint-staged": "^13.0.0",
65
77
  "prettier": "^2.4.1",
66
- "prop-types": "^15.8.1",
67
- "react-test-renderer": "17.0.2",
68
78
  "rimraf": "^4.1.2",
69
- "storybook": "^7.5.2",
70
79
  "ts-jest": "^29.1.0",
71
80
  "tsup": "^6.7.0",
72
- "typedoc": "^0.24.8",
73
- "typedoc-plugin-markdown": "^3.15.3",
74
81
  "typescript": "^4.9.4"
75
82
  },
76
83
  "resolutions": {
@@ -81,21 +88,5 @@
81
88
  "main"
82
89
  ]
83
90
  },
84
- "author": "Frigade Inc.",
85
- "license": "MIT",
86
- "bugs": {
87
- "url": "https://github.com/FrigadeHQ/javascript/issues"
88
- },
89
- "homepage": "https://github.com/FrigadeHQ/javascript/tree/main/packages/react#readme",
90
- "dependencies": {
91
- "core-js-pure": "^3.32.0",
92
- "dompurify": "^3.0.1",
93
- "react-portal": "^4.2.2",
94
- "styled-components": "5.3.6",
95
- "styled-system": "^5.1.5",
96
- "swr": "^2.2.0",
97
- "uuid": "^9.0.0",
98
- "zod": "^3.22.3"
99
- },
100
91
  "packageManager": "yarn@3.6.2"
101
92
  }