@saas-ui/react 0.1.2 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,19 +1,23 @@
1
1
  {
2
2
  "name": "@saas-ui/react",
3
- "version": "0.1.2",
3
+ "version": "0.1.8",
4
4
  "description": "Saas UI - The frontend stack for SaaS companies.",
5
5
  "source": "src/index.ts",
6
6
  "exports": {
7
- "require": "./dist/index.js",
8
- "development": "./src/index.ts",
9
- "default": "./dist/index.modern.js"
7
+ ".": {
8
+ "require": "./dist/index.js",
9
+ "default": "./dist/index.modern.js"
10
+ },
11
+ "./src": {
12
+ "default": "./src/index.ts"
13
+ }
10
14
  },
11
15
  "main": "./dist/index.js",
12
16
  "module": "./dist/index.modern.js",
13
17
  "types": "./dist/index.d.ts",
14
18
  "scripts": {
15
19
  "clean": "rimraf --no-glob ./dist",
16
- "build": "yarn clean && cross-env NODE_ENV=production microbundle --tsconfig ./tsconfig.json --jsx React.createElement --jsxFragment React.Fragment -f cjs,modern --compress",
20
+ "build": "yarn clean && cross-env NODE_ENV=production microbundle --tsconfig ./tsconfig.json --jsx React.createElement --jsxFragment React.Fragment -f cjs,modern --compress --define process.env.NODE_ENV=production",
17
21
  "lint": "eslint src --ext .ts,.tsx,.js,.jsx --config ../../.eslintrc.js",
18
22
  "lint:staged": "lint-staged --allow-empty --config ../../lint-staged.config.js",
19
23
  "typecheck": "tsc --noEmit"
@@ -47,27 +51,29 @@
47
51
  "url": "https://storybook.saas-ui.dev"
48
52
  },
49
53
  "dependencies": {
50
- "@saas-ui/auth": "0.1.2",
51
- "@saas-ui/button": "0.1.2",
52
- "@saas-ui/card": "1.1.2",
53
- "@saas-ui/collapse": "0.1.2",
54
- "@saas-ui/forms": "0.1.2",
55
- "@saas-ui/hooks": "0.1.2",
56
- "@saas-ui/hotkeys": "0.2.2",
57
- "@saas-ui/input-right-button": "0.1.2",
58
- "@saas-ui/menu": "0.1.2",
59
- "@saas-ui/nprogress": "0.1.2",
60
- "@saas-ui/number-input": "0.1.2",
61
- "@saas-ui/palette": "0.3.1",
62
- "@saas-ui/password-input": "0.1.2",
63
- "@saas-ui/persona": "0.2.2",
64
- "@saas-ui/pin-input": "0.1.2",
65
- "@saas-ui/property": "0.1.2",
66
- "@saas-ui/provider": "0.1.2",
67
- "@saas-ui/radio": "0.1.2",
68
- "@saas-ui/snackbar": "0.1.2",
69
- "@saas-ui/system": "0.2.2",
70
- "@saas-ui/theme": "0.1.2"
54
+ "@saas-ui/auth": "0.1.5",
55
+ "@saas-ui/button": "0.1.5",
56
+ "@saas-ui/card": "1.1.5",
57
+ "@saas-ui/collapse": "0.1.4",
58
+ "@saas-ui/forms": "0.1.5",
59
+ "@saas-ui/hooks": "0.1.3",
60
+ "@saas-ui/hotkeys": "0.2.4",
61
+ "@saas-ui/input-right-button": "0.1.5",
62
+ "@saas-ui/menu": "0.1.5",
63
+ "@saas-ui/nprogress": "0.1.4",
64
+ "@saas-ui/number-input": "0.1.3",
65
+ "@saas-ui/palette": "0.3.2",
66
+ "@saas-ui/password-input": "0.1.5",
67
+ "@saas-ui/persona": "0.2.4",
68
+ "@saas-ui/pin-input": "0.1.3",
69
+ "@saas-ui/property": "0.1.3",
70
+ "@saas-ui/provider": "0.1.4",
71
+ "@saas-ui/radio": "0.1.3",
72
+ "@saas-ui/select": "0.1.4",
73
+ "@saas-ui/search-input": "0.2.3",
74
+ "@saas-ui/snackbar": "0.1.4",
75
+ "@saas-ui/system": "0.2.4",
76
+ "@saas-ui/theme": "0.1.4"
71
77
  },
72
78
  "peerDependencies": {
73
79
  "@chakra-ui/react": ">=1.7.0",