Skip to content

Commit

Permalink
chore(build): publish built version to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
gergelyke authored and Peter Marton committed Jul 27, 2015
1 parent 0f929df commit 43f89d8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Logs
logs
*.log
lib

# Runtime data
pids
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
"name": "@risingstack/graffiti-mongoose",
"version": "1.0.1",
"description": "Mongoose adapter for graffiti (Node.js GraphQL ORM)",
"main": "src/index.js",
"main": "lib/index.js",
"scripts": {
"start": "node --harmony src/index.js",
"test": "NODE_ENV=test mocha --harmony --compilers js:babel/register --require co-mocha $(find src -name \"*.spec.js\")",
"eslint": "eslint src"
"eslint": "eslint src",
"prepublish": "npm test && npm run build",
"build": "rm -rf lib/* && babel src --ignore __tests__ --out-dir lib"
},
"author": "RisingStack",
"license": "MIT",
Expand Down
1 change: 0 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
require('babel/register');
module.exports = require('./schema');

0 comments on commit 43f89d8

Please sign in to comment.