added tester cli options

added optimist dependency
sourced optimist definition

changed cli options to use optimist
expose verbose info printers as options
added skipTests option

added npm scripts (lazy)
$ npm run test
$ npm run dry
$ npm run all
$ npm run list
$ npm run help

bumped default tsc version to 0.9.7
tester disabled test filer
tuned suite regexs
tuned npm run commands
added print helpers
This commit is contained in:
Bart van der Schoor
2014-03-02 01:44:24 +01:00
parent a0e4fc304f
commit 08c3557397
10 changed files with 205 additions and 49 deletions
+26 -4
View File
@@ -1,15 +1,37 @@
{
"private": true,
"name": "DefinitelyTyped",
"version": "0.0.0",
"version": "0.0.1",
"homepage": "https://github.com/borisyankov/DefinitelyTyped",
"repository": {
"type": "git",
"url": "https://github.com/borisyankov/DefinitelyTyped.git"
},
"licenses": [
{
"type": "MIT",
"url": "https://github.com/borisyankov/DefinitelyTyped/blob/master/LICENSE"
}
],
"bugs": {
"url": "https://github.com/borisyankov/DefinitelyTyped/issues"
},
"engines": {
"node": ">= 0.10.0"
},
"scripts": {
"test": "node ./_infrastructure/tests/runner.js --tsc-version 0.9.7"
"test": "node ./_infrastructure/tests/runner.js --tsc-version 0.9.7 --test-changes",
"all": "node ./_infrastructure/tests/runner.js --tsc-version 0.9.7",
"dry": "node ./_infrastructure/tests/runner.js --tsc-version 0.9.7 --skip-tests --test-changes",
"list": "node ./_infrastructure/tests/runner.js --tsc-version 0.9.7 --skip-tests --print-files --print-refmap",
"help": "node ./_infrastructure/tests/runner.js -h"
},
"dependencies": {
"source-map-support": "~0.2.5",
"git-wrapper": "~0.1.1",
"glob": "~3.2.9",
"source-map-support": "~0.2.5",
"bluebird": "~1.0.7",
"lazy.js": "~0.3.2"
"lazy.js": "~0.3.2",
"optimist": "~0.6.1"
}
}