File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 99 "main" : " dist/index.js" ,
1010 "source" : " src/index.ts" ,
1111 "scripts" : {
12+ "build" : " tsc -p ." ,
1213 "lint" : " eslint . --ext .ts" ,
1314 "test" : " NODE_ENV=test nyc mocha -r ts-node/register \" src/**/*.spec.ts\" --exit"
1415 },
Original file line number Diff line number Diff line change 1414 // "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
1515 // "sourceMap": true, /* Generates corresponding '.map' file. */
1616 // "outFile": "./", /* Concatenate and emit output to single file. */
17- "outDir" : " ./ dist" , /* Redirect output structure to the directory. */
18- "rootDir" : " ./ src" , /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
17+ "outDir" : " dist" , /* Redirect output structure to the directory. */
18+ "rootDir" : " src" , /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
1919 // "composite": true, /* Enable project compilation */
2020 // "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */
2121 "removeComments" : true , /* Do not emit comments to output. */
6666 /* Advanced Options */
6767 "skipLibCheck" : true , /* Skip type checking of declaration files. */
6868 "forceConsistentCasingInFileNames" : true /* Disallow inconsistently-cased references to the same file. */
69- }
69+ },
70+ "include" : [
71+ " src/**/*"
72+ ],
73+ "exclude" : [
74+ " node_modules" ,
75+ " src/**/*.spec.ts"
76+ ]
7077}
You can’t perform that action at this time.
0 commit comments