@lotte-innovate/ui-component-test 0.2.0 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,13 +1,15 @@
1
1
  {
2
2
  "name": "@lotte-innovate/ui-component-test",
3
3
  "description": "Lotte UI Library",
4
- "version": "0.2.0",
4
+ "version": "0.2.2",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "files": [
8
8
  "dist/lib",
9
9
  "dist/tailwind.config.d.ts",
10
- "dist/tailwind.config.js"
10
+ "dist/tailwind.config.js",
11
+ "dist/globals.css",
12
+ "dist/styles.css"
11
13
  ],
12
14
  "main": "dist/lib/index.js",
13
15
  "module": "dist/lib/index.js",
@@ -36,15 +38,22 @@
36
38
  },
37
39
  "scripts": {
38
40
  "dev": "next dev",
39
- "build": "next build && tsc",
41
+ "lint": "next lint",
40
42
  "prepare": "next build",
41
43
  "start": "next start",
42
- "lint": "next lint",
43
44
  "storybook": "cross-env NODE_OPTIONS='--max-old-space-size=8192' storybook dev -p 6006",
45
+ "chromatic": "cross-env npx chromatic --project-token=$CHROMATIC_PROJECT_TOKEN",
46
+ "compile": "tsc --jsx react-jsx",
47
+ "build": "next build && npm run compile",
48
+ "build:css": "npx tailwindcss -i src/app/globals.css -o dist/globals.css && npx tailwindcss -i src/app/styles.css -o dist/styles.css",
44
49
  "build-storybook": "storybook build",
45
- "move-files": "mv dist/src/lib dist/lib && rm -rf dist/src",
46
- "publish:npm": "rimraf dist && mkdir dist && tsc && npm run move-files && tsc-alias && node update-tailwind-import.js",
47
- "chromatic": "cross-env npx chromatic --project-token=$CHROMATIC_PROJECT_TOKEN"
50
+ "move:unix": "mv dist/src/lib dist/lib",
51
+ "move:win": "move dist/src/lib dist/lib",
52
+ "move": "cross-env-shell 'if [ \"$OS\" = \"Windows_NT\" ]; then npm run move:win; else npm run move:unix; fi' && rimraf dist/src",
53
+ "clean": "rimraf dist && mkdir dist",
54
+ "update-tailwind": "node update-tailwind-import.js",
55
+ "build:all": "npm run clean && npm run compile && npm run move && npm run build:css && tsc-alias && npm run update-tailwind",
56
+ "publish:npm": "npm run build:all && npm publish"
48
57
  },
49
58
  "dependencies": {
50
59
  "@babel/runtime": "^7.24.7",