Skip to content

Commit 23b1023

Browse files
Chrystiam Nascimento JuniorChrystiam Nascimento Junior
authored andcommitted
feat(Vite): Adjust project to build with vite
1 parent 97e2aee commit 23b1023

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

babel.config.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

babel.config.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"presets": ["module:metro-react-native-babel-preset"]
3+
}

package.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"cm": "git cz",
3232
"test": "jest",
3333
"typecheck": "tsc --noEmit",
34-
"lint": "eslint .",
34+
"lint": "eslint \"src/**/*.{js,jsx,ts,tsx}\"",
3535
"build": "vite build"
3636
},
3737
"keywords": [
@@ -170,7 +170,12 @@
170170
"@semantic-release/commit-analyzer",
171171
"@semantic-release/release-notes-generator",
172172
"@semantic-release/changelog",
173-
"@semantic-release/npm",
173+
[
174+
"@semantic-release/npm",
175+
{
176+
"pkgRoot": "dist"
177+
}
178+
],
174179
[
175180
"@semantic-release/git",
176181
{

0 commit comments

Comments
 (0)