Skip to content

Commit

Permalink
Update version, enable electron build
Browse files Browse the repository at this point in the history
  • Loading branch information
zemlyansky committed Jun 28, 2023
1 parent 06b25de commit bd083ae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "@statsim/app",
"version": "0.13.1",
"version": "0.13.2",
"description": "Statistical simulations and bayesian inference in the browser",
"main": "main.js",
"main": "electron.js",
"repository": {
"type": "git",
"url": "git+https://github.com/statsim/app"
Expand All @@ -11,12 +11,12 @@
"scripts": {
"_build": "npm run build-web && npm run build-bin",
"_build-web": "browserify src/main.js -t [ vueify ] -t [ babelify ] -g [ envify --NODE_ENV production ] | uglifyjs -cm > dist/bundle.js",
"_build-bin": "rm -r bin && mkdir bin && electron-packager . --ignore=\"(node_modules|src)\" --platform linux,win32 --out bin && cd ./bin && for i in */; do zip -r \"${i%/}.zip\" \"$i\"; done",
"_build-dev": "browserify src/main.js -t [ vueify ] -o dist/bundle.js --debug",
"_watch": "nodemon --watch src --ext vue,js,css,html --exec 'npm run build-dev'",
"_electron": "electron .",
"build-bin": "rm -r bin || true && mkdir bin && electron-packager . statsim --ignore=\"(node_modules|src)\" --platform linux --out bin && cd ./bin && for i in */; do zip -r \"${i%/}.zip\" \"$i\"; done",
"build-dev": "webpack --mode=development --progress --stats-children --env DEVELOPMENT",
"build": "webpack --mode=production --progress && npm test && npm run test-examples",
"electron": "electron .",
"watch": "nodemon --watch . --ignore dist --ext vue,js,css,html,json --exec 'npm run build-dev && npm test'",
"test": "jest test-main.test.js --detectOpenHandles",
"test-examples": "jest test-examples.test.js --detectOpenHandles",
Expand Down

0 comments on commit bd083ae

Please sign in to comment.