Skip to content

Commit

Permalink
chore(force): Change svelte entry to esm index
Browse files Browse the repository at this point in the history
  • Loading branch information
untemps committed Feb 10, 2022
1 parent 962da12 commit 02f049c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 19 deletions.
1 change: 1 addition & 0 deletions .github/workflows/index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
branches:
- main
- beta
jobs:
release:
runs-on: ubuntu-latest
Expand Down
29 changes: 10 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,15 @@
"author": "Vincent Le Badezet <[email protected]>",
"license": "MIT",
"description": "Svelte action to display a tooltip",
"keywords": [
"tooltip",
"svelte",
"svelte-action",
"action",
"javascript"
],
"keywords": ["tooltip", "svelte", "svelte-action", "action", "javascript"],
"private": false,
"publishConfig": {
"access": "public"
},
"main": "dist/index.js",
"module": "dist/index.es.js",
"svelte": "dist/index.js",
"files": [
"dist"
],
"svelte": "dist/index.es.js",
"files": ["dist"],
"devDependencies": {
"@babel/cli": "^7.12.10",
"@babel/core": "^7.12.10",
Expand Down Expand Up @@ -68,17 +60,16 @@
"moduleNameMapper": {
"\\.(css|less|scss)$": "identity-obj-proxy"
},
"moduleFileExtensions": [
"js",
"svelte"
],
"setupFilesAfterEnv": [
"<rootDir>/jest/jest.setup.js"
]
"moduleFileExtensions": ["js", "svelte"],
"setupFilesAfterEnv": ["<rootDir>/jest/jest.setup.js"]
},
"release": {
"branches": [
"main"
"main",
{
"name": "beta",
"prerelease": true
}
],
"plugins": [
[
Expand Down

0 comments on commit 02f049c

Please sign in to comment.