Skip to content

Commit abf3a70

Browse files
(chore): LIT-2504 - Remove stub hackery - Ref: unjs/unbuild#371
1 parent cdbb3bd commit abf3a70

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

packages/lit-task-auto-top-up/package.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,12 @@
2323
"dist"
2424
],
2525
"scripts": {
26-
"stub-fix": "if [[ \"$OSTYPE\" == \"darwin\"* ]]; then pnpm run stub-fix:darwin; else pnpm run stub-fix:linux; fi",
27-
"stub-fix:darwin": "find ./dist -type f -name \"*.ts\" -exec sed -i '' 's/\";$/.js\"/g' {} \\;",
28-
"stub-fix:linux": "find ./dist -type f -name \"*.ts\" -exec sed -i 's/\";$/.js\"/g' {} \\;",
2926
"build": "pnpm unbuild",
3027
"lint": "pnpm eslint .",
3128
"clean": "pnpm exec rm -Rf node_modules dist",
32-
"stuborig": "pnpm unbuild --stub",
33-
"stub": "pnpm unbuild --stub && pnpm run stub-fix",
29+
"stub": "pnpm unbuild --stub",
3430
"test": "pnpm mocha",
35-
"dev": "pnpm stub && echo 'Stubbed the package for local use! Carry on.'"
31+
"dev": "pnpm -r build && echo 'Built the package for local use! Carry on.'"
3632
},
3733
"dependencies": {
3834
"@hokify/agenda": "^6.3.0",

0 commit comments

Comments
 (0)