Skip to content

Commit

Permalink
fix: Fix build script for recursive copy 'types' dir (#454)
Browse files Browse the repository at this point in the history
  • Loading branch information
hwwi authored and taion committed Jul 12, 2019
1 parent 4cd997b commit b82bf7d
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 @@ -8,7 +8,7 @@
"main": "lib/index.js",
"types": "lib/index.d.ts",
"scripts": {
"build": "babel src -d lib --delete-dir-on-start && cpy types/*.d.ts lib",
"build": "babel src -d lib --delete-dir-on-start && cpy **/*.d.ts ../lib --cwd=types --parents",
"format": "eslint --fix . && npm run prettier -- --write",
"lint": "eslint . && npm run prettier -- -l",
"prepublish": "npm run build",
Expand Down

0 comments on commit b82bf7d

Please sign in to comment.