You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: directory/css-vars-docs.json
+21-15Lines changed: 21 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "css-vars-docs",
3
-
"version": "1.1.1",
3
+
"version": "1.2.1",
4
4
"description": "Generates a comment block with all CSS variables from the specified file to improve readability and provide documentation. The block is added at the beginning of the file, or in the first <style> block for non-CSS files, if available.",
5
5
"main": "dist/cli.cjs",
6
6
"bin": {
@@ -10,14 +10,20 @@
10
10
},
11
11
"exports": {
12
12
".": "./dist/cli.cjs",
13
-
"./postcss-plugin": "./dist/postcss.cjs",
13
+
"./postcss-plugin": "./dist/postcss-plugin.cjs",
14
+
"./vite-plugin": {
15
+
"require": "./dist/vite-plugin.cjs",
16
+
"default": "./dist/vite-plugin.cjs",
17
+
"types": "./dist/vite-plugin.d.ts"
18
+
},
19
+
"./css-vars-docs": "./dist/css-vars-docs.cjs",
14
20
"./cli": "./dist/cli.cjs"
15
21
},
16
22
"scripts": {
17
23
"dev": "chokidar 'lib/*' -c 'npm run build'",
18
-
"build": "npm run build:clear && npm run build:uglify",
24
+
"build": "npm run build:clear && npm run build:uglify && copyfiles -u 1 lib/*.d.ts dist/",
0 commit comments