Sorry, the diff of this file is not supported yet
+24
-16
| { | ||
| "name": "weasels", | ||
| "version": "1.1.3", | ||
| "version": "1.1.4", | ||
| "description": "List of (possible) English weasel words", | ||
@@ -13,5 +13,5 @@ "license": "MIT", | ||
| "bugs": "https://github.com/words/weasels/issues", | ||
| "author": "Titus Wormer <tituswormer@gmail.com> (http://wooorm.com)", | ||
| "author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)", | ||
| "contributors": [ | ||
| "Titus Wormer <tituswormer@gmail.com> (http://wooorm.com)" | ||
| "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)" | ||
| ], | ||
@@ -24,22 +24,30 @@ "main": "index.json", | ||
| "devDependencies": { | ||
| "browserify": "^14.0.0", | ||
| "esmangle": "^1.0.1", | ||
| "browserify": "^16.0.0", | ||
| "plain-text-data-to-json": "^1.0.0", | ||
| "remark-cli": "^4.0.0", | ||
| "remark-preset-wooorm": "^3.0.0", | ||
| "prettier": "^1.17.1", | ||
| "remark-cli": "^6.0.0", | ||
| "remark-preset-wooorm": "^5.0.0", | ||
| "tape": "^4.0.0", | ||
| "xo": "^0.18.0" | ||
| "tinyify": "^2.5.0", | ||
| "xo": "^0.24.0" | ||
| }, | ||
| "scripts": { | ||
| "build-md": "remark . -qfo", | ||
| "build-generate": "node build", | ||
| "build-bundle": "browserify index.json --bare -s weasels > weasels.js", | ||
| "build-mangle": "esmangle weasels.js > weasels.min.js", | ||
| "build": "npm run build-generate && npm run build-md && npm run build-bundle && npm run build-mangle", | ||
| "lint": "xo", | ||
| "generate": "node build", | ||
| "format": "remark . -qfo && prettier --write \"**/*.js\" && xo --fix", | ||
| "build-bundle": "browserify index.json -s weasels -o weasels.js", | ||
| "build-mangle": "browserify index.json -s weasels -p tinyify -o weasels.min.js", | ||
| "build": "npm run build-bundle && npm run build-mangle", | ||
| "test-api": "node test", | ||
| "test": "npm run build && npm run lint && npm run test-api" | ||
| "test": "npm run generate && npm run format && npm run build && npm run test-api" | ||
| }, | ||
| "prettier": { | ||
| "tabWidth": 2, | ||
| "useTabs": false, | ||
| "singleQuote": true, | ||
| "bracketSpacing": false, | ||
| "semi": false, | ||
| "trailingComma": "none" | ||
| }, | ||
| "xo": { | ||
| "space": true, | ||
| "prettier": true, | ||
| "esnext": false, | ||
@@ -46,0 +54,0 @@ "ignores": [ |
+25
-13
@@ -1,5 +0,9 @@ | ||
| # weasels [![Build Status][travis-badge]][travis] | ||
| # weasels | ||
| List of _many_ English, both British and American, weasel words. | ||
| [![Build][build-badge]][build] | ||
| [![Downloads][downloads-badge]][downloads] | ||
| [![Size][size-badge]][size] | ||
| List of *many* English, both British and American, weasel words. | ||
| ## Installation | ||
@@ -16,7 +20,7 @@ | ||
| ```js | ||
| var weasels = require('weasels'); | ||
| var weasels = require('weasels') | ||
| weasels.length; //=> 116 | ||
| console.log(weasels.length) //=> 116 | ||
| console.log(weasels.slice(0, 10)); | ||
| console.log(weasels.slice(0, 10)) | ||
| ``` | ||
@@ -43,10 +47,10 @@ | ||
| _Reportedly_, **weasels** exposes a list of strings (`Array.<string>`). | ||
| *Reportedly*, **weasels** exposes a list of strings (`Array.<string>`). | ||
| ## Support | ||
| `weasels` supports _several_ weasel words and phrases. For a complete | ||
| list, see [`data.txt`][data]. | ||
| `weasels` supports *several* weasel words and phrases. | ||
| For a complete list, see [`data.txt`][data]. | ||
| Note that the words listed in **weasels** _might_ or, in fact, _might_ | ||
| Note that the words listed in **weasels** *might* or, in fact, *might* | ||
| not be weasels. | ||
@@ -75,12 +79,20 @@ | ||
| [travis-badge]: https://img.shields.io/travis/words/weasels.svg | ||
| [build-badge]: https://img.shields.io/travis/words/weasels.svg | ||
| [travis]: https://travis-ci.org/words/weasels | ||
| [build]: https://travis-ci.org/words/weasels | ||
| [downloads-badge]: https://img.shields.io/npm/dm/weasels.svg | ||
| [downloads]: https://www.npmjs.com/package/weasels | ||
| [size-badge]: https://img.shields.io/bundlephobia/minzip/weasels.svg | ||
| [size]: https://bundlephobia.com/result?p=weasels | ||
| [npm]: https://docs.npmjs.com/cli/install | ||
| [license]: LICENSE | ||
| [license]: license | ||
| [author]: http://wooorm.com | ||
| [author]: https://wooorm.com | ||
| [data]: data.txt |
-22
| (The MIT License) | ||
| Copyright (c) 2014 Titus Wormer <tituswormer@gmail.com> | ||
| Permission is hereby granted, free of charge, to any person obtaining | ||
| a copy of this software and associated documentation files (the | ||
| 'Software'), to deal in the Software without restriction, including | ||
| without limitation the rights to use, copy, modify, merge, publish, | ||
| distribute, sublicense, and/or sell copies of the Software, and to | ||
| permit persons to whom the Software is furnished to do so, subject to | ||
| the following conditions: | ||
| The above copyright notice and this permission notice shall be | ||
| included in all copies or substantial portions of the Software. | ||
| THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, | ||
| EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
| MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | ||
| IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | ||
| CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | ||
| TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | ||
| SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
6000
9.35%96
14.29%8
14.29%