Skip to content

Commit

Permalink
Merge pull request #9 from emerson-eps/fix-build-issue
Browse files Browse the repository at this point in the history
fix: adding build scriot
  • Loading branch information
shruthirai authored Jan 8, 2022
2 parents 2fbc43c + 4615dd1 commit a0a0c44
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 28 deletions.
13 changes: 7 additions & 6 deletions react-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@
]
},
"private": false,
"main": "src/index.ts",
"main": "dist/index.js",
"scripts": {
"build": "tsc",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"semantic-release": "semantic-release"
},
"dependencies": {
"@testing-library/jest-dom": "^5.16.1",
"@testing-library/react": "^11.2.7",
Expand All @@ -21,11 +27,6 @@
"react-scripts": "4.0.3",
"web-vitals": "^1.1.2"
},
"scripts": {
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"semantic-release": "semantic-release"
},
"repository": {
"type": "git",
"url": "git+https://github.com/emerson-eps/color-tables.git"
Expand Down
44 changes: 22 additions & 22 deletions react-app/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
{
"compilerOptions": {
"baseUrl": "src",
//"outDir": "build",
"module": "es6",
"target": "es6",
//"lib": ["es6", "dom", "es2016", "es2017"],
"sourceMap": true,
"allowJs": true,
"jsx": "react",
"declaration": true,
"moduleResolution": "node",
"forceConsistentCasingInFileNames": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,
"noUnusedLocals": true,
"noUnusedParameters": true
},
"include": ["./src","./src/custom.d.ts"],
"exclude": [ "" ]
"compilerOptions": {
//"baseUrl": "src",
"outDir": "dist",
"module": "es6",
"target": "es6",
//"lib": ["es6", "dom", "es2016", "es2017"],
"sourceMap": true,
"allowJs": true,
"jsx": "react",
"declaration": true,
"moduleResolution": "node",
"forceConsistentCasingInFileNames": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,
"noUnusedLocals": true,
"noUnusedParameters": true
},
"include": ["src",],
"exclude": ["node_modules"]
}

0 comments on commit a0a0c44

Please sign in to comment.