fis-component 0.0.14 → 0.0.16

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.
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const FisButton: () => React.JSX.Element;
3
+ export default FisButton;
@@ -1 +1 @@
1
- export * from "./components";
1
+ export { default as FisButton } from "./components/Button";
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const FisButton: () => React.JSX.Element;
3
+ export default FisButton;
@@ -1 +1 @@
1
- export * from "./components";
1
+ export { default as FisButton } from "./components/Button";
package/package.json CHANGED
@@ -1,23 +1,26 @@
1
1
  {
2
+ "homepage": "https://vietdiemtran.github.io/fis-component/",
2
3
  "name": "fis-component",
3
- "version": "0.0.14",
4
+ "version": "0.0.16",
4
5
  "description": "",
5
6
  "main": "dist/cjs/index.js",
6
7
  "module": "dist/esm/index.js",
7
- "types": "dist/index.d.ts",
8
8
  "files": [
9
9
  "dist"
10
10
  ],
11
+ "types": "dist/index.d.ts",
11
12
  "scripts": {
12
13
  "build": "rollup -c",
13
14
  "dev": "rollup -c -w",
14
15
  "test": "jest",
15
16
  "storybook": "storybook dev -p 6006",
16
- "build-storybook": "storybook build",
17
+ "build-storybook": "storybook build -s public",
17
18
  "prepare": "husky",
18
19
  "lint": "eslint ./src/ --ext .ts,.tsx",
19
20
  "lint:fix": "eslint ./src --ext .ts,.tsx --fix",
20
- "release": "standard-version"
21
+ "release": "standard-version",
22
+ "predeploy": "npm run build-storybook",
23
+ "deploy": "gh-pages -d storybook-static"
21
24
  },
22
25
  "peerDependencies": {
23
26
  "react": "^18.0.0"
@@ -58,6 +61,7 @@
58
61
  "eslint-plugin-promise": "^6.1.1",
59
62
  "eslint-plugin-react": "^7.33.2",
60
63
  "eslint-plugin-storybook": "^0.8.0",
64
+ "gh-pages": "^6.2.0",
61
65
  "husky": "^9.0.10",
62
66
  "jest": "^29.7.0",
63
67
  "jest-environment-jsdom": "^29.7.0",
@@ -82,12 +86,5 @@
82
86
  "antd": "^5.20.6",
83
87
  "rollup-plugin-typescript2": "^0.36.0",
84
88
  "vite": "^4.5.3"
85
- },
86
- "exports": {
87
- ".": {
88
- "import": "./dist/index.js",
89
- "require": "./dist/index.js",
90
- "types": "./dist/index.d.ts"
91
- }
92
89
  }
93
- }
90
+ }