Skip to content
This repository has been archived by the owner on Mar 26, 2022. It is now read-only.

build for unix or windows without problems #107

Merged
merged 2 commits into from
Nov 8, 2020
Merged
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
8 changes: 6 additions & 2 deletions Calla/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,17 @@
"version": "0.11.0",
"homepage": "https://calla.chat",
"scripts": {
"build": "copy README.md .. && rollup -c --environment BUILD:production",
"build": "run-script-os",
"build:darwin:linux": "cp README.md .. && rollup -c --environment BUILD:production",
"build:win32": "copy README.md .. && rollup -c --environment BUILD:production",
"build:patch": "npm version patch && node writeversion.js && npm run build",
"build:minor": "npm version minor && node writeversion.js && npm run build",
"build:major": "npm version major && node writeversion.js && npm run build",
"watch": "rollup -c -w --environment BUILD:development"
},
"dependencies": {},
"dependencies": {
"run-script-os": "^1.1.3"
},
Comment on lines +14 to +16
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be a devDependency, not a dependency. No worries, I'll just switch it over.

"devDependencies": {
"@rollup/plugin-node-resolve": "^9.0.0",
"rollup": "^2.27.0",
Expand Down