Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added start script to electron demo #1200

Open
wants to merge 1 commit into
base: master
from
Open

Conversation

@kami23
Copy link

@kami23 kami23 commented Aug 1, 2018

when I run the application without this line
"scripts": {
"start": "electron ."
},
it doesn't work and it gives me an error saying that the start script is missing.

when I run the application without this line 
 "scripts": {
    "start": "electron ."
  }, 
it doesn't work and it gives me an error saying that the start script is missing.
@SheetJSDev
Copy link
Contributor

@SheetJSDev SheetJSDev commented Aug 1, 2018

The command is buried in the Makefile but it probably makes more sense as npm scripts

.PHONY: run
run:
	electron .

There's a lint command that probably should also be added to the package.json:

.PHONY: lint
lint:
	eslint *.js

Can you also change the makefile so that it runs the npm script:

.PHONY: lint
lint:
	npm run lint

.PHONY: run
run:
	npm start

Finally, can you change the commit message to indicate that this is for the electron demo, something like "added start script to electron demo"

@kami23 kami23 changed the title Missing a start script added start script to electron demo Aug 1, 2018
@SheetJSDev SheetJSDev force-pushed the SheetJS:master branch from 0786b99 to 3b589f0 Aug 12, 2020
@SheetJSDev SheetJSDev force-pushed the SheetJS:master branch from 4254ed4 to eec93b0 Oct 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.