Skip to content

Instantly share code, notes, and snippets.

@nurpax
Created December 24, 2018 23:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nurpax/2d7e3195cfcc570ea23861a1344b5ccf to your computer and use it in GitHub Desktop.
Save nurpax/2d7e3195cfcc570ea23861a1344b5ccf to your computer and use it in GitHub Desktop.
run .ts file in petmate (pets target)
"scripts": {
"dev": "yarn react-scripts start",
"build": "react-scripts build",
"start": "concurrently \"cross-env BROWSER=none yarn react-scripts start\" \"wait-on http://localhost:3000 && electron .\"",
"debug": "concurrently \"cross-env BROWSER=none yarn react-scripts start\" \"wait-on http://localhost:3000 && electron --remote-debugging-port=9223 .\"",
"package": "electron-builder --dir",
"dist": "npx build --x64 --macos --win --linux --c.extraMetadata.main=build/electron.js -p never",
"pets": "ts-node -O '{\"module\": \"commonjs\"}' ./src/utils/importers/png2petscii"
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment