Skip to content

Commit

Permalink
chore: prepare publishing (#90)
Browse files Browse the repository at this point in the history
Co-authored-by: Emmanouil Konstantinidis <[email protected]>
  • Loading branch information
ergusto and manosim committed Oct 31, 2023
1 parent 51ddd87 commit 9e7dd6f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "@nearform/quantum",
"version": "0.0.1",
"version": "0.0.4",
"description": "Component library based on the Quantum Design System",
"main": "index.js",
"main": "dist/index.js",
"scripts": {
"build": "tsup",
"lint": "eslint .",
Expand All @@ -11,6 +11,10 @@
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
},
"files": [
"dist/",
"README.md"
],
"repository": {
"type": "git",
"url": "git+https://github.com/nearform/quantum.git"
Expand Down
5 changes: 5 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export { colors } from './colors'
export * from './components/Button'
export * from './components/Checkbox'
export * from './components/Label'
export * from './components/Radio'
4 changes: 2 additions & 2 deletions tsup.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { defineConfig } from 'tsup'

export default defineConfig({
entry: ['src/index.tsx', 'src/global.css', 'src/colors.ts'],
dts: true,
entry: ['src/index.ts', 'src/global.css'],
dts: { entry: ['src/index.ts'] },
clean: true,
sourcemap: true
})

0 comments on commit 9e7dd6f

Please sign in to comment.