Browse Source

node: Make 'start' npm command work

We have to build and install dependencies first thanks to ExtJS
and electron-builder.

Relates to #55, and brought up as an issue by @ontherunvaro.
pull/3202/head
TheGoddessInari 7 years ago
parent
commit
2d8fbcf5d5
No known key found for this signature in database
GPG Key ID: 1209B1B7632D69A
  1. 4
      package.json

4
package.json

@ -1,8 +1,8 @@
{ {
"private": true, "private": true,
"scripts": { "scripts": {
"start": "electron electron/main.js", "start": "npm run compile && electron-builder install-app-deps && electron build/production/Rambox",
"start:debug": "electron electron/main.js --enable-logging", "start:debug": "npm run compile && electron build/production/Rambox --enable-logging",
"test": "./node_modules/.bin/mocha test/tests/**/*.spec.js", "test": "./node_modules/.bin/mocha test/tests/**/*.spec.js",
"clean": "rimraf ./build/production", "clean": "rimraf ./build/production",
"compile": "sencha app build && cpy app/package.json app/package-lock.json build/production/Rambox/", "compile": "sencha app build && cpy app/package.json app/package-lock.json build/production/Rambox/",

Loading…
Cancel
Save