Skip to content

Commit b4a5c8b

Browse files
committed
refactor(settings): remove unnecessary settings
- tsconfig - declarationDir - forceConsistentCasingInFileNames - .npmrc -> fix scope name(@channel-io -> @channel.io)
1 parent e35e35f commit b4a5c8b

File tree

5 files changed

+2
-10
lines changed

5 files changed

+2
-10
lines changed

.npmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
@channel-io:registry=https://registry.npmjs.org/
1+
@channel.io:registry=https://registry.npmjs.org/
22
//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@
2727
"commit": "git-cz",
2828
"build:typedoc": "typedoc src/index.ts"
2929
},
30-
"files": [
31-
"dist"
32-
],
30+
"files": ["dist"],
3331
"repository": {
3432
"type": "git",
3533
"url": "git+https://github.com/channel-io/channel-web-sdk-loader.git"

tsconfig.cjs.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,5 @@
22
"extends": "./tsconfig.json",
33
"compilerOptions": {
44
"module": "CommonJS",
5-
"outDir": "./dist"
65
},
7-
"include": ["src/**/*"],
86
}

tsconfig.esm.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,5 @@
22
"extends": "./tsconfig.json",
33
"compilerOptions": {
44
"module": "ESNext",
5-
"outDir": "./dist"
65
},
7-
"include": ["src/**/*"],
86
}

tsconfig.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99
"outDir": "./dist", /* Specify an output folder for all emitted files. */
1010
/* Interop Constraints */
1111
"declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
12-
"declarationDir": "./dist", /* Specify an output folder for generated declaration files. */
1312
"esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
14-
"forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
1513
/* Type Checking */
1614
"strict": true, /* Enable all strict type-checking options. */
1715
},

0 commit comments

Comments
 (0)