diff --git a/.travis.yml b/.travis.yml index 4ed4d8c..b8df29d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,4 +4,4 @@ node_js: - "6" after_success: - - bash <(curl -s https://copilot.blackducksoftware.com/ci/travis/scripts/upload) + - bash <(curl -s https://scripts.scantist.com/ci-travis.sh) diff --git a/README.md b/README.md index bbdbb70..e3b17ee 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,4 @@ -# Black Duck CoPilot npm/Travis CI Example - -[![Build Status](https://travis-ci.org/BlackDuckCoPilot/example-npm-travis.svg?branch=master)](https://travis-ci.org/BlackDuckCoPilot/example-npm-travis) [![Black Duck Security Risk](https://copilot.blackducksoftware.com/github/repos/BlackDuckCoPilot/example-npm-travis/branches/test/badge-risk.svg)](https://copilot.blackducksoftware.com/github/repos/BlackDuckCoPilot/example-npm-travis/branches/test) - -Shows a working setup for using Black Duck CoPilot to analyze the risk of project dependencies +Shows a working setup for using CoPilot to analyze the risk of project dependencies. CArro. ## Travis CI Setup -The `.travis.yml` file has been modified to upload generated dependency data to CoPilot: - -```yaml -after_success: - - bash <(curl -s https://copilot.blackducksoftware.com/ci/travis/scripts/upload) -``` +The `.travis.yml` file has been modified to upload generated dependency data. diff --git a/package.json b/package.json index 69fb18f..f6366cb 100644 --- a/package.json +++ b/package.json @@ -1,24 +1,26 @@ { "name": "example-npm-travis", "version": "1.0.0", - "description": "Example project for setting up CoPilot with an NPM project built with Travis CI", + "description": "Example project for Scantist SCA tool", "main": "index.js", "scripts": { "test": "node index.js test arguments" }, "repository": { "type": "git", - "url": "git+https://github.com/BlackDuckCoPilot/example-npm-travis.git" + "url": "git+https://gitlab.com/scantistdemo/example-npm-gitlab/-/tree/master" }, - "author": "BlackDuckCoPilot", + "author": "Scantist", "bugs": { - "url": "https://github.com/BlackDuckCoPilot/example-npm-travis/issues" + "url": "https://gitlab.com/scantistdemo/example-npm-gitlab/-/tree/master" }, - "homepage": "https://github.com/BlackDuckCoPilot/example-npm-travis#readme", "dependencies": { - "express": "^4.15.4", - "moment": "^2.18.1", - "request": "^2.81.0", - "uuid": "^3.1.0" + "kind-of": "6.0.2", + "sequelize": "3.12.1", + "errorhandler": "1.3.4", + "eslint-utils": "1.4.1", + "mime": "1.4.1", + "mixin-deep": "1.3.2", + "tar": "4.4.1" } }