Skip to content

Commit

Permalink
Add module exports plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
jashmenn committed Jun 18, 2016
1 parent 411cf95 commit 5b7e586
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{
"presets": ["es2015", "react", "stage-0"]
"presets": ["es2015", "react", "stage-0"],
"plugins": [
"add-module-exports"
]
}
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "@eigenjoy/cq",
"version": "0.1.0",
"version": "0.1.1",
"description": "query code with selectors",
"main": "dist/index.js",
"repository": "jashmenn/cq",
"scripts": {
"compile": "babel -d dist/ src/",
"prepublish": "npm run compile",
"prepublish": "npm run generate-parser && npm run compile",
"test": "./node_modules/.bin/mocha --compilers js:babel-core/register",
"watchtest": "./node_modules/.bin/mocha --compilers js:babel-core/register --watch --watch-extensions pegjs",
"generate-parser": "./node_modules/.bin/pegjs src/query.pegjs src/query-parser.js"
Expand All @@ -26,6 +26,7 @@
"devDependencies": {
"babel-cli": "^6.10.1",
"babel-core": "^6.9.1",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-react-transform": "^2.0.2",
"babel-preset-es2015": "^6.9.0",
"babel-preset-react": "^6.5.0",
Expand Down

0 comments on commit 5b7e586

Please sign in to comment.