File tree Expand file tree Collapse file tree 4 files changed +23
-18
lines changed Expand file tree Collapse file tree 4 files changed +23
-18
lines changed Original file line number Diff line number Diff line change 1
1
module . exports = {
2
- extends : [ './node_modules/ts-standardx/.eslintrc.js' ] ,
3
- parserOptions : {
4
- project : [ './tsconfig.eslint.json' ]
5
- }
2
+ extends : [ './node_modules/ts-standardx/.eslintrc.js' ]
6
3
}
Original file line number Diff line number Diff line change 4
4
"private" : true ,
5
5
"main" : " lib/index.js" ,
6
6
"scripts" : {
7
- "build" : " rm -rf lib && tsc" ,
8
- "test" : " ts-standardx && jest" ,
7
+ "build" : " rm -rf lib && tsc -p tsconfig.prod.json " ,
8
+ "test" : " npm run build && ts-standardx && jest" ,
9
9
"package" : " ncc build --license licenses.txt" ,
10
- "all" : " npm run build && npm test && npm run package" ,
11
- "format" : " ts-standardx --fix"
10
+ "all" : " npm test && npm run package"
12
11
},
13
12
"repository" : {
14
13
"type" : " git" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"compilerOptions" : {
3
- "target" : " ES2015" ,
4
- "module" : " commonjs" ,
5
- "outDir" : " ./lib" ,
6
- "rootDir" : " ./src" ,
7
3
"strict" : true ,
4
+
5
+ "module" : " commonjs" ,
8
6
"moduleResolution" : " node" ,
7
+
8
+ "noEmit" : true ,
9
+
9
10
"esModuleInterop" : true ,
10
- "skipLibCheck " : true ,
11
- "forceConsistentCasingInFileNames" : true
12
- } ,
13
- "include" : [
14
- " ./src/**/*.ts "
15
- ]
11
+ "forceConsistentCasingInFileNames " : true ,
12
+
13
+ "target" : " es2019 " ,
14
+
15
+ "skipLibCheck" : true
16
+ }
16
17
}
Original file line number Diff line number Diff line change
1
+ {
2
+ "extends" : " ./tsconfig.json" ,
3
+ "compilerOptions" : {
4
+ "noEmit" : false ,
5
+ "outDir" : " ./lib"
6
+ },
7
+ "exclude" : [" __tests__/**/*" ]
8
+ }
You can’t perform that action at this time.
0 commit comments