Skip to content

Commit

Permalink
add cross-replace for cross plattform variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Dexus committed Dec 27, 2024
1 parent 05c9139 commit f9e3d8c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
14 changes: 14 additions & 0 deletions package-lock.json

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

9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"main": "main.js",
"types": "index.d.ts",
"license": "MIT",
"funding":[
"funding": [
{
"type": "patreon",
"url": "https://patreon.com/deepnest_next?utm_medium=clipboard_copy&utm_source=copyLink&utm_campaign=creatorshare_fan&utm_content=join_link"
Expand All @@ -18,7 +18,7 @@
"build": "electron-rebuild",
"clean": "rmdir /s /q build dist >nul 2>&1|echo . >nul",
"clean-all": "rmdir /s /q build dist node_modules bin >nul 2>&1|echo . >nul",
"dist": "npx @electron/packager . deepnest-v$npm_package_version --overwrite",
"dist": "cross-replace npx @electron/packager . deepnest-v${npm_package_version} --overwrite",
"dist-all": "npm run clean-all && npm install && npm run build && npm run dist"
},
"repository": "https://github.com/deepnest-next/deepnest",
Expand All @@ -33,12 +33,13 @@
"@electron/rebuild": "^3.2.9",
"@playwright/test": "^1.49.1",
"@types/node": "^22.10.1",
"cross-replace": "^0.2.0",
"electron": "32.2.7"
},
"dependencies": {
"@electron/remote": "^2.1.2",
"@deepnest/calculate-nfp": "*",
"@deepnest/svg-preprocessor": "*",
"@electron/remote": "^2.1.2",
"axios": "^1.7.9",
"form-data": "^4.0.1",
"graceful-fs": "^4.2.11"
Expand Down Expand Up @@ -75,4 +76,4 @@
"email": "jak000@gmail.com"
}
]
}
}

0 comments on commit f9e3d8c

Please sign in to comment.