banhaten-ui 1.0.0 → 1.0.1

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 @@
1
+ export declare const hello: () => void;
@@ -0,0 +1,7 @@
1
+ // index.js
2
+ var hello = function () {
3
+ console.log('Hello from my-package!');
4
+ };
5
+
6
+ export { hello };
7
+ //# sourceMappingURL=index.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
package/dist/index.js ADDED
@@ -0,0 +1,9 @@
1
+ 'use strict';
2
+
3
+ // index.js
4
+ var hello = function () {
5
+ console.log('Hello from my-package!');
6
+ };
7
+
8
+ exports.hello = hello;
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
package/package.json CHANGED
@@ -1,10 +1,22 @@
1
1
  {
2
2
  "name": "banhaten-ui",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Banhaten react components library",
5
- "main": "index.js",
5
+ "main": "dist/index.js",
6
+ "module": "dist/index.es.js",
7
+ "types": "dist/index.d.ts",
8
+ "files": [
9
+ "dist"
10
+ ],
11
+ "type": "module",
6
12
  "scripts": {
7
- "test": "npm test"
13
+ "build": "rollup -c",
14
+ "lint": "eslint 'src/**/*.{ts,tsx}' --fix",
15
+ "format": "prettier --write 'src/**/*.{ts,tsx,js,jsx,json,css}'",
16
+ "start": "react-scripts start",
17
+ "test": "react-scripts test",
18
+ "eject": "react-scripts eject",
19
+ "clean": "rm -rf dist"
8
20
  },
9
21
  "keywords": [
10
22
  "banhaten",
@@ -16,5 +28,26 @@
16
28
  "library"
17
29
  ],
18
30
  "author": "banhaten-devs",
19
- "license": "ISC"
31
+ "license": "ISC",
32
+ "devDependencies": {
33
+ "@eslint/js": "^9.12.0",
34
+ "@rollup/plugin-commonjs": "^28.0.0",
35
+ "@rollup/plugin-node-resolve": "^15.3.0",
36
+ "@typescript-eslint/eslint-plugin": "^8.8.1",
37
+ "@typescript-eslint/parser": "^8.8.1",
38
+ "eslint": "^8.57.1",
39
+ "eslint-config-prettier": "^9.1.0",
40
+ "eslint-plugin-prettier": "^5.2.1",
41
+ "eslint-plugin-react": "^7.37.1",
42
+ "globals": "^15.11.0",
43
+ "prettier": "^3.3.3",
44
+ "rollup": "^4.24.0",
45
+ "rollup-plugin-typescript2": "^0.36.0",
46
+ "typescript": "^5.6.3",
47
+ "typescript-eslint": "^8.8.1"
48
+ },
49
+ "peerDependencies": {
50
+ "react": "^17.0.0 || ^18.0.0",
51
+ "react-dom": "^17.0.0 || ^18.0.0"
52
+ }
20
53
  }
package/index.js DELETED
@@ -1,4 +0,0 @@
1
- // index.js
2
- module.exports = function () {
3
- console.log('Hello from my-package!');
4
- };