@mainframework/dropzone 1.0.17 → 1.0.18

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,10 +1,16 @@
1
1
  {
2
2
  "name": "@mainframework/dropzone",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "description": "A file selection package, without all of the re-rendering issues that come with other dropzone packages",
5
- "main": "./dist/cjs/index.js",
6
- "module": "./dist/esm/index.js",
7
- "types": "./dist/esm/index.d.ts",
5
+ "type": "module",
6
+ "module": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "import": "./dist/index.js",
11
+ "types": "./dist/index.d.ts"
12
+ }
13
+ },
8
14
  "repository": {
9
15
  "type": "git",
10
16
  "url": "git+https://github.com/TerrySlack/mainframework-dropzone.git"
@@ -21,10 +27,8 @@
21
27
  "lint": "eslint --ext 'ts,tsx' --max-warnings=0 --fix",
22
28
  "lint-staged": "lint-staged",
23
29
  "prebuild": "yarn husky && yarn clean",
24
- "copy:css": "copyfiles -a -u 4 src/shared/components/FileSelector/tailwind.css dist/esm/shared/components/FileSelector/",
25
- "build": "cross-env yarn prebuild && yarn build:css:prod && yarn build:esm && yarn copy:css",
26
- "build:esm": "tsc",
27
- "build:cjs": "tsc --module commonjs --outDir dist/cjs",
30
+ "copy:css": "copyfiles -a -u 4 src/shared/components/FileSelector/tailwind.css dist/shared/components/FileSelector/",
31
+ "build": "cross-env yarn prebuild && yarn build:css:prod && tsc && yarn copy:css",
28
32
  "test": "jest --config jestconfig.json"
29
33
  },
30
34
  "peerDependencies": {