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

Setup Code Tasks #5

Open
terriann opened this issue Jun 14, 2017 · 0 comments
Open

Setup Code Tasks #5

terriann opened this issue Jun 14, 2017 · 0 comments

Comments

@terriann
Copy link
Owner

Setup Visual Studio Code tasks for:

  • build
    • Should build then run local server serving that page in /dist/ for testing a buils
  • deploy
    • What it does now (outline for doc)
  • test
    • Write one test. That's how we start.
  • dev
    • For launching local server dev build

Out of scope
Unit tests, e2e & lint are out of scope till tests are setup.

** Current task scripts **
Existing packages.json scripts:

"dev": "node build/dev-server.js",
"start": "node build/dev-server.js",
"build": "node build/build.js",
"deploy": "npm run build && git-directory-deploy --directory dist/ --branch master",
"unit": "cross-env BABEL_ENV=test karma start test/unit/karma.conf.js --single-run",
"e2e": "node test/e2e/runner.js",
"test": "npm run unit && npm run e2e",
"lint": "eslint --ext .js,.vue src test/unit/specs test/e2e/specs"

Resources

(Video)
https://code.visualstudio.com/docs/introvideos/codeediting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant