Skip to content

Commit

Permalink
Build before publish
Browse files Browse the repository at this point in the history
  • Loading branch information
olivier-lando committed Nov 4, 2022
1 parent 44e6c97 commit 7f55eb4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
dist
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ node_modules
test
dist/test
samples
.github
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"tslint": "tslint --project .",
"dev": "webpack-dev-server --host 0.0.0.0 --open --mode development",
"build": "npm run tslint && webpack --mode production",
"test": "npm run tslint && mocha -r ts-node/register -r jsdom-global/register 'test/**/*.ts'"
"test": "npm run tslint && mocha -r ts-node/register -r jsdom-global/register 'test/**/*.ts'",
"prepublishOnly": "npm run build"
},
"devDependencies": {
"@types/chai": "^4.2.14",
Expand Down

0 comments on commit 7f55eb4

Please sign in to comment.