Skip to content

Commit

Permalink
added build folder in gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
Janvi committed Feb 11, 2022
1 parent 9f200dc commit 4421c37
Show file tree
Hide file tree
Showing 7 changed files with 13,131 additions and 1,504 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,4 @@ dist

./vs
.vs/slnx.sqlite
/build
14,589 changes: 13,088 additions & 1,501 deletions package-lock.json

Large diffs are not rendered by default.

26 changes: 23 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,17 @@
"name": "react-email",
"version": "1.0.0",
"description": "react-email",
"main": "index.js",
"main": "build/index.js",
"module": "build/index.es.js",
"files": [
"build"
],
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"rollup": "rollup",
"build": "tsc && rollup -c rollup.config.js"
"build": "tsc && rollup -c rollup.config.js",
"storybook": "start-storybook -p 6006",
"storybook:export": "build-storybook"
},
"repository": {
"type": "git",
Expand All @@ -20,11 +26,25 @@
},
"homepage": "https://github.com/Janvi-Thakkar/react-email#readme",
"devDependencies": {
"@babel/core": "^7.17.2",
"@open-wc/building-rollup": "^2.0.1",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-node-resolve": "^13.1.3",
"@storybook/react": "^6.4.18",
"@types/react": "^17.0.39",
"babel-loader": "^8.2.3",
"babel-preset-react-app": "^10.0.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"rollup": "^2.67.0",
"rollup": "^2.67.2",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-typescript2": "^0.31.2",
"sass": "^1.49.7",
"sass-loader": "^10.2.1",
"typescript": "^4.5.5"
},
"dependencies": {
"postcss": "^8.4.6"
}
}
16 changes: 16 additions & 0 deletions src/TestComponent/TestComponent.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
.test-component {
background-color: white;
border: 1px solid black;
padding: 16px;
width: 360px;
text-align: center;

.heading {
font-size: 64px;
}

&.test-component-secondary {
background-color: black;
color: white;
}
}
Empty file.
File renamed without changes.
3 changes: 3 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import TestComponent from "./TestComponent/TestComponent";

export { TestComponent };

0 comments on commit 4421c37

Please sign in to comment.