File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " css-time-sort" ,
33 "description" : " Sort an array of CSS <time> values" ,
4- "version" : " 2 .0.2 " ,
4+ "version" : " 3 .0.0-alpha.0 " ,
55 "type" : " module" ,
66 "homepage" : " https://github.com/projectwallace/css-time-sort" ,
77 "repository" : {
3030 "check" : " tsc --noEmit" ,
3131 "build" : " vite build"
3232 },
33+ "engines" : {
34+ "node" : " >=18.0.0"
35+ },
36+ "main" : " ./dist/css-time-sort.js" ,
37+ "types" : " ./dist/index.d.ts" ,
3338 "exports" : {
3439 "types" : " ./dist/index.d.ts" ,
35- "require" : " ./dist/css-time-sort.umd.cjs" ,
3640 "default" : " ./dist/css-time-sort.js"
3741 },
38- "source" : " index.js" ,
39- "types" : " ./dist/index.d.ts" ,
40- "main" : " ./dist/css-time-sort.umd.cjs" ,
41- "module" : " ./dist/css-time-sort.js" ,
42- "unpkg" : " ./dist/css-time-sort.umd.cjs" ,
4342 "devDependencies" : {
4443 "@codecov/vite-plugin" : " ^1.9.0" ,
4544 "c8" : " ^10.1.3" ,
Original file line number Diff line number Diff line change @@ -7,8 +7,7 @@ export default defineConfig({
77 build : {
88 lib : {
99 entry : resolve ( __dirname , "index.js" ) ,
10- name : "cssTimeSort" ,
11- fileName : "css-time-sort" ,
10+ formats : [ 'es' ]
1211 } ,
1312 rollupOptions : {
1413 // make sure to externalize deps that shouldn't be bundled
You can’t perform that action at this time.
0 commit comments