ts-node
This commit is contained in:
Родитель
5740fe1aa2
Коммит
aa2d7edffe
28
.jshintrc
28
.jshintrc
|
@ -1,28 +0,0 @@
|
|||
{
|
||||
"esversion": 6,
|
||||
"bitwise": true,
|
||||
"camelcase": true,
|
||||
"curly": false,
|
||||
"eqeqeq": false,
|
||||
"forin": true,
|
||||
"immed": true,
|
||||
"indent": 2,
|
||||
"latedef": false,
|
||||
"maxparams": false,
|
||||
"maxdepth": false,
|
||||
"maxstatements": false,
|
||||
"maxcomplexity": false,
|
||||
"newcap": true,
|
||||
"noarg": true,
|
||||
"node": true,
|
||||
"noempty": true,
|
||||
"nonew": true,
|
||||
"plusplus": false,
|
||||
"regexp": true,
|
||||
"sub": true,
|
||||
"strict": false,
|
||||
"trailing": true,
|
||||
"undef": true,
|
||||
"unused": false,
|
||||
"shadow": true
|
||||
}
|
|
@ -56,14 +56,17 @@
|
|||
"bugs": {
|
||||
"url": "http://github.com/azure/oav/issues"
|
||||
},
|
||||
"main": "./dist/index.js",
|
||||
"main": "./index.js",
|
||||
"bin": {
|
||||
"oav": "./dist/cli.js"
|
||||
"oav": "./cli.js"
|
||||
},
|
||||
"types": "**/*.d.ts",
|
||||
"nyc": {
|
||||
"extension": [ ".ts" ]
|
||||
},
|
||||
"scripts": {
|
||||
"nyc": "nyc",
|
||||
"test": "nyc --reporter=text --reporter=lcov mocha -r ts-node/register",
|
||||
"test": "nyc mocha ./test/**/*.ts -r ts-node/register",
|
||||
"start": "node ./lib/autorestPlugin/pluginHost.js",
|
||||
"prepack": "npm install && tsc"
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@ import assert from 'assert'
|
|||
import * as path from 'path'
|
||||
import * as os from 'os'
|
||||
import * as glob from 'glob'
|
||||
import { LiveValidator } from '../lib/validators/liveValidator.js'
|
||||
import { LiveValidator } from '../lib/validators/liveValidator'
|
||||
import { Constants } from '../lib/util/constants'
|
||||
import * as utils from '../lib/util/utils'
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
import assert from 'assert'
|
||||
import * as path from 'path'
|
||||
import * as os from 'os'
|
||||
import { LiveValidator } from '../lib/validators/liveValidator.js'
|
||||
import { LiveValidator } from '../lib/validators/liveValidator'
|
||||
import { Constants } from '../lib/util/constants'
|
||||
|
||||
let options = {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
|
||||
import assert from 'assert'
|
||||
import * as utils from '../lib/util/utils.js'
|
||||
import * as utils from '../lib/util/utils'
|
||||
|
||||
describe('Utility functions', function () {
|
||||
describe('Get Provider', function () {
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
"declaration": true, /* Generates corresponding '.d.ts' file. */
|
||||
"sourceMap": true, /* Generates corresponding '.map' file. */
|
||||
// "outFile": "./", /* Concatenate and emit output to single file. */
|
||||
"outDir": "./dist", /* Redirect output structure to the directory. */
|
||||
// "outDir": "./dist", /* Redirect output structure to the directory. */
|
||||
// "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
|
||||
// "removeComments": true, /* Do not emit comments to output. */
|
||||
// "noEmit": true, /* Do not emit outputs. */
|
||||
|
|
Загрузка…
Ссылка в новой задаче