prepack script

This commit is contained in:
Jon McClure 2022-08-20 23:44:29 +01:00
parent 9e4c28be88
commit e30d80e017
4 changed files with 5 additions and 4 deletions

View file

@ -1,6 +1,6 @@
---
title: Build error on commit
assignees: hobbes7878, MinamiFunakoshiTR
assignees: hobbes7878
labels: bug
---

View file

@ -11,7 +11,7 @@ Tell us what this PR does or link to any related issues that describe the goal h
### Before submitting, please check that you've
- [ ] Read our [contributing guide](https://github.com/reuters-graphics/graphics-svelte-components/blob/master/CONTRIBUTING.md) at some point
- [ ] Read our [contributing guide](https://github.com/reuters-graphics/graphics-components/blob/master/CONTRIBUTING.md) at some point
- [ ] Formatted you code correctly (i.e., prettier cleaned it up)
- [ ] Documented any new components or features
- [ ] Tagged an editor to review

View file

@ -10,7 +10,8 @@
"new": "node ./bin/newComponent/index.cjs",
"build:package": "node ./bin/buildPackage/index.js",
"build:docs": "build-storybook -o docs",
"build": "npm-run-all build:package build:docs"
"build": "npm-run-all build:package build:docs",
"prepublishOnly": "npm run build:package"
},
"license": "MIT",
"types": "dist/@types/index.d.ts",

View file

@ -10,7 +10,7 @@ const config = {
},
resolve: {
alias: {
'@reuters-graphics/graphics-svelte-components': './src',
'@reuters-graphics/graphics-components': './src',
$lib: './src',
$docs: './src/docs',
},