@misenkashari/excalidraw-common 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -0
- package/package.json +65 -0
package/README.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# @excalidraw/common
|
|
2
|
+
|
|
3
|
+
## Install
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
npm install @excalidraw/common
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
If you prefer Yarn over npm, use this command to install the Excalidraw utils package:
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
yarn add @excalidraw/common
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
With PNPM, similarly install the package with this command:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
pnpm add @excalidraw/common
|
|
19
|
+
```
|
package/package.json
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@misenkashari/excalidraw-common",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"types": "./dist/types/common/src/index.d.ts",
|
|
6
|
+
"main": "./dist/prod/index.js",
|
|
7
|
+
"module": "./dist/prod/index.js",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/types/common/src/index.d.ts",
|
|
11
|
+
"development": "./dist/dev/index.js",
|
|
12
|
+
"production": "./dist/prod/index.js",
|
|
13
|
+
"default": "./dist/prod/index.js"
|
|
14
|
+
},
|
|
15
|
+
"./*": {
|
|
16
|
+
"types": "./dist/types/common/src/*.d.ts",
|
|
17
|
+
"development": "./dist/dev/index.js",
|
|
18
|
+
"production": "./dist/prod/index.js",
|
|
19
|
+
"default": "./dist/prod/index.js"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"files": [
|
|
23
|
+
"dist/*"
|
|
24
|
+
],
|
|
25
|
+
"description": "Excalidraw common functions, constants, etc.",
|
|
26
|
+
"publishConfig": {
|
|
27
|
+
"access": "public"
|
|
28
|
+
},
|
|
29
|
+
"license": "MIT",
|
|
30
|
+
"keywords": [
|
|
31
|
+
"excalidraw",
|
|
32
|
+
"excalidraw-utils"
|
|
33
|
+
],
|
|
34
|
+
"browserslist": {
|
|
35
|
+
"production": [
|
|
36
|
+
">0.2%",
|
|
37
|
+
"not dead",
|
|
38
|
+
"not ie <= 11",
|
|
39
|
+
"not op_mini all",
|
|
40
|
+
"not safari < 12",
|
|
41
|
+
"not kaios <= 2.5",
|
|
42
|
+
"not edge < 79",
|
|
43
|
+
"not chrome < 70",
|
|
44
|
+
"not and_uc < 13",
|
|
45
|
+
"not samsung < 10"
|
|
46
|
+
],
|
|
47
|
+
"development": [
|
|
48
|
+
"last 1 chrome version",
|
|
49
|
+
"last 1 firefox version",
|
|
50
|
+
"last 1 safari version"
|
|
51
|
+
]
|
|
52
|
+
},
|
|
53
|
+
"bugs": "https://github.com/excalidraw/excalidraw/issues",
|
|
54
|
+
"repository": "https://github.com/excalidraw/excalidraw",
|
|
55
|
+
"scripts": {
|
|
56
|
+
"gen:types": "rimraf types && tsc",
|
|
57
|
+
"build:esm": "rimraf dist && node ../../scripts/buildBase.js && yarn gen:types"
|
|
58
|
+
},
|
|
59
|
+
"dependencies": {
|
|
60
|
+
"tinycolor2": "1.6.0"
|
|
61
|
+
},
|
|
62
|
+
"devDependencies": {
|
|
63
|
+
"@types/tinycolor2": "1.4.6"
|
|
64
|
+
}
|
|
65
|
+
}
|