Skip to content

Commit

Permalink
added build script
Browse files Browse the repository at this point in the history
  • Loading branch information
newracket committed Feb 1, 2025
1 parent 9d5f225 commit 381a2d0
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ node_modules
.cache
.next
storybook-static
dist
6 changes: 5 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
src
.github
node_modules
.cache
.next
.next
.storybook
tsconfig.json
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
"name": "@acmucsd/components",
"version": "1.0.6",
"version": "1.0.7",
"description": "Component library for ACMUCSD websites.",
"main": "index.js",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc",
"test": "echo \"Error: no test specified\" && exit 1",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
Expand Down
4 changes: 1 addition & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"allowUnreachableCode": false,
"noFallthroughCasesInSwitch": true,
"target": "es5",
"outDir": "out",
"outDir": "dist",
"declaration": true,
"sourceMap": true,
"esModuleInterop": true,
Expand All @@ -31,10 +31,8 @@
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"jsx": "preserve",
"noEmit": true,
"isolatedModules": true,
"incremental": true,
"baseUrl": ".",
"paths": {
"@/public/*": [
"./public/*"
Expand Down

0 comments on commit 381a2d0

Please sign in to comment.