Skip to content

Commit

Permalink
Merge branch 'master' into copy_download
Browse files Browse the repository at this point in the history
  • Loading branch information
yashu2001 authored Jun 3, 2022
2 parents 7fc7cb5 + 933160a commit 0867228
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
13 changes: 11 additions & 2 deletions src/packages/excalidraw/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## @hackerdraw/excalidraw

This is a fork of [@excalidraw/excalidraw](https://github.com/excalidraw/excalidraw) package maintained by [HackerDraw Team](https://www.hackerdraw.com).

If you're planning to embed Excalidraw whiteboard in your project maintained by the Excalidraw team, please refer to : [https://npmjs.com/@excalidraw/excalidraw](https://npmjs.com/@excalidraw/excalidraw).


----

### Excalidraw

Excalidraw exported as a component to directly embed in your projects.
Expand All @@ -7,13 +16,13 @@ Excalidraw exported as a component to directly embed in your projects.
You can use npm

```
npm install react react-dom @excalidraw/excalidraw
npm install react react-dom @hackerdraw/excalidraw
```

or via yarn

```
yarn add react react-dom @excalidraw/excalidraw
yarn add react react-dom @hackerdraw/excalidraw
```

After installation you will see a folder `excalidraw-assets` and `excalidraw-assets-dev` in `dist` directory which contains the assets needed for this app in prod and dev mode respectively.
Expand Down
8 changes: 4 additions & 4 deletions src/packages/excalidraw/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@excalidraw/excalidraw",
"name": "@hackerdraw/excalidraw",
"version": "0.12.7",
"main": "main.js",
"types": "types/packages/excalidraw/index.d.ts",
Expand All @@ -11,7 +11,7 @@
"access": "public"
},
"description": "Excalidraw as a React component",
"repository": "https://github.com/excalidraw/excalidraw",
"repository": "https://github.com/interviewstreet/excalidraw",
"license": "MIT",
"keywords": [
"excalidraw",
Expand Down Expand Up @@ -69,8 +69,8 @@
"webpack-dev-server": "4.7.4",
"webpack-merge": "5.8.0"
},
"bugs": "https://github.com/excalidraw/excalidraw/issues",
"homepage": "https://github.com/excalidraw/excalidraw/tree/master/src/packages/excalidraw",
"bugs": "https://github.com/interviewstreet/excalidraw/issues",
"homepage": "https://github.com/interviewstreet/excalidraw/tree/master/src/packages/excalidraw",
"scripts": {
"gen:types": "tsc --project ../../../tsconfig-types.json",
"build:umd": "rm -rf dist && cross-env NODE_ENV=production webpack --config webpack.prod.config.js && cross-env NODE_ENV=development webpack --config webpack.dev.config.js && yarn gen:types",
Expand Down

0 comments on commit 0867228

Please sign in to comment.