Last active
December 10, 2015 17:39
-
-
Save MRdNk/4469613 to your computer and use it in GitHub Desktop.
Node.js Package.json : Setting your test scripts runner
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
{ | |
"name": "Demo", | |
"version": "0.0.0", | |
"description": "description", | |
"main": "app.js", | |
"directories": { | |
"test": "test" | |
}, | |
"dependencies": { | |
}, | |
"devDependencies": { | |
"tap": "~0.3.3" | |
}, | |
"scripts": { | |
"test": "tap ./test" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@darelf maybe the parser uses
require()
,and your
./test
directory neither contains apackage.json
nor has anindex.js
..?