Skip to content

Commit 8804b01

Browse files
authored
Merge pull request #16 from mayajs/fix/build
Fix build
2 parents ca6378b + 0e90be1 commit 8804b01

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"conventionalCommits.scopes": ["files", "workflow", "router"]
2+
"conventionalCommits.scopes": ["files", "workflow", "router", "build"]
33
}

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
"rimraf": "rimraf index.js && rimraf index.d.ts && rimraf lib && rimraf interfaces && rimraf types && rimraf utils",
1818
"clean": "npm run rimraf && npm run tgz",
1919
"tgz": "rimraf *.tgz",
20-
"start": "npm run clean && tsc -w",
20+
"package": "node ./scripts/clean-package.js",
21+
"start": "npm run clean && npm run tgz && tsc -w",
22+
"prepack": "npm run clean && npm run package && tsc --outDir .",
2123
"release": "semantic-release --branches main"
2224
},
2325
"repository": {

0 commit comments

Comments
 (0)