@momo-webplatform/mobase 0.2.2 → 0.2.4
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/cjs/index.cjs +271 -6543
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +1 -65
- package/dist/esm/index.d.ts +1 -65
- package/dist/esm/index.js +271 -5997
- package/dist/esm/index.js.map +1 -1
- package/package.json +20 -17
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@momo-webplatform/mobase",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"description": "Mobase is the UI framework upon we build product experiences at MoMo.vn, base on Radix primitives, and Tailwind CSS.",
|
|
5
5
|
"author": "MoMo - Front-end dev",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,22 +24,11 @@
|
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
"build:cjs": "tsup --format cjs --external react",
|
|
30
|
-
"build:esm": "tsup --format esm --external react",
|
|
31
|
-
"build": "concurrently \"npm run build:cjs\" \"npm run build:esm\"",
|
|
32
|
-
"build:watch:esm": "npm run build:esm -- --watch",
|
|
33
|
-
"build:watch:cjs": "npm run build:cjs -- --watch",
|
|
34
|
-
"build:watch": "concurrently \"npm:build:watch:*\"",
|
|
35
|
-
"dev": "npm run build:watch",
|
|
36
|
-
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist",
|
|
37
|
-
"lint": "eslint 'src/**/*.{js,jsx,ts,tsx}'",
|
|
38
|
-
"lint:fix": "eslint 'src/**/*.{js,jsx,ts,tsx}' --fix"
|
|
27
|
+
"publishConfig": {
|
|
28
|
+
"access": "public"
|
|
39
29
|
},
|
|
30
|
+
"sideEffects": false,
|
|
40
31
|
"devDependencies": {
|
|
41
|
-
"@repo/eslint-config": "workspace:*",
|
|
42
|
-
"@repo/typescript-config": "workspace:*",
|
|
43
32
|
"@swc/core": "^1.4.0",
|
|
44
33
|
"@turbo/gen": "^1.12.4",
|
|
45
34
|
"@types/color": "^3.0.6",
|
|
@@ -53,7 +42,9 @@
|
|
|
53
42
|
"prettier-plugin-tailwindcss": "^0.5.11",
|
|
54
43
|
"react": "^18.2.0",
|
|
55
44
|
"tsup": "^8.0.2",
|
|
56
|
-
"typescript": "^5.3.3"
|
|
45
|
+
"typescript": "^5.3.3",
|
|
46
|
+
"@repo/eslint-config": "0.0.0",
|
|
47
|
+
"@repo/typescript-config": "0.0.0"
|
|
57
48
|
},
|
|
58
49
|
"dependencies": {
|
|
59
50
|
"@heroicons/react": "^2.1.1",
|
|
@@ -108,5 +99,17 @@
|
|
|
108
99
|
"swiper": "^8.4.4",
|
|
109
100
|
"tailwind-merge": "^2.2.1",
|
|
110
101
|
"tailwindcss": "*"
|
|
102
|
+
},
|
|
103
|
+
"scripts": {
|
|
104
|
+
"build:cjs": "tsup --format cjs --external react",
|
|
105
|
+
"build:esm": "tsup --format esm --external react",
|
|
106
|
+
"build": "concurrently \"npm run build:cjs\" \"npm run build:esm\"",
|
|
107
|
+
"build:watch:esm": "npm run build:esm -- --watch",
|
|
108
|
+
"build:watch:cjs": "npm run build:cjs -- --watch",
|
|
109
|
+
"build:watch": "concurrently \"npm:build:watch:*\"",
|
|
110
|
+
"dev": "npm run build:watch",
|
|
111
|
+
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist",
|
|
112
|
+
"lint": "eslint 'src/**/*.{js,jsx,ts,tsx}'",
|
|
113
|
+
"lint:fix": "eslint 'src/**/*.{js,jsx,ts,tsx}' --fix"
|
|
111
114
|
}
|
|
112
|
-
}
|
|
115
|
+
}
|