Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(script): add a dev script which should be used for linking #706

Merged
merged 1 commit into from
Jul 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"clean": "shx rm -rf dist",
"copy-dts": "copyfiles -u 1 \"src/**/*.d.ts\" dist/cjs && copyfiles -u 1 \"src/**/*.d.ts\" dist/esm",
"build": "yarn run build:all && yarn run copy-dts",
"dev": "tsc --project ./tsconfig.esm.json --watch",
"api-check": "api-extractor --debug run",
"build:update-api": "yarn run build && api-extractor run --local",
"prepublishOnly": "yarn run build",
Expand Down
6 changes: 4 additions & 2 deletions packages/streaming-image-volume-loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,22 @@
"module": "dist/esm/index.js",
"repository": "https://github.com/cornerstonejs/cornerstone3D",
"files": [
"dist/"
"dist/",
"src/"
],
"directories": {
"test": "test"
},
"sideEffects": false,
"scripts": {
"api-check": "api-extractor --debug run",
"build:cjs": "tsc --project ./tsconfig.cjs.json",
"build:esm": "tsc --project ./tsconfig.esm.json",
"build:umd": "cross-env NODE_ENV=production webpack --config .webpack/webpack.prod.js",
"build:all": "yarn run build:umd && yarn run build:cjs && yarn run build:esm",
"build": "yarn run build:all",
"api-check": "api-extractor --debug run",
"build:update-api": "yarn run build && api-extractor run --local",
"dev": "tsc --project ./tsconfig.esm.json --watch",
"prepublishOnly": "yarn run build",
"webpack:watch": "webpack --mode development --progress --watch --config ./.webpack/webpack.dev.js"
},
Expand Down
1 change: 1 addition & 0 deletions packages/tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"build": "yarn run build:all",
"api-check": "api-extractor --debug run",
"clean": "shx rm -rf dist",
"dev": "tsc --project ./tsconfig.esm.json --watch",
"build:update-api": "yarn run build && api-extractor run --local",
"prepublishOnly": "yarn run build",
"webpack:watch": "webpack --mode development --progress --watch --config ./.webpack/webpack.dev.js"
Expand Down