Skip to content

Commit

Permalink
Allow building the package on Windows. (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
InsertCreativityHere authored Feb 20, 2024
1 parent 959ceb8 commit 55df9ee
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
11 changes: 11 additions & 0 deletions package-lock.json

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

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@
"esbuild-watch": "npm run esbuild-base -- --sourcemap --watch",
"esbuild": "npm run esbuild-base -- --sourcemap",
"lint": "eslint ./client/src --ext .ts,.tsx",
"make-readonly": "echo \"Making /slice readonly for distribution\" && chmod -R a-w ./slice",
"make-readonly": "echo \"Making /slice readonly for distribution\" && run-script-os",
"make-readonly:nix": "chmod -R a-w ./slice",
"make-readonly:win32": "attrib +r /s /d /l .\\slice\\*",
"postinstall": "cd client && npm install",
"test-compile": "tsc -p ./",
"vscode:prepublish": "npm run make-readonly && npm run esbuild-base -- --minify",
Expand All @@ -127,6 +129,7 @@
"esbuild": "^0.19.11",
"eslint": "^8.56.0",
"mocha": "^10.2.0",
"run-script-os": "^1.1.6",
"typescript": "^5.3.3"
}
}

0 comments on commit 55df9ee

Please sign in to comment.