@scalar/components 0.0.1 → 0.0.3

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/package.json CHANGED
@@ -1,16 +1,17 @@
1
1
  {
2
2
  "name": "@scalar/components",
3
3
  "description": "Scalars component library",
4
- "version": "0.0.1",
5
- "private": false,
6
4
  "license": "MIT",
5
+ "author": "Scalar (https://github.com/scalar)",
6
+ "homepage": "https://github.com/scalar/scalar",
7
+ "bugs": "https://github.com/scalar/scalar/issues/new/choose",
8
+ "version": "0.0.3",
9
+ "engines": {
10
+ "node": ">=20"
11
+ },
7
12
  "type": "module",
8
- "files": [
9
- "dist",
10
- "src/tailwind"
11
- ],
12
13
  "main": "./dist/index.umd.cjs",
13
- "module": "./dist/index.js",
14
+ "types": "./dist/index.d.ts",
14
15
  "exports": {
15
16
  ".": {
16
17
  "import": "./dist/index.js",
@@ -19,25 +20,23 @@
19
20
  "./style.css": {
20
21
  "import": "./dist/style.css",
21
22
  "require": "./dist/style.css"
22
- },
23
- "./tailwind": {
24
- "import": "./src/tailwind/index.ts",
25
- "require": "./src/tailwind/index.ts"
26
23
  }
27
24
  },
28
- "types": "./dist/index.d.ts",
25
+ "files": [
26
+ "dist"
27
+ ],
28
+ "module": "./dist/index.js",
29
29
  "dependencies": {
30
- "@headlessui/vue": "1.7.16",
31
- "@vueuse/core": "10.4.1",
32
- "@xmldom/xmldom": "0.8.4",
30
+ "@headlessui/vue": "^1.7.16",
31
+ "@vueuse/core": "^10.4.1",
32
+ "@xmldom/xmldom": "^0.8.4",
33
33
  "cva": "1.0.0-beta.1",
34
- "nanoid": "5.0.1",
34
+ "nanoid": "^5.0.1",
35
35
  "tailwind-merge": "^2.0.0",
36
- "vue": "^3.3.4"
36
+ "vue": "^3.3.0"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@etchteam/storybook-addon-css-variables-theme": "^1.5.1",
40
- "@rushstack/eslint-patch": "^1.3.3",
41
40
  "@storybook/addon-essentials": "^7.5.2",
42
41
  "@storybook/addon-interactions": "^7.5.2",
43
42
  "@storybook/addon-links": "^7.5.2",
@@ -47,46 +46,41 @@
47
46
  "@storybook/vue3-vite": "^7.5.2",
48
47
  "@tsconfig/node18": "^18.2.2",
49
48
  "@types/jsdom": "^21.1.3",
50
- "@types/node": "^18.18.5",
49
+ "@types/node": "^20.6.3",
51
50
  "@vitejs/plugin-vue": "^4.4.0",
52
- "@vue/eslint-config-prettier": "^8.0.0",
53
- "@vue/eslint-config-typescript": "^12.0.0",
54
51
  "@vue/test-utils": "^2.4.1",
55
52
  "@vue/tsconfig": "^0.4.0",
56
- "autoprefixer": "10.4.16",
57
- "eslint": "^8.49.0",
58
- "eslint-plugin-storybook": "^0.6.15",
59
- "eslint-plugin-vue": "^9.17.0",
53
+ "autoprefixer": "^10.4.16",
60
54
  "jsdom": "^22.1.0",
61
55
  "npm-run-all2": "^6.1.1",
62
56
  "plugins": "^0.4.2",
63
- "postcss": "8.4.31",
64
- "prettier": "^3.0.3",
65
- "prettier-plugin-tailwindcss": "^0.5.6",
57
+ "postcss": "^8.4.31",
66
58
  "react": "^18.2.0",
67
59
  "react-dom": "^18.2.0",
68
60
  "storybook": "^7.5.2",
69
61
  "storybook-dark-mode": "^3.0.1",
70
- "tailwindcss": "3.3.3",
62
+ "tailwindcss": "^3.3.3",
71
63
  "ts-node": "^10.9.1",
72
- "typescript": "~5.2.0",
64
+ "typescript": "^5.2.2",
73
65
  "vite": "^4.4.11",
74
66
  "vite-plugin-dts": "^3.6.3",
75
67
  "vite-plugin-scope-tailwind": "^1.1.6",
76
68
  "vitest": "^0.34.4",
77
69
  "vue-tsc": "^1.8.19",
78
- "@scalar/themes": "^0.4.0"
70
+ "@scalar/themes": "^0.4.2"
79
71
  },
80
72
  "scripts": {
81
- "dev": "storybook dev -p 6006",
82
73
  "build": "run-p types:check \"build-only {@}\" --",
83
- "test": "vitest",
84
74
  "build-only": "vite build",
85
- "types:check": "vue-tsc --noEmit --composite false",
86
- "typegen:icons": "ts-node ./src/scripts/typegen.ts",
87
- "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
88
- "format": "prettier --write src/",
75
+ "build:storybook": "storybook build",
76
+ "dev": "storybook dev -p 6006",
77
+ "format": "pnpm prettier --write .",
78
+ "format:check": "pnpm prettier --check .",
79
+ "lint:check": "eslint .",
80
+ "lint:fix": "eslint . --fix",
89
81
  "storybook": "storybook dev -p 6006",
90
- "build-storybook": "storybook build"
82
+ "test": "vitest",
83
+ "typegen:icons": "ts-node ./src/scripts/typegen.ts",
84
+ "types:check": "vue-tsc --noEmit --composite false"
91
85
  }
92
86
  }