Skip to content

Commit 381a2d0

Browse files
committed
added build script
1 parent 9d5f225 commit 381a2d0

File tree

4 files changed

+11
-6
lines changed

4 files changed

+11
-6
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ node_modules
22
.cache
33
.next
44
storybook-static
5+
dist

.npmignore

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
src
2+
.github
13
node_modules
24
.cache
3-
.next
5+
.next
6+
.storybook
7+
tsconfig.json

package.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
{
22
"name": "@acmucsd/components",
3-
"version": "1.0.6",
3+
"version": "1.0.7",
44
"description": "Component library for ACMUCSD websites.",
5-
"main": "index.js",
5+
"main": "dist/index.js",
6+
"types": "dist/index.d.ts",
67
"scripts": {
8+
"build": "tsc",
79
"test": "echo \"Error: no test specified\" && exit 1",
810
"storybook": "storybook dev -p 6006",
911
"build-storybook": "storybook build"

tsconfig.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"allowUnreachableCode": false,
2323
"noFallthroughCasesInSwitch": true,
2424
"target": "es5",
25-
"outDir": "out",
25+
"outDir": "dist",
2626
"declaration": true,
2727
"sourceMap": true,
2828
"esModuleInterop": true,
@@ -31,10 +31,8 @@
3131
"skipLibCheck": true,
3232
"forceConsistentCasingInFileNames": true,
3333
"jsx": "preserve",
34-
"noEmit": true,
3534
"isolatedModules": true,
3635
"incremental": true,
37-
"baseUrl": ".",
3836
"paths": {
3937
"@/public/*": [
4038
"./public/*"

0 commit comments

Comments
 (0)