Skip to content

Commit

Permalink
Add custom type definition (#19)
Browse files Browse the repository at this point in the history
* Add custom type definition file based on the @types/dropzome DefinitelyTyped definition and no longer generate types from JavaScript

* Use cp to copy type definition
  • Loading branch information
doberkofler authored Oct 28, 2024
1 parent 41a75e5 commit fe5cfe3
Show file tree
Hide file tree
Showing 4 changed files with 377 additions and 34 deletions.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
],
"scripts": {
"watch": "parcel watch",
"build": "parcel build && yarn run css && tsc",
"build": "parcel build && yarn run css && cp types/dropzone.d.ts dist",
"css": "yarn sass src/:dist/ --style compressed",
"watch-css": "yarn sass src/:dist/ --watch --style compressed",
"test": "karma start test/karma.conf.js",
Expand Down Expand Up @@ -77,8 +77,7 @@
"parcel": "^2.12.0",
"sass": "^1.79.3",
"sinon": "^18.0.1",
"sinon-chai": "^3.7.0",
"typescript": "^5.4.5"
"sinon-chai": "^3.7.0"
},
"packageManager": "[email protected]"
}
10 changes: 0 additions & 10 deletions tsconfig.json

This file was deleted.

Loading

0 comments on commit fe5cfe3

Please sign in to comment.