Skip to content

Commit

Permalink
(chore): LIT-2504 - Remove stub hackery - Ref: unjs/unbuild#371
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximusHaximus committed Mar 27, 2024
1 parent cdbb3bd commit abf3a70
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions packages/lit-task-auto-top-up/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,12 @@
"dist"
],
"scripts": {
"stub-fix": "if [[ \"$OSTYPE\" == \"darwin\"* ]]; then pnpm run stub-fix:darwin; else pnpm run stub-fix:linux; fi",
"stub-fix:darwin": "find ./dist -type f -name \"*.ts\" -exec sed -i '' 's/\";$/.js\"/g' {} \\;",
"stub-fix:linux": "find ./dist -type f -name \"*.ts\" -exec sed -i 's/\";$/.js\"/g' {} \\;",
"build": "pnpm unbuild",
"lint": "pnpm eslint .",
"clean": "pnpm exec rm -Rf node_modules dist",
"stuborig": "pnpm unbuild --stub",
"stub": "pnpm unbuild --stub && pnpm run stub-fix",
"stub": "pnpm unbuild --stub",
"test": "pnpm mocha",
"dev": "pnpm stub && echo 'Stubbed the package for local use! Carry on.'"
"dev": "pnpm -r build && echo 'Built the package for local use! Carry on.'"
},
"dependencies": {
"@hokify/agenda": "^6.3.0",
Expand Down

0 comments on commit abf3a70

Please sign in to comment.