Run the build process when a new version is created. Ignore the build artifacts
This commit is contained in:
parent
0274e7a26e
commit
486f83a9f1
|
@ -8,9 +8,10 @@
|
|||
# npm
|
||||
node_modules
|
||||
|
||||
# Don't include the compiled main.js file in the repo.
|
||||
# Don't include the build artifacts in the repo.
|
||||
# They should be uploaded to GitHub releases instead.
|
||||
main.js
|
||||
dist/
|
||||
|
||||
# Exclude sourcemaps
|
||||
*.map
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"scripts": {
|
||||
"dev": "node esbuild.config.mjs",
|
||||
"build": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production",
|
||||
"version": "node version-bump.mjs && git add manifest.json versions.json"
|
||||
"version": "node version-bump.mjs && npm run build && git add manifest.json versions.json"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
|
|
Loading…
Reference in New Issue