Skip to content

Commit 169a675

Browse files
committed
chore: avoid publishing source files and sourcemaps
1 parent 96e04c3 commit 169a675

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
"repository": "https://github.com/aleclarson/nebu.git",
88
"prettier": "@alloc/prettier-config",
99
"scripts": {
10-
"build": "node scripts/extractTypeGuards && tsc -p .",
10+
"dev": "tsc -p . --watch --sourceMap --declarationMap",
11+
"build": "rimraf dist && node scripts/extractTypeGuards && tsc -p .",
1112
"prepare": "yarn build"
1213
},
1314
"files": [
1415
"dist",
15-
"utils",
16-
"src"
16+
"utils"
1717
],
1818
"dependencies": {
1919
"@alloc/is": "^3.0.0",
@@ -23,6 +23,7 @@
2323
"meriyah": "^4.1.5"
2424
},
2525
"devDependencies": {
26+
"@alloc/fast-rimraf": "^1.0.8",
2627
"@alloc/prettier-config": "^1.0.0",
2728
"@types/eslint-visitor-keys": "^1.0.0",
2829
"@types/jest": "^26.0.21",

pnpm-lock.yaml

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

tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
"noUnusedLocals": true,
1010
"outDir": "dist",
1111
"strict": true,
12-
"sourceMap": true,
1312
"target": "es2018"
1413
}
1514
}

0 commit comments

Comments
 (0)