make consistent
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
parent
d04bea205c
commit
7b4c497093
|
@ -16,7 +16,10 @@
|
||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json && tsc -p tsconfig.types.json",
|
"build": "rimraf dist && yarn build:browser && yarn build:node && yarn build:types",
|
||||||
|
"build:node": " tsc -p tsconfig.cjs.json --noEmit false",
|
||||||
|
"build:browser": "tsc -p tsconfig.esm.json --noEmit false",
|
||||||
|
"build:types": "tsc -p tsconfig.types.json --noEmit false",
|
||||||
"test": "ts-mocha ts/client/**/*.spec.ts --timeout 300000",
|
"test": "ts-mocha ts/client/**/*.spec.ts --timeout 300000",
|
||||||
"example1-user": "ts-node ts/client/src/scripts/example1-user.ts",
|
"example1-user": "ts-node ts/client/src/scripts/example1-user.ts",
|
||||||
"example1-admin": "ts-node ts/client/src/scripts/example1-admin.ts",
|
"example1-admin": "ts-node ts/client/src/scripts/example1-admin.ts",
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
{
|
{
|
||||||
"extends": "./tsconfig",
|
"extends": "./tsconfig",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"module": "commonjs",
|
|
||||||
"outDir": "dist/cjs",
|
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
"declarationMap": false,
|
"declarationMap": false,
|
||||||
|
"module": "commonjs",
|
||||||
|
"outDir": "dist/cjs",
|
||||||
"sourceMap": false
|
"sourceMap": false
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"declaration": false,
|
"declaration": false,
|
||||||
"declarationMap": false,
|
"declarationMap": false,
|
||||||
"sourceMap": false,
|
|
||||||
"module": "esnext",
|
"module": "esnext",
|
||||||
"outDir": "./dist/esm"
|
"outDir": "dist/esm",
|
||||||
|
"sourceMap": false,
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,14 +1,14 @@
|
||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "esnext",
|
"esModuleInterop": true,
|
||||||
"module": "esnext",
|
"module": "esnext",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"esModuleInterop": true,
|
"noEmit": true,
|
||||||
"resolveJsonModule": true,
|
|
||||||
"noImplicitAny": false,
|
"noImplicitAny": false,
|
||||||
|
"resolveJsonModule": true,
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"strictNullChecks": true,
|
"strictNullChecks": true,
|
||||||
"noEmit": true
|
"target": "esnext",
|
||||||
},
|
},
|
||||||
"ts-node": {
|
"ts-node": {
|
||||||
// these options are overrides used only by ts-node
|
// these options are overrides used only by ts-node
|
||||||
|
|
Loading…
Reference in New Issue