Skip to content

Commit

Permalink
cross-env
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Jul 29, 2024
1 parent 7571bdb commit 4873f0e
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 14 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"clean": "rm -rf ./dist",
"typecheck": "tsc --noEmit && tsc -p test/tsconfig.json --noEmit",
"prepublishOnly": "pnpm clean && pnpm build && chmod +x ./dist/bin/cli.js && pnpm test:ci",
"tsx": "SWC_NODE_IGNORE_DYNAMIC=1 node -r @swc-node/register",
"ts-bunchee": "pnpm tsx ./src/bin/index.ts",
"cli": "cross-env SWC_NODE_IGNORE_DYNAMIC=1 node -r @swc-node/register",
"ts-bunchee": "pnpm cli ./src/bin/index.ts",
"build-dir": "pnpm ts-bunchee --cwd",
"build": "SWC_NODE_IGNORE_DYNAMIC=1 node -r @swc-node/register ./src/bin/index.ts --runtime node",
"build": "pnpm cli ./src/bin/index.ts --runtime node",
"format": "prettier --write .",
"prepare": "husky"
},
Expand Down Expand Up @@ -90,6 +90,7 @@
"@types/jest": "29.0.0",
"@types/node": "^20.4.1",
"bunchee": "link:./",
"cross-env": "^7.0.3",
"husky": "^9.0.11",
"jest": "29.0.1",
"lint-staged": "^15.2.2",
Expand Down
41 changes: 30 additions & 11 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4873f0e

Please sign in to comment.