Skip to content

make the scripts in the package.json file compatible with windows #26

@lazarusA

Description

@lazarusA

currently, some steps on the scripts block fail on windows. We should fix that, so that this is compatible across all systems.

  • MacOS, works! ✅️
  • Linux, works! ✅️
  • Windows, fails! ❌

Solution should include proper CI checks for all systems.

See steps:

"scripts": {
    "build": "npm run build:wasm && npm run build:js",
    "build:wasm": "bash scripts/build-wasm.sh",
    "build:js": "tsc",
    "clean": "rm -rf dist build coverage",
    "test": "NODE_OPTIONS='--experimental-vm-modules --no-warnings=ExperimentalWarning' jest",
    "test:watch": "NODE_OPTIONS='--experimental-vm-modules --no-warnings=ExperimentalWarning' jest --watch",
    "test:coverage": "NODE_OPTIONS='--experimental-vm-modules --no-warnings=ExperimentalWarning' jest --coverage",
    "lint": "echo 'Linting not configured yet'",
    "typecheck": "tsc --noEmit",
    "prepublishOnly": "npm run clean && npm run install-emscripten && npm run build && npm run test",
    "install-emscripten": "bash scripts/install-emscripten.sh",
    "check-deps": "bash scripts/check-dependencies.sh"
  },

Metadata

Metadata

Labels

bugSomething isn't workinggood first issueGood for newcomers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions