-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4fc6e77
commit edf7d70
Showing
5 changed files
with
718 additions
and
668 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,9 +6,9 @@ | |
"author": "Connor Bär <[email protected]>", | ||
"license": "Apache-2.0", | ||
"private": false, | ||
"main": "dist/index.js", | ||
"main": "dist/cjs/index.js", | ||
"module": "dist/es/index.js", | ||
"types": "dist/index.d.ts", | ||
"types": "dist/es/index.d.ts", | ||
"sideEffects": false, | ||
"files": [ | ||
"dist", | ||
|
@@ -23,7 +23,9 @@ | |
"scripts": { | ||
"start": "tsc --watch", | ||
"dev": "yarn start", | ||
"build": "tsc && tsc --project ./tsconfig-es.json", | ||
"build": "yarn build:es && yarn build:cjs", | ||
"build:es": "tsc", | ||
"build:cjs": "tsc --project tsconfig.cjs.json", | ||
"lint": "foundry run eslint . --ext .js,.jsx,.ts,.tsx", | ||
"lint:fix": "yarn lint --fix", | ||
"lint:ci": "yarn lint --format junit -o __reports__/junit/eslint-results.xml", | ||
|
This file was deleted.
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"extends": "./tsconfig.json", | ||
"compilerOptions": { | ||
"module": "CommonJS", | ||
"target": "es5", | ||
"outDir": "./dist/cjs" | ||
} | ||
} |
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
Oops, something went wrong.