-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from therohk/v0.5-fix-export
fix library import
- Loading branch information
Showing
5 changed files
with
24 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "datum-merge", | ||
"version": "0.9.0", | ||
"version": "0.5.4", | ||
"author": "Rohit Kulkarni <[email protected]>", | ||
"repository": { | ||
"type": "git", | ||
|
@@ -9,8 +9,12 @@ | |
"license": "MIT", | ||
"description": "Simplified diff and merging for deeply nested objects.", | ||
"keywords": ["merge", "diff", "compare", "patch", "update"], | ||
"main": "dist/esm/index.js", | ||
"types": "dist/esm/index.d.ts", | ||
"main": "./dist/cjs/index.js", | ||
"types": "./dist/cjs/index.d.ts", | ||
"exports": { | ||
"require": "./dist/cjs/index.js", | ||
"import": "./dist/esm/index.js" | ||
}, | ||
"files": [ | ||
"dist", | ||
"src" | ||
|
@@ -21,11 +25,11 @@ | |
}, | ||
"scripts": { | ||
"lint": "npx eslint src", | ||
"pretty": "prettier -c src", | ||
"pretty": "prettier -c ./src", | ||
"scantask": "findstr /s /i todo src\\*.*", | ||
"test": "jest", | ||
"build:esm": "tsc", | ||
"build:cjs": "tsc --module CommonJS --outDir dist/cjs", | ||
"build:cjs": "tsc --outDir dist/cjs", | ||
"build:esm": "tsc --module ESNext --outDir dist/esm", | ||
"build": "run-s test build:*", | ||
"compile": "tsc -noEmit -skipLibCheck", | ||
"cyccheck": "dpdm --exit-code circular:1 --no-tree ./src" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,30 @@ | ||
{ | ||
"compilerOptions": { | ||
"baseUrl": ".", | ||
"outDir": "./dist/esm", | ||
"module": "ESNext", | ||
"outDir": "./dist/cjs", | ||
"module": "CommonJS", | ||
"target": "ES6", | ||
"moduleResolution": "node", | ||
"sourceMap": true, | ||
// "inlineSourceMap": true, | ||
// "inlineSources": true, | ||
"removeComments": true, | ||
"declaration": true, | ||
"declarationMap": true, | ||
"allowJs": false, | ||
// "checkJs": true, | ||
"allowSyntheticDefaultImports": true, | ||
"experimentalDecorators": true, | ||
"emitDecoratorMetadata": true, | ||
"esModuleInterop": true, | ||
"importHelpers": true, | ||
// "importHelpers": true, | ||
// "downlevelIteration": true, | ||
// "isolatedModules": true, | ||
// "strict": true, | ||
"noUncheckedIndexedAccess": true, | ||
"noImplicitOverride": true, | ||
"lib": [ | ||
"ES5", | ||
"ES6", | ||
"ES7" | ||
] | ||
"lib": ["ES6"] | ||
}, | ||
"include": [ "src/**/*.ts" ], | ||
"exclude": [ "**/*.test.ts" ], | ||
} | ||
} |