forked from estools/esutils
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Update to Unicoode 13; closes estools#27
- Linting: As per latest jshint (define function before called) - Testing: Use chai's `register-expect` - npm: Update devDeps (including moving from `coffee-script` to non-deprecated `coffeescript`) - npm: Simplify script running - npm: Avoid adding `package-lock.json` - npm: Update mocha per latest API - npm: Add recommended package.json fields: keywords, bugs, dependencies and change to author/contributors - Maintenance: Add `.editorconfig`
- Loading branch information
Showing
8 changed files
with
52 additions
and
27 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# This file is for unifying the coding style for different editors and IDEs | ||
# editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
charset = utf-8 | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
[*.json] | ||
indent_size = 2 | ||
|
||
[*.yml] | ||
indent_size = 2 |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
package-lock = false |
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 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 |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
"name": "esutils", | ||
"description": "utility box for ECMAScript language tools", | ||
"homepage": "https://github.com/estools/esutils", | ||
"bugs": "https://github.com/estools/esutils/issues", | ||
"main": "lib/utils.js", | ||
"version": "2.0.4-dev", | ||
"engines": { | ||
|
@@ -15,30 +16,35 @@ | |
"README.md", | ||
"lib" | ||
], | ||
"maintainers": [ | ||
{ | ||
"name": "Yusuke Suzuki", | ||
"email": "[email protected]", | ||
"web": "http://github.com/Constellation" | ||
} | ||
"keywords": [ | ||
"ecmascript" | ||
], | ||
"author": { | ||
"name": "Yusuke Suzuki", | ||
"email": "[email protected]", | ||
"web": "http://github.com/Constellation" | ||
}, | ||
"contributors": [ | ||
"Brett Zamir" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "http://github.com/estools/esutils.git" | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"chai": "~1.7.2", | ||
"coffee-script": "~1.6.3", | ||
"jshint": "2.6.3", | ||
"mocha": "~2.2.1", | ||
"regenerate": "~1.3.1", | ||
"unicode-9.0.0": "~0.7.0" | ||
"chai": "~4.2.0", | ||
"coffeescript": "^2.5.1", | ||
"jshint": "2.11.0", | ||
"mocha": "~7.1.2", | ||
"regenerate": "~1.4.0", | ||
"unicode-13.0.0": "^0.8.0" | ||
}, | ||
"license": "BSD-2-Clause", | ||
"scripts": { | ||
"test": "npm run-script lint && npm run-script unit-test", | ||
"test": "npm run lint && npm run unit-test", | ||
"lint": "jshint lib/*.js", | ||
"unit-test": "mocha --compilers coffee:coffee-script -R spec", | ||
"unit-test": "mocha --require chai/register-expect --require coffeescript/register test/**", | ||
"generate-regex": "node tools/generate-identifier-regex.js" | ||
} | ||
} |
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 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 |
---|---|---|
|
@@ -22,7 +22,6 @@ | |
|
||
'use strict' | ||
|
||
expect = require('chai').expect | ||
esutils = require '../' | ||
|
||
describe 'code', -> | ||
|
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 |
---|---|---|
|
@@ -22,7 +22,6 @@ | |
|
||
'use strict' | ||
|
||
expect = require('chai').expect | ||
esutils = require '../' | ||
|
||
KW = [ | ||
|
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