Skip to content

Commit

Permalink
fix: run build before publish
Browse files Browse the repository at this point in the history
  • Loading branch information
sastan committed Jun 23, 2020
1 parent 46a014b commit e234cb7
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
17 changes: 14 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,11 @@
"jsx-runtime.js"
],
"scripts": {
"prebuild": "rimraf dist",
"build": "rollup -c && echo '{\"type\":\"module\"}' > dist/esm/package.json",
"lint": "xo",
"fix": "xo --fix",
"fix": "xo --fix && prettier --ignore-path .gitignore --write .",
"prepublishOnly": "npm run build",
"test": "jest",
"test:watch": "npm test -- --watch",
"test:coverage": "npm test -- --coverage"
Expand Down Expand Up @@ -82,6 +84,7 @@
"jest": "^26.0.1",
"jest-environment-jsdom-sixteen": "^1.0.3",
"prettier": "^2.0.5",
"rimraf": "^3.0.2",
"rollup": "^2.17.1",
"rollup-plugin-node-externals": "^2.2.0",
"rollup-plugin-svelte": "^5.2.3",
Expand Down

0 comments on commit e234cb7

Please sign in to comment.