Skip to content

Commit 8b5c140

Browse files
committed
fixed tsconfig
1 parent d5aa641 commit 8b5c140

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"lint:ts": "tslint -c tslint.json 'src/ts/**/*.ts' && tslint -c tslint.json 'test/ts/**/*.ts'",
2323
"lint": "npm run lint:js && npm run lint:ts",
2424
"test:js": "mocha --compilers js:babel-core/register ./test/js/**/*.spec.js",
25-
"test:ts": "mocha -r ts-node/register ./test/ts/**/*.spec.ts",
25+
"test:ts": "mocha -r ts-node/register --recursive ./test/ts/**/*.spec.ts",
2626
"test": "npm run test:js && npm run test:ts",
2727
"test:dev": "npm run clean && npm run generate-report",
2828
"coverage": "npm run generate-report && nyc report --reporter=text-lcov > coverage.lcov && codecov",

tsconfig.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"compilerOptions": {
33
/* Basic Options */
44
"target": "es6", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', or 'ESNEXT'. */
5-
"module": "es2015", /* Specify module code generation: 'none', commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
5+
"module": "commonjs", /* Specify module code generation: 'none', commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
66
// "lib": [], /* Specify library files to be included in the compilation: */
77
// "allowJs": true, /* Allow javascript files to be compiled. */
88
// "checkJs": true, /* Report errors in .js files. */
@@ -11,7 +11,7 @@
1111
// "sourceMap": true, /* Generates corresponding '.map' file. */
1212
// "outFile": "./", /* Concatenate and emit output to single file. */
1313
"outDir": "./dist/ts", /* Redirect output structure to the directory. */
14-
"rootDir": "./src/ts", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
14+
// "rootDir": "./src/ts", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
1515
// "removeComments": true, /* Do not emit comments to output. */
1616
// "noEmit": true, /* Do not emit outputs. */
1717
// "importHelpers": true, /* Import emit helpers from 'tslib'. */

0 commit comments

Comments
 (0)