Skip to content

Instantly share code, notes, and snippets.

@bryanbraun
Last active March 26, 2018 01:06
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 bryanbraun/4a955cc30c394f137b0d to your computer and use it in GitHub Desktop.
Save bryanbraun/4a955cc30c394f137b0d to your computer and use it in GitHub Desktop.
Minimal NPM setup for automated testing of your client-side JS library.
language: node_js
node_js:
- "node"
branches:
only:
- master
{
"name": "project-name",
"description": "My Project's Description",
"version": "0.0.1",
"scripts": {
"test": "karma start test/karma.conf.js --single-run"
},
"devDependencies": {
"jasmine-core": "*",
"karma": "*",
"karma-cli": "*",
"karma-jasmine": "*",
"karma-phantomjs-launcher": "*",
"phantomjs-prebuilt": "*"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment