xeerpe 0.0.5 → 0.0.6

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.
@@ -1,5 +1,5 @@
1
- import { EffectOptions, EffectType, NoiseOptions, VignetteOptions, GrainOptions, BlurOptions, FilterType, FilterOptions, GlowOptions } from "../models";
2
- import { ConicGradientOptions, GradientOptions, GradientType, LinearGradientOptions, MeshGradientOptions, RadialGradientOptions } from "../models";
1
+ import { EffectOptions, EffectType, NoiseOptions, VignetteOptions, GrainOptions, BlurOptions, FilterType, FilterOptions, GlowOptions } from "../models/index.ts";
2
+ import { ConicGradientOptions, GradientOptions, GradientType, LinearGradientOptions, MeshGradientOptions, RadialGradientOptions } from "../models/index.ts";
3
3
  export declare class Builder {
4
4
  private _layers;
5
5
  gradient(type: GradientType, options: GradientOptions): this;
@@ -1 +1 @@
1
- {"version":3,"file":"builder.d.ts","sourceRoot":"","sources":["../../src/core/builder.ts"],"names":[],"mappings":"AAAA,OAAO,EAIH,aAAa,EACb,UAAU,EACV,YAAY,EACZ,eAAe,EACf,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,aAAa,EAAE,WAAW,EACpE,MAAM,WAAW,CAAC;AAEnB,OAAO,EACH,oBAAoB,EACpB,eAAe,EACf,YAAY,EACZ,qBAAqB,EACrB,mBAAmB,EACnB,qBAAqB,EACxB,MAAM,WAAW,CAAC;AAEnB,qBAAa,OAAO;IAChB,OAAO,CAAC,OAAO,CAAsB;IAErC,QAAQ,CAAC,IAAI,EAAE,YAAY,EAAE,OAAO,EAAE,eAAe,GAAG,IAAI;IAM5D,cAAc,CAAC,OAAO,EAAE,qBAAqB,GAAG,IAAI;IAIpD,cAAc,CAAC,OAAO,EAAE,qBAAqB,GAAG,IAAI;IAIpD,aAAa,CAAC,OAAO,EAAE,oBAAoB,GAAG,IAAI;IAIlD,YAAY,CAAC,OAAO,EAAE,mBAAmB,GAAG,IAAI;IAIhD,MAAM,CAAC,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,aAAa,GAAG,IAAI;IAMtD,MAAM,CAAC,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,aAAa,GAAG,IAAI;IAMtD,KAAK,CAAC,OAAO,EAAE,YAAY,GAAG,IAAI;IAIlC,QAAQ,CAAC,OAAO,EAAE,eAAe,GAAG,IAAI;IAIxC,KAAK,CAAC,OAAO,EAAE,YAAY,GAAG,IAAI;IAIlC,IAAI,CAAC,OAAO,EAAE,WAAW,GAAG,IAAI;IAIhC,IAAI,CAAC,OAAO,EAAE,WAAW,GAAG,IAAI;IAIhC,OAAO,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;IAwCjC,WAAW,IAAI,GAAG;CAWrB"}
1
+ {"version":3,"file":"builder.d.ts","sourceRoot":"","sources":["../../src/core/builder.ts"],"names":[],"mappings":"AAAA,OAAO,EAIH,aAAa,EACb,UAAU,EACV,YAAY,EACZ,eAAe,EACf,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,aAAa,EAAE,WAAW,EACpE,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EACH,oBAAoB,EACpB,eAAe,EACf,YAAY,EACZ,qBAAqB,EACrB,mBAAmB,EACnB,qBAAqB,EACxB,MAAM,oBAAoB,CAAC;AAE5B,qBAAa,OAAO;IAChB,OAAO,CAAC,OAAO,CAAsB;IAErC,QAAQ,CAAC,IAAI,EAAE,YAAY,EAAE,OAAO,EAAE,eAAe,GAAG,IAAI;IAM5D,cAAc,CAAC,OAAO,EAAE,qBAAqB,GAAG,IAAI;IAIpD,cAAc,CAAC,OAAO,EAAE,qBAAqB,GAAG,IAAI;IAIpD,aAAa,CAAC,OAAO,EAAE,oBAAoB,GAAG,IAAI;IAIlD,YAAY,CAAC,OAAO,EAAE,mBAAmB,GAAG,IAAI;IAIhD,MAAM,CAAC,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,aAAa,GAAG,IAAI;IAMtD,MAAM,CAAC,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,aAAa,GAAG,IAAI;IAMtD,KAAK,CAAC,OAAO,EAAE,YAAY,GAAG,IAAI;IAIlC,QAAQ,CAAC,OAAO,EAAE,eAAe,GAAG,IAAI;IAIxC,KAAK,CAAC,OAAO,EAAE,YAAY,GAAG,IAAI;IAIlC,IAAI,CAAC,OAAO,EAAE,WAAW,GAAG,IAAI;IAIhC,IAAI,CAAC,OAAO,EAAE,WAAW,GAAG,IAAI;IAIhC,OAAO,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;IAwCjC,WAAW,IAAI,GAAG;CAWrB"}
@@ -1,2 +1,2 @@
1
- export * from './builder';
1
+ export * from './builder.ts';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA"}
@@ -1,4 +1,4 @@
1
- import { BuilderLayer, EffectOptions, EffectType, GrainOptions, NoiseOptions, VignetteOptions, GlowOptions } from "../models";
1
+ import { BuilderLayer, EffectOptions, EffectType, GrainOptions, NoiseOptions, VignetteOptions, GlowOptions } from "../models/index.ts";
2
2
  export declare const generateNoiseEffect: (options: NoiseOptions) => string;
3
3
  export declare const generateVignetteEffect: (options: VignetteOptions) => string;
4
4
  export declare const generateGrainEffect: (options: GrainOptions) => string;
@@ -1 +1 @@
1
- {"version":3,"file":"effects.d.ts","sourceRoot":"","sources":["../../src/generators/effects.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,YAAY,EAEZ,aAAa,EACb,UAAU,EACV,YAAY,EACZ,YAAY,EACZ,eAAe,EACf,WAAW,EACd,MAAM,WAAW,CAAC;AAGnB,eAAO,MAAM,mBAAmB,GAAI,SAAS,YAAY,KAAG,MAqB3D,CAAA;AAED,eAAO,MAAM,sBAAsB,GAAI,SAAS,eAAe,KAAG,MAUjE,CAAA;AAED,eAAO,MAAM,mBAAmB,GAAI,SAAS,YAAY,KAAG,MAoB3D,CAAA;AAED,eAAO,MAAM,kBAAkB,GAAI,SAAS,WAAW,KAAG,MAKzD,CAAA;AAED,eAAO,MAAM,iBAAiB,GAAI,MAAM,UAAU,EAAE,SAAS,aAAa,KAAG,MAa5E,CAAA;AAED,eAAO,MAAM,gBAAgB,GACzB,MAAM,UAAU,EAChB,SAAS,aAAa,KACvB,YAiBF,CAAA"}
1
+ {"version":3,"file":"effects.d.ts","sourceRoot":"","sources":["../../src/generators/effects.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,YAAY,EAEZ,aAAa,EACb,UAAU,EACV,YAAY,EACZ,YAAY,EACZ,eAAe,EACf,WAAW,EACd,MAAM,oBAAoB,CAAC;AAG5B,eAAO,MAAM,mBAAmB,GAAI,SAAS,YAAY,KAAG,MAqB3D,CAAA;AAED,eAAO,MAAM,sBAAsB,GAAI,SAAS,eAAe,KAAG,MAUjE,CAAA;AAED,eAAO,MAAM,mBAAmB,GAAI,SAAS,YAAY,KAAG,MAoB3D,CAAA;AAED,eAAO,MAAM,kBAAkB,GAAI,SAAS,WAAW,KAAG,MAKzD,CAAA;AAED,eAAO,MAAM,iBAAiB,GAAI,MAAM,UAAU,EAAE,SAAS,aAAa,KAAG,MAa5E,CAAA;AAED,eAAO,MAAM,gBAAgB,GACzB,MAAM,UAAU,EAChB,SAAS,aAAa,KACvB,YAiBF,CAAA"}
@@ -1,4 +1,4 @@
1
- import { BlurOptions, BuilderLayer, FilterOptions, FilterType } from "../models";
1
+ import { BlurOptions, BuilderLayer, FilterOptions, FilterType } from "../models/index.ts";
2
2
  export declare const generateBlurEffect: (options: BlurOptions) => {
3
3
  properties: {
4
4
  backdropFilter: string;
@@ -1 +1 @@
1
- {"version":3,"file":"filters.d.ts","sourceRoot":"","sources":["../../src/generators/filters.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,WAAW,EACX,YAAY,EACZ,aAAa,EACb,UAAU,EACb,MAAM,WAAW,CAAC;AAEnB,eAAO,MAAM,kBAAkB,GAAI,SAAS,WAAW;;;;;;;;;;;;CAgBtD,CAAA;AAED,eAAO,MAAM,iBAAiB,GAAI,MAAM,UAAU,EAAE,SAAS,aAAa;;;;;;;;;;;;CAOzE,CAAA;AAED,eAAO,MAAM,gBAAgB,GACzB,MAAM,UAAU,EAChB,SAAS,aAAa,KACvB,YAIF,CAAA"}
1
+ {"version":3,"file":"filters.d.ts","sourceRoot":"","sources":["../../src/generators/filters.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,WAAW,EACX,YAAY,EACZ,aAAa,EACb,UAAU,EACb,MAAM,oBAAoB,CAAC;AAE5B,eAAO,MAAM,kBAAkB,GAAI,SAAS,WAAW;;;;;;;;;;;;CAgBtD,CAAA;AAED,eAAO,MAAM,iBAAiB,GAAI,MAAM,UAAU,EAAE,SAAS,aAAa;;;;;;;;;;;;CAOzE,CAAA;AAED,eAAO,MAAM,gBAAgB,GACzB,MAAM,UAAU,EAChB,SAAS,aAAa,KACvB,YAIF,CAAA"}
@@ -1,5 +1,5 @@
1
- import { BuilderLayer } from "../models";
2
- import { ConicGradientOptions, GradientOptions, GradientType, LinearGradientOptions, MeshGradientOptions, RadialGradientOptions } from "../models";
1
+ import { BuilderLayer } from "../models/index.ts";
2
+ import { ConicGradientOptions, GradientOptions, GradientType, LinearGradientOptions, MeshGradientOptions, RadialGradientOptions } from "../models/index.ts";
3
3
  export declare const linearGradientBuilder: (options: LinearGradientOptions) => string;
4
4
  export declare const radialGradientBuilder: (options: RadialGradientOptions) => string;
5
5
  export declare const conicGradientBuilder: (options: ConicGradientOptions) => string;
@@ -1 +1 @@
1
- {"version":3,"file":"gradients.d.ts","sourceRoot":"","sources":["../../src/generators/gradients.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAiB,MAAM,WAAW,CAAC;AACxD,OAAO,EACH,oBAAoB,EAEpB,eAAe,EACf,YAAY,EACZ,qBAAqB,EAAE,mBAAmB,EAC1C,qBAAqB,EACxB,MAAM,WAAW,CAAC;AAanB,eAAO,MAAM,qBAAqB,GAAI,SAAS,qBAAqB,KAAG,MActE,CAAA;AAED,eAAO,MAAM,qBAAqB,GAAI,SAAS,qBAAqB,KAAG,MAUtE,CAAA;AAED,eAAO,MAAM,oBAAoB,GAAI,SAAS,oBAAoB,KAAG,MAapE,CAAA;AAED,eAAO,MAAM,YAAY,GAAI,SAAS,mBAAmB,KAAG,MAQ3D,CAAA;AAED,eAAO,MAAM,mBAAmB,GAAI,MAAM,YAAY,EAAE,SAAS,eAAe,KAAG,MAQlF,CAAA;AAED,eAAO,MAAM,kBAAkB,GAAI,MAAM,YAAY,EAAE,SAAS,eAAe,KAAG,YAejF,CAAA"}
1
+ {"version":3,"file":"gradients.d.ts","sourceRoot":"","sources":["../../src/generators/gradients.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAiB,MAAM,oBAAoB,CAAC;AACjE,OAAO,EACH,oBAAoB,EAEpB,eAAe,EACf,YAAY,EACZ,qBAAqB,EAAE,mBAAmB,EAC1C,qBAAqB,EACxB,MAAM,oBAAoB,CAAC;AAa5B,eAAO,MAAM,qBAAqB,GAAI,SAAS,qBAAqB,KAAG,MActE,CAAA;AAED,eAAO,MAAM,qBAAqB,GAAI,SAAS,qBAAqB,KAAG,MAUtE,CAAA;AAED,eAAO,MAAM,oBAAoB,GAAI,SAAS,oBAAoB,KAAG,MAapE,CAAA;AAED,eAAO,MAAM,YAAY,GAAI,SAAS,mBAAmB,KAAG,MAQ3D,CAAA;AAED,eAAO,MAAM,mBAAmB,GAAI,MAAM,YAAY,EAAE,SAAS,eAAe,KAAG,MAQlF,CAAA;AAED,eAAO,MAAM,kBAAkB,GAAI,MAAM,YAAY,EAAE,SAAS,eAAe,KAAG,YAejF,CAAA"}
@@ -1,4 +1,4 @@
1
- export * from './gradients';
2
- export * from './effects';
3
- export * from './filters';
1
+ export * from './gradients.ts';
2
+ export * from './effects.ts';
3
+ export * from './filters.ts';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/generators/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/generators/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,cAAc,CAAA;AAC5B,cAAc,cAAc,CAAA"}
@@ -0,0 +1,4 @@
1
+ export * from './core/index.ts';
2
+ export * from './preset/index.ts';
3
+ export * from './models/index.ts';
4
+ //# sourceMappingURL=index.d.ts.map
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export * from './core';
2
- export * from './preset';
3
- export * from './models';
1
+ export * from './core/index.ts';
2
+ export * from './preset/index.ts';
3
+ export * from './models/index.ts';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA;AACtB,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA"}
@@ -1,6 +1,6 @@
1
- export * from './gradient';
2
- export * from './builder';
3
- export * from './effects';
4
- export * from './filters';
5
- export * from './utils';
1
+ export * from './gradient.ts';
2
+ export * from './builder.ts';
3
+ export * from './effects.ts';
4
+ export * from './filters.ts';
5
+ export * from './utils.ts';
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA;AAC7B,cAAc,cAAc,CAAA;AAC5B,cAAc,cAAc,CAAA;AAC5B,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA"}
@@ -1,2 +1,2 @@
1
- export * from './colors';
1
+ export * from './colors.ts';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/preset/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/preset/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA"}
@@ -1,4 +1,4 @@
1
- import { RgbColor } from "../models";
1
+ import { RgbColor } from "../models/index.ts";
2
2
  export declare const hexToRgb: (hex: string) => RgbColor;
3
3
  export declare const withAlpha: (color: string, alpha: number) => string;
4
4
  export declare const clamp: (value: number, min: number, max: number) => number;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,WAAW,CAAC;AAEnC,eAAO,MAAM,QAAQ,GAAI,KAAK,MAAM,KAAG,QAWtC,CAAA;AAED,eAAO,MAAM,SAAS,GAAI,OAAO,MAAM,EAAE,OAAO,MAAM,KAAG,MAYxD,CAAA;AAED,eAAO,MAAM,KAAK,GAAI,OAAO,MAAM,EAAE,KAAK,MAAM,EAAE,KAAK,MAAM,KAAG,MACzB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,oBAAoB,CAAC;AAE5C,eAAO,MAAM,QAAQ,GAAI,KAAK,MAAM,KAAG,QAWtC,CAAA;AAED,eAAO,MAAM,SAAS,GAAI,OAAO,MAAM,EAAE,OAAO,MAAM,KAAG,MAYxD,CAAA;AAED,eAAO,MAAM,KAAK,GAAI,OAAO,MAAM,EAAE,KAAK,MAAM,EAAE,KAAK,MAAM,KAAG,MACzB,CAAA"}
@@ -1,3 +1,3 @@
1
- import { LinearGradientAngle } from "../models";
1
+ import { LinearGradientAngle } from "../models/index.ts";
2
2
  export declare const isValidAngle: (value: string) => value is LinearGradientAngle;
3
3
  //# sourceMappingURL=angle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"angle.d.ts","sourceRoot":"","sources":["../../src/validations/angle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAC,MAAM,WAAW,CAAC;AAI9C,eAAO,MAAM,YAAY,GAAI,OAAO,MAAM,KAAG,KAAK,IAAI,mBACf,CAAA"}
1
+ {"version":3,"file":"angle.d.ts","sourceRoot":"","sources":["../../src/validations/angle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAC,MAAM,oBAAoB,CAAC;AAIvD,eAAO,MAAM,YAAY,GAAI,OAAO,MAAM,KAAG,KAAK,IAAI,mBACf,CAAA"}
@@ -1,3 +1,3 @@
1
- import { LinearGradientDirection } from "../models";
1
+ import { LinearGradientDirection } from "../models/index.ts";
2
2
  export declare const isValidDirection: (value: string) => value is LinearGradientDirection;
3
3
  //# sourceMappingURL=directions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"directions.d.ts","sourceRoot":"","sources":["../../src/validations/directions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,uBAAuB,EAAC,MAAM,WAAW,CAAC;AAOlD,eAAQ,MAAM,gBAAgB,GAAI,OAAO,MAAM,KAAG,KAAK,IAAI,uBACA,CAAA"}
1
+ {"version":3,"file":"directions.d.ts","sourceRoot":"","sources":["../../src/validations/directions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,uBAAuB,EAAC,MAAM,oBAAoB,CAAC;AAO3D,eAAQ,MAAM,gBAAgB,GAAI,OAAO,MAAM,KAAG,KAAK,IAAI,uBACA,CAAA"}
@@ -1,4 +1,4 @@
1
- export * from './angle';
2
- export * from './directions';
3
- export * from './position';
1
+ export * from './angle.ts';
2
+ export * from './directions.ts';
3
+ export * from './position.ts';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/validations/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/validations/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA"}
@@ -1,3 +1,3 @@
1
- import { LinearGradientPosition } from "../models";
1
+ import { LinearGradientPosition } from "../models/index.ts";
2
2
  export declare const isValidPosition: (value: string) => value is LinearGradientPosition;
3
3
  //# sourceMappingURL=position.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"position.d.ts","sourceRoot":"","sources":["../../src/validations/position.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,sBAAsB,EAAC,MAAM,WAAW,CAAC;AAKjD,eAAO,MAAM,eAAe,GAAI,OAAO,MAAM,KAAG,KAAK,IAAI,sBAIxD,CAAA"}
1
+ {"version":3,"file":"position.d.ts","sourceRoot":"","sources":["../../src/validations/position.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,sBAAsB,EAAC,MAAM,oBAAoB,CAAC;AAK1D,eAAO,MAAM,eAAe,GAAI,OAAO,MAAM,KAAG,KAAK,IAAI,sBAIxD,CAAA"}
package/package.json CHANGED
@@ -1,24 +1,24 @@
1
1
  {
2
2
  "name": "xeerpe",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "private": false,
5
- "main": "./src/index.ts",
6
- "types": "./src/index.ts",
5
+ "main": "./dist/index.cjs",
6
+ "types": "./dist/index.d.ts",
7
7
  "type": "module",
8
8
  "exports": {
9
9
  ".": {
10
- "development": "./src/index.ts",
11
- "import": "./dist/index.mjs",
12
- "require": "./dist/index.js",
13
- "types": "./dist/index.d.ts"
10
+ "import": {
11
+ "types": "./dist/index.d.ts",
12
+ "default": "./dist/index.mjs"
13
+ },
14
+ "require": {
15
+ "types": "./dist/index.d.cts",
16
+ "default": "./dist/index.cjs"
17
+ }
14
18
  }
15
19
  },
16
- "files": [
17
- "dist/*"
18
- ],
19
- "keywords": [
20
- "xeerpe"
21
- ],
20
+ "files": ["dist/*"],
21
+ "keywords": ["xeerpe"],
22
22
  "description": "xeerpe",
23
23
  "author": "Nicola Centonze",
24
24
  "license": "MIT",
@@ -27,7 +27,7 @@
27
27
  "url": "git@github.com:nicolacentonze/xeerpe.git"
28
28
  },
29
29
  "scripts": {
30
- "build": "rm -rf dist && rspack build && tsc --emitDeclarationOnly --outDir dist"
30
+ "build": "rm -rf dist && rspack build && tsc --emitDeclarationOnly --outDir dist && cp dist/index.d.ts dist/index.d.cts"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@rspack/cli": "latest",
File without changes