@lotte-innovate/ui-component-test 0.0.53 → 0.0.54
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +13 -5
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@lotte-innovate/ui-component-test",
|
3
3
|
"description": "Lotte UI Library",
|
4
|
-
"version": "0.0.
|
4
|
+
"version": "0.0.54",
|
5
5
|
"private": false,
|
6
6
|
"type": "module",
|
7
7
|
"files": [
|
@@ -10,8 +10,14 @@
|
|
10
10
|
"dist/tailwind.config.js",
|
11
11
|
"dist/globals.css"
|
12
12
|
],
|
13
|
-
"main": "dist/
|
14
|
-
"module": "dist/
|
13
|
+
"main": "dist/cjs/index.js",
|
14
|
+
"module": "dist/esm/index.js",
|
15
|
+
"exports": {
|
16
|
+
".": {
|
17
|
+
"import": "./dist/esm/index.js",
|
18
|
+
"require": "./dist/cjs/index.js"
|
19
|
+
}
|
20
|
+
},
|
15
21
|
"types": "dist/lib/index.d.ts",
|
16
22
|
"publishConfig": {
|
17
23
|
"access": "public"
|
@@ -43,13 +49,15 @@
|
|
43
49
|
"storybook": "cross-env NODE_OPTIONS='--max-old-space-size=8192' storybook dev -p 6006",
|
44
50
|
"chromatic": "cross-env npx chromatic --project-token=$CHROMATIC_PROJECT_TOKEN",
|
45
51
|
"compile": "tsc --jsx react-jsx",
|
46
|
-
"build": "rollup && npm run compile",
|
47
52
|
"build:css": "npx tailwindcss -i src/app/globals.css -o dist/globals.css --minify",
|
48
53
|
"build-storybook": "storybook build",
|
49
54
|
"clean": "rimraf dist && mkdir dist",
|
50
55
|
"update-tailwind": "node update-tailwind-import.js",
|
51
56
|
"build:all": "npm run clean && npm run compile && node src/utils/move.js && npm run build:css && tsc-alias && npm run update-tailwind",
|
52
|
-
"publish:npm": "npm run build:all && npm publish && node src/utils/post-publish.js"
|
57
|
+
"publish:npm": "npm run build:all && npm publish && node src/utils/post-publish.js",
|
58
|
+
"build": "mkdir dist && rollup && npm run build:cjs & npm run build:esm",
|
59
|
+
"build:cjs": "tsc --p ./cjs/tsconfig.json --outDir ./dist/cjs",
|
60
|
+
"build:esm": "tsc --p ./esm/tsconfig.json --outDir ./dist/esm"
|
53
61
|
},
|
54
62
|
"dependencies": {
|
55
63
|
"@babel/runtime": "^7.24.7",
|