File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @pheralb/toast" ,
3
- "version" : " 0.2.3 " ,
3
+ "version" : " 0.3.0 " ,
4
4
"author" : " @pheralb_" ,
5
5
"keywords" : [
6
6
" react" ,
20
20
"require" : " ./dist/main.cjs" ,
21
21
"import" : " ./dist/main.js" ,
22
22
"types" : " ./dist/main.d.ts"
23
- }
23
+ },
24
+ "./dist/styles.css" : " ./dist/styles.css"
24
25
},
25
26
"files" : [
26
27
" dist"
27
28
],
28
29
"scripts" : {
29
30
"build" : " tsc && tsup" ,
31
+ "build:library" : " tsc && tsup" ,
32
+ "build:styles" : " lightningcss --minify --bundle ./src/styles/globals.css -o ./dist/styles.css" ,
30
33
"dev" : " tsup --watch" ,
31
34
"test" : " vitest run --config ./vitest.config.ts" ,
32
35
"test:watch" : " vitest --watch" ,
47
50
"eslint-plugin-react-hooks" : " 4.6.2" ,
48
51
"eslint-plugin-react-refresh" : " 0.4.7" ,
49
52
"jsdom" : " 24.1.0" ,
53
+ "lightningcss-cli" : " 1.28.2" ,
50
54
"react" : " 18.3.1" ,
51
55
"react-dom" : " 18.3.1" ,
52
56
"tsup" : " 8.1.0" ,
You can’t perform that action at this time.
0 commit comments