Skip to content

Instantly share code, notes, and snippets.

@bryanbraun
Last active Mar 26, 2018
Embed
What would you like to do?
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