diff --git a/.gitignore b/.gitignore index f03556e..15d5043 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .DS_Store build node_modules +lib diff --git a/package.json b/package.json index b125879..90705f4 100644 --- a/package.json +++ b/package.json @@ -6,12 +6,13 @@ "type": "git", "url": "https://github.com/christianalfoni/formsy-react.git" }, - "main": "src/main.js", + "main": "lib/main.js", "scripts": { "start": "webpack-dev-server --content-base build", "deploy": "NODE_ENV=production webpack -p --config webpack.production.config.js", "test": "node testrunner", - "examples": "webpack-dev-server --config examples/webpack.config.js --content-base examples" + "examples": "webpack-dev-server --config examples/webpack.config.js --content-base examples", + "prepublish": "babel ./src/ -d ./lib/" }, "author": "Christian Alfoni", "license": "MIT",