Skip to content

Commit 900957a

Browse files
committed
fix: copy typings to build directory
1 parent a0dd6fd commit 900957a

File tree

2 files changed

+71
-6
lines changed

2 files changed

+71
-6
lines changed

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@
1616
"test.format": "prettier . --check",
1717
"lint": "eslint . --fix --ext .ts",
1818
"test.lint": "eslint . --ext .ts",
19-
"clean": "rimraf build",
20-
"compile": "tsc",
21-
"watch": "tsc -watch",
19+
"clean": "shx rm -rf build && mkdirp build",
20+
"copy.typings": "shx cp -r ./typings ./build",
21+
"compile": "npm run copy.typings && tsc",
22+
"watch": "npm run compile -- --watch",
2223
"prepare": "npm run clean && npm run compile",
2324
"test": "npm run compile && atom --test build/test"
2425
},
@@ -43,7 +44,7 @@
4344
"eslint": "^7.18.0",
4445
"mocha": "^8.2.1",
4546
"mocha-appveyor-reporter": "^0.4.2",
46-
"rimraf": "^3.0.2",
47+
"shx": "^0.3.3",
4748
"sinon": "^9.2.4",
4849
"typescript": "~4.1.3"
4950
}

pnpm-lock.yaml

Lines changed: 66 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)