Fix file path to main and types in package.json

This commit is contained in:
Fabio Berger
2018-08-26 17:12:13 +01:00
parent 00e7c70b4d
commit 3ac182ee91
2 changed files with 11 additions and 2 deletions

View File

@@ -1,4 +1,13 @@
[ [
{
"version": "1.0.1-rc.5",
"changes": [
{
"note":
"Fix `main` and `types` package.json entries so that they point to the new location of index.d.ts and index.js"
}
]
},
{ {
"version": "1.0.1-rc.4", "version": "1.0.1-rc.4",
"changes": [ "changes": [

View File

@@ -12,8 +12,8 @@
"tokens", "tokens",
"exchange" "exchange"
], ],
"main": "lib/src/index.js", "main": "lib/index.js",
"types": "lib/src/index.d.ts", "types": "lib/index.d.ts",
"scripts": { "scripts": {
"watch_without_deps": "tsc -w", "watch_without_deps": "tsc -w",
"build": "yarn build:all", "build": "yarn build:all",