Skip to content

Commit

Permalink
fix: remove multiple index.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroki0525 committed Jan 2, 2023
1 parent 7c0a016 commit bf9178b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"postdeploy:examples": "npm run uninstall-local-pkg",
"prebuild": "rm -rf dist",
"build": "rollup -c",
"postbuild": "tsc --emitDeclarationOnly",
"postbuild": "cp dist/es/index.d.ts dist/index.d.ts && cp dist/es/index.d.ts.map dist/index.d.ts.map && find dist | grep -E '^dist/.+/index\\.d\\.ts(\\.map)?$' | xargs rm -rf",
"test": "jest --runInBand",
"posttest": "npm run uninstall-local-pkg",
"lint": "eslint src/",
Expand Down

0 comments on commit bf9178b

Please sign in to comment.