-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Remove support for Duo; * Refactor code-style; * Update docs; * Update tests.
- Loading branch information
Showing
20 changed files
with
103 additions
and
363 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
.DS_Store | ||
*.log | ||
components/ | ||
.nyc_output/ | ||
coverage/ | ||
node_modules/ | ||
weasels.js | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,26 @@ | ||
language: node_js | ||
node_js: | ||
- '0.10' | ||
- '0.11' | ||
- '0.12' | ||
- '4.0' | ||
- '5.0' | ||
- iojs | ||
- '6.0' | ||
after_success: bash <(curl -s https://codecov.io/bash) | ||
sudo: false | ||
after_script: npm install codecov.io && cat ./coverage/lcov.info | codecov | ||
deploy: | ||
- provider: npm | ||
email: [email protected] | ||
api_key: | ||
secure: Qau6SlUg8DviNQPQyiazu7c8VSMXeChcGfNUeRPJbJC+u4gOX2DesfzNiIlJCueHifwdqIp0q8Sabj/EOcuAvSpZwlsRp1lqIaXiTEHZHXxsZRWk6RTkGCKNRG6/rhATE8W7RNdYcan39YR1qpKPdn7svtO0UTi/z7WZsVHp+DQ= | ||
secure: Qau6SlUg8DviNQPQyiazu7c8VSMXeChcGfNUeRPJbJC+u4gOX2DesfzNiIlJCueHifwdqIp0q8Sabj/EOcuAvSpZwlsRp1lqIaXiTEHZHXxsZRWk6RTkGCKNRG6/rhATE8W7RNdYcan39YR1qpKPdn7svtO0UTi/z7WZsVHp+DQ= | ||
on: | ||
tags: true | ||
node: '5.0' | ||
- provider: releases | ||
api_key: | ||
secure: Ll8D7i6u2mSDtcfL12FLixDODn7paHUXfvGsNGlOu3p7juoAuAajPQxr+mtdMhGFkL/QHa8b+3gdiUEy9az0+eKdtFgTaYECTVIbiBGZmu2vlIed1OYy1wan2lKmYAItAt+K9kRNvl6Kp2v1+HFFVSCbIMe1BqvYgCbwud+yShM= | ||
secure: Ll8D7i6u2mSDtcfL12FLixDODn7paHUXfvGsNGlOu3p7juoAuAajPQxr+mtdMhGFkL/QHa8b+3gdiUEy9az0+eKdtFgTaYECTVIbiBGZmu2vlIed1OYy1wan2lKmYAItAt+K9kRNvl6Kp2v1+HFFVSCbIMe1BqvYgCbwud+yShM= | ||
file: | ||
- "weasels.js" | ||
- "weasels.min.js" | ||
on: | ||
tags: true | ||
node: '6.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
(The MIT License) | ||
|
||
Copyright (c) 2016 Titus Wormer <mailto:[email protected]> | ||
Copyright (c) 2014 Titus Wormer <[email protected]> | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining | ||
a copy of this software and associated documentation files (the | ||
|
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,12 @@ | ||
/** | ||
* @author Titus Wormer | ||
* @copyright 2016 Titus Wormer | ||
* @copyright 2014 Titus Wormer | ||
* @license MIT | ||
* @module weasels | ||
* @fileoverview List of (possible) English weasel words. | ||
*/ | ||
|
||
'use strict'; | ||
|
||
/* eslint-env commonjs */ | ||
|
||
/* | ||
* Expose. | ||
*/ | ||
|
||
module.exports = require('./data/index.json'); | ||
/* Expose. */ | ||
module.exports = require('./index.json'); |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,43 +10,58 @@ | |
], | ||
"files": [ | ||
"index.js", | ||
"data/index.json" | ||
"index.json" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/wooorm/weasels.git" | ||
}, | ||
"repository": "https://github.com/wooorm/weasels", | ||
"bugs": "https://github.com/wooorm/weasels/issues", | ||
"author": "Titus Wormer <[email protected]> (http://wooorm.com)", | ||
"contributors": [ | ||
"Titus Wormer <[email protected]> (http://wooorm.com)" | ||
], | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"browserify": "^13.0.0", | ||
"eslint": "^1.0.0", | ||
"esmangle": "^1.0.0", | ||
"istanbul": "^0.4.0", | ||
"jscs": "^2.0.0", | ||
"jscs-jsdoc": "^1.0.0", | ||
"plain-text-data-to-json": "^0.1.3", | ||
"remark": "^3.0.0", | ||
"remark-comment-config": "^2.0.2", | ||
"remark-github": "^3.0.0", | ||
"remark-lint": "^2.2.1", | ||
"remark-slug": "^3.0.1", | ||
"remark-validate-links": "^2.0.2", | ||
"tape": "^4.0.0" | ||
"browserify": "^13.0.1", | ||
"esmangle": "^1.0.1", | ||
"nyc": "^7.0.0", | ||
"plain-text-data-to-json": "^1.0.0", | ||
"remark-cli": "^1.0.0", | ||
"remark-comment-config": "^4.0.0", | ||
"remark-github": "^5.0.0", | ||
"remark-lint": "^4.0.0", | ||
"remark-validate-links": "^4.0.0", | ||
"tape": "^4.0.0", | ||
"xo": "^0.16.0" | ||
}, | ||
"scripts": { | ||
"build-md": "remark . --quiet --frail", | ||
"build-data": "node script/build-data.js", | ||
"build-support": "node script/build-support.js", | ||
"build-generate": "node script/generate.js", | ||
"build-bundle": "browserify index.js --bare -s weasels > weasels.js", | ||
"build-mangle": "esmangle weasels.js > weasels.min.js", | ||
"build": "npm run build-md && npm run build-data && npm run build-support && npm run build-bundle && npm run build-mangle", | ||
"lint-api": "eslint .", | ||
"lint-style": "jscs --reporter inline .", | ||
"lint": "npm run lint-api && npm run lint-style", | ||
"test-api": "node test.js", | ||
"test-coverage": "istanbul cover test.js", | ||
"build": "npm run build-md && npm run build-generate && npm run build-bundle && npm run build-mangle", | ||
"lint": "xo", | ||
"test-api": "node test", | ||
"test-coverage": "nyc --reporter lcov tape test.js", | ||
"test": "npm run build && npm run lint && npm run test-coverage" | ||
}, | ||
"xo": { | ||
"space": true, | ||
"ignores": [ | ||
"weasels.js", | ||
"weasels.min.js" | ||
] | ||
}, | ||
"remarkConfig": { | ||
"output": true, | ||
"plugins": { | ||
"comment-config": null, | ||
"github": null, | ||
"lint": { | ||
"list-item-spacing": false | ||
}, | ||
"validate-links": null | ||
}, | ||
"settings": { | ||
"bullet": "*" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.