Skip to content
This repository has been archived by the owner on Nov 16, 2018. It is now read-only.

Commit

Permalink
Merge pull request #19 from skippednote/npmscript-wepack-update
Browse files Browse the repository at this point in the history
Minor updates
  • Loading branch information
mattgrill authored Jul 18, 2016
2 parents e96d6c7 + 991404e commit 77cff0f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lib/resources/entityQuery.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ module.exports = class Query extends Request {
* @param {string} field
* The field on which to apply the condition.
* @param {mixed} value
* The value to compore the field value against.
* The value to compare the field value against.
* @param {string} operator
* The comparison operator to use.
* @param {string} langcode
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "waterwheel",
"version": "0.5.0",
"version": "0.6.1",
"description": "A generic JavaScript helper library to query and manipulate Drupal 8 via core REST",
"author": "Preston So <preston.so@acquia.com>",
"contributors": [
Expand All @@ -13,9 +13,9 @@
"url": "https://github.com/acquia/waterwheel",
"main": "lib/waterwheel.js",
"scripts": {
"build": "./node_modules/.bin/webpack --progress",
"test": "./node_modules/.bin/nyc --reporter=html ./node_modules/.bin/ava -v && ./node_modules/.bin/nyc report",
"coverage": "./node_modules/.bin/nyc report --reporter=text-lcov | ./node_modules/.bin/coveralls",
"build": "webpack --progress",
"test": "nyc --reporter=html ava -v && nyc report",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"lint": "eslint ."
},
"keywords": [
Expand Down
5 changes: 3 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
var webpack = require('webpack');
var path = require('path');

module.exports = {
entry: './index.js',
output: {
path: __dirname,
filename: '/dist/waterwheel.js'
path: path.join(__dirname, 'dist'),
filename: 'waterwheel.js'
},
plugins: [
new webpack.optimize.UglifyJsPlugin({
Expand Down

0 comments on commit 77cff0f

Please sign in to comment.