mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
fix dist typings path
* use workaround from https://github.com/developit/microbundle/issues/854#issuecomment-940485331
This commit is contained in:
parent
49c763468c
commit
ae6ee6f9c7
@ -10,7 +10,7 @@
|
|||||||
"require": "./dist/lib.js",
|
"require": "./dist/lib.js",
|
||||||
"default": "./dist/lib.modern.js"
|
"default": "./dist/lib.modern.js"
|
||||||
},
|
},
|
||||||
"typings": "./dist/src/index.d.ts",
|
"types": "./dist/src/index.d.ts",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "npm run clean && npm run build:metadata && tsc -w",
|
"start": "npm run clean && npm run build:metadata && tsc -w",
|
||||||
"build": "npm run clean && npm run build:metadata && microbundle build --format modern,esm,cjs,umd --compress --tsconfig tsconfig.json",
|
"build": "npm run clean && npm run build:metadata && microbundle build --format modern,esm,cjs,umd --compress --tsconfig tsconfig.json",
|
||||||
|
@ -12,7 +12,8 @@
|
|||||||
"experimentalDecorators": true,
|
"experimentalDecorators": true,
|
||||||
"preserveConstEnums": true,
|
"preserveConstEnums": true,
|
||||||
"outDir": "./dist/",
|
"outDir": "./dist/",
|
||||||
"sourceMap": true
|
"sourceMap": true,
|
||||||
|
"declarationDir": "./dist/"
|
||||||
},
|
},
|
||||||
"include": ["src/**/*", "test/**/*"]
|
"include": ["src/**/*", "test/**/*"]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user