Extract npm dependencies to package.json file and use it for travis

- Allows developers to init simply using `npm install`
This commit is contained in:
Erik LaBianca 2016-02-22 15:19:07 -05:00
parent f12fcacc51
commit 38bd8a1067
3 changed files with 10 additions and 2 deletions

1
.gitignore vendored
View File

@ -1,5 +1,6 @@
target/
.idea/
node_modules/
# tut backups?
.*.swp

View File

@ -1,7 +1,6 @@
language: java
install:
- npm install xmldom
- npm install xhr2
- npm install
- curl -L -o ~/sbt https://github.com/paulp/sbt-extras/raw/478a364a2d43d6e1ac4451f8b84cdafe43a2e43f/sbt
- chmod +x ~/sbt
os:

8
package.json Normal file
View File

@ -0,0 +1,8 @@
{
"repository": "https://github.com/alexarchambault/coursier.git",
"license": "Apache-2.0",
"devDependencies": {
"xmldom": "latest",
"xhr2": "latest"
}
}