Skip to content

Commit

Permalink
feat: set package.json to type to module
Browse files Browse the repository at this point in the history
  • Loading branch information
Swiftwork committed Feb 12, 2020
1 parent f045c20 commit 6e17960
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion packages/ui-core/package.json
Expand Up @@ -8,7 +8,6 @@
"whitelabel"
],
"description": "Basic whitelabled interactive elements following strict code quality and accessibility",
"main": "dist/index.js",
"author": "Trutoo AB",
"license": "GPL-3.0",
"bugs": "https://github.com/trutoo/uikit/issues",
Expand All @@ -28,6 +27,8 @@
"dist/",
"banner.js"
],
"type": "module",
"module": "dist/index.js",
"scripts": {
"build": "node ../../scripts/build.js",
"postinstall": "node banner.js || echo \"ignore\""
Expand Down
3 changes: 2 additions & 1 deletion packages/ui-datepicker/package.json
Expand Up @@ -8,7 +8,6 @@
"whitelabel"
],
"description": "Basic whitelabled interactive elements following strict code quality and accessibility",
"main": "dist/index.js",
"author": "Trutoo AB",
"license": "GPL-3.0",
"bugs": "https://github.com/trutoo/uikit/issues",
Expand All @@ -27,6 +26,8 @@
"files": [
"dist/"
],
"type": "module",
"module": "dist/index.js",
"scripts": {
"build": "node ../../scripts/build.js"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/ui-icons/package.json
Expand Up @@ -8,7 +8,6 @@
"whitelabel"
],
"description": "Basic whitelabled interactive elements following strict code quality and accessibility",
"main": "dist/index.js",
"author": "Trutoo AB",
"license": "GPL-3.0",
"bugs": "https://github.com/trutoo/uikit/issues",
Expand All @@ -27,6 +26,8 @@
"files": [
"dist/"
],
"type": "module",
"module": "dist/index.js",
"scripts": {
"build": "node ../../scripts/build.js"
}
Expand Down
3 changes: 2 additions & 1 deletion packages/ui-typeahead/package.json
Expand Up @@ -8,7 +8,6 @@
"whitelabel"
],
"description": "Basic whitelabled interactive elements following strict code quality and accessibility",
"main": "dist/index.js",
"author": "Trutoo AB",
"license": "GPL-3.0",
"bugs": "https://github.com/trutoo/uikit/issues",
Expand All @@ -27,6 +26,8 @@
"files": [
"dist/"
],
"type": "module",
"module": "dist/index.js",
"scripts": {
"build": "node ../../scripts/build.js"
},
Expand Down

0 comments on commit 6e17960

Please sign in to comment.