Skip to content

Commit a387458

Browse files
Using babel-node to run mocha
1 parent 6d9f194 commit a387458

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
![Downloads](https://img.shields.io/npm/dm/brush-sql.svg)
66
![Version](https://img.shields.io/npm/v/brush-sql.svg)
77

8-
Generic SQL brush module for [SyntaxHighlighter](https://github.com/syntaxhighlighter/syntaxhighlighter).
8+
SQL brush module for [SyntaxHighlighter](https://github.com/syntaxhighlighter/syntaxhighlighter).
99

1010
## Usage
1111

babel.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

mocha.opts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
--compilers js:babel
21
--recursive
32
--reporter spec
43
--ui bdd

package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
22
"name": "brush-sql",
33
"version": "4.0.0",
4-
"description": "sql brush module for SyntaxHighlighter.",
4+
"description": "SQL brush module for SyntaxHighlighter.",
55
"keywords": [
66
"syntaxhighlighter",
7-
"brush"
7+
"brush",
8+
"sql"
89
],
910
"homepage": "https://github.com/syntaxhighlighter/brush-sql",
1011
"bugs": "https://github.com/syntaxhighlighter/brush-sql/issues",
@@ -18,17 +19,17 @@
1819
"url": "https://github.com/syntaxhighlighter/brush-sql.git"
1920
},
2021
"scripts": {
21-
"test": "mocha --opts mocha.opts test.js"
22+
"test": "babel-node node_modules/.bin/_mocha --opts mocha.opts test.js"
2223
},
2324
"dependencies": {
2425
"brush-base": "^4.0.0",
2526
"syntaxhighlighter-regex": "^4.0.0"
2627
},
2728
"devDependencies": {
28-
"chai": "^3.4.1",
29+
"babel-cli": "^6.4.5",
2930
"babel-core": "^6.1.21",
3031
"babel-preset-es2015": "^6.1.18",
31-
"babel-register": "^6.4.3",
32+
"chai": "^3.4.1",
3233
"mocha": "^2.3.4",
3334
"syntaxhighlighter-match": "^4.0.0"
3435
},

0 commit comments

Comments
 (0)