Merge pull request #208 from arichiardi/publish-on-npm

Add package.json for npm deployment
This commit is contained in:
Michael Blume 2018-02-20 21:55:30 -08:00 committed by GitHub
commit 1e76bc00ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 38 additions and 2 deletions

1
.gitignore vendored
View file

@ -18,3 +18,4 @@ pom.xml*
.nrepl-port
bin
test/readme.clj
/node_modules

View file

@ -1,9 +1,19 @@
dist: trusty
sudo: required
language: clojure
cache:
directories:
- $HOME/.npm
- $TRAVIS_BUILD_DIR/.cache
- $TRAVIS_BUILD_DIR/node_modules
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y leiningen npm nodejs-legacy
- sudo npm install -g lumo-cljs
- sudo apt-get install -y leiningen
- nvm install --lts && nvm use --lts && npm install
- command -v npm
- npm install lumo-cljs -g
install:
- jdk_switcher use openjdk8

25
package.json Normal file
View file

@ -0,0 +1,25 @@
{
"name": "@honeysql/honeysql",
"version": "0.9.1",
"license": "EPL-1.0",
"homepage": "https://github.com/jkk/honeysql",
"repository": {
"type": "git",
"url": "https://github.com/jkk/honeysql"
},
"contributors": [
{
"name": "Michael Blume",
"email": "blume.mike@gmail.com"
}
],
"files": [
"src/*"
],
"directories": {
"lib": "src"
},
"dependencies": {
"macrovich": "0.2.1-SNAPSHOT"
}
}