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",
|
||||
"default": "./dist/lib.modern.js"
|
||||
},
|
||||
"typings": "./dist/src/index.d.ts",
|
||||
"types": "./dist/src/index.d.ts",
|
||||
"scripts": {
|
||||
"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",
|
||||
|
@ -12,7 +12,8 @@
|
||||
"experimentalDecorators": true,
|
||||
"preserveConstEnums": true,
|
||||
"outDir": "./dist/",
|
||||
"sourceMap": true
|
||||
"sourceMap": true,
|
||||
"declarationDir": "./dist/"
|
||||
},
|
||||
"include": ["src/**/*", "test/**/*"]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user