Skip to content

Commit

Permalink
fix: adding module to type property in package.json
Browse files Browse the repository at this point in the history
Specifies that the library contains all es modules.

Relates to react-financial#520
  • Loading branch information
markmcdowell committed May 23, 2021
1 parent b1249fa commit 1359ac6
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/annotations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"publishConfig": {
"access": "public"
},
"type": "module",
"main": "./lib/index.js",
"typings": "./lib/index.d.ts",
"files": [
Expand Down
1 change: 1 addition & 0 deletions packages/axes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"publishConfig": {
"access": "public"
},
"type": "module",
"main": "./lib/index.js",
"typings": "./lib/index.d.ts",
"files": [
Expand Down
1 change: 1 addition & 0 deletions packages/charts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "react-financial-charts",
"version": "1.2.2",
"description": "React charts specific to finance.",
"type": "module",
"main": "./lib/index.js",
"typings": "./lib/index.d.ts",
"files": [
Expand Down
1 change: 1 addition & 0 deletions packages/coordinates/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"publishConfig": {
"access": "public"
},
"type": "module",
"main": "./lib/index.js",
"typings": "./lib/index.d.ts",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/core/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
export default {
preset: "ts-jest",
collectCoverage: true,
coverageReporters: ["text", "json"],
Expand Down
1 change: 1 addition & 0 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"publishConfig": {
"access": "public"
},
"type": "module",
"main": "./lib/index.js",
"typings": "./lib/index.d.ts",
"files": [
Expand Down
1 change: 1 addition & 0 deletions packages/indicators/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"publishConfig": {
"access": "public"
},
"type": "module",
"main": "./lib/index.js",
"typings": "./lib/index.d.ts",
"files": [
Expand Down
1 change: 1 addition & 0 deletions packages/interactive/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"publishConfig": {
"access": "public"
},
"type": "module",
"main": "./lib/index.js",
"typings": "./lib/index.d.ts",
"files": [
Expand Down
1 change: 1 addition & 0 deletions packages/scales/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"publishConfig": {
"access": "public"
},
"type": "module",
"main": "./lib/index.js",
"typings": "./lib/index.d.ts",
"files": [
Expand Down
1 change: 1 addition & 0 deletions packages/series/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"publishConfig": {
"access": "public"
},
"type": "module",
"main": "./lib/index.js",
"typings": "./lib/index.d.ts",
"files": [
Expand Down
1 change: 1 addition & 0 deletions packages/tooltip/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"publishConfig": {
"access": "public"
},
"type": "module",
"main": "./lib/index.js",
"typings": "./lib/index.d.ts",
"files": [
Expand Down
1 change: 1 addition & 0 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"publishConfig": {
"access": "public"
},
"type": "module",
"main": "./lib/index.js",
"typings": "./lib/index.d.ts",
"files": [
Expand Down

0 comments on commit 1359ac6

Please sign in to comment.