Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
Filipe Correa committed Mar 5, 2023
1 parent f2eb12a commit 8fc8a9d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
4 changes: 0 additions & 4 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,5 @@
],
"plugins": [
"@babel/plugin-proposal-class-properties",
],
"ignore": [
"**/*.test.js",
"**/*.stories.js"
]
}
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
run: npm i

- name: Build
run: npm run build --if-present
run: npm run build:prod

- name: Publish
run: npm publish
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"test": "jest",
"lint": "standard --fix",
"build": "babel ./src --out-dir ./dist -s inline",
"build:prod": "babel ./src --out-dir ./dist --ignore '**/*.test.js' --ignore '**/*.stories.js' -s inline",
"build:storybook": "build-storybook -c .storybook -o docs",
"prepublishOnly": "npm test && npm run build",
"start": "start-storybook"
Expand Down

0 comments on commit 8fc8a9d

Please sign in to comment.