Skip to content

Commit

Permalink
Add types and files config to package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
kmturley committed May 24, 2024
1 parent f3246ea commit a979111
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@
"type": "module",
"main": "./build/main.js",
"exports": "./build/main.js",
"types": "./build/main.d.ts",
"files": [
"build"
],
"scripts": {
"copy": "cp -r ./src/plugins ./build/src",
"start": "node build/src/main.js",
"start": "node ./build/main.js",
"clean": "rimraf coverage build tmp",
"prebuild": "npm run lint",
"build": "tsc -p tsconfig.json && npm run copy",
Expand Down

0 comments on commit a979111

Please sign in to comment.