aboutsummaryrefslogtreecommitdiffstats
path: root/packages/math/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'packages/math/package.json')
-rw-r--r--packages/math/package.json59
1 files changed, 59 insertions, 0 deletions
diff --git a/packages/math/package.json b/packages/math/package.json
new file mode 100644
index 0000000..a60c971
--- /dev/null
+++ b/packages/math/package.json
@@ -0,0 +1,59 @@
+{
+ "name": "@excalidraw/math",
+ "version": "0.1.0",
+ "type": "module",
+ "types": "./dist/types/math/index.d.ts",
+ "main": "./dist/prod/index.js",
+ "module": "./dist/prod/index.js",
+ "exports": {
+ ".": {
+ "development": "./dist/dev/index.js",
+ "production": "./dist/prod/index.js",
+ "default": "./dist/prod/index.js"
+ },
+ "./*": {
+ "types": "./../math/dist/types/math/*"
+ }
+ },
+ "files": [
+ "dist/*"
+ ],
+ "description": "Excalidraw math functions",
+ "publishConfig": {
+ "access": "public"
+ },
+ "license": "MIT",
+ "keywords": [
+ "excalidraw",
+ "excalidraw-math",
+ "math",
+ "vector",
+ "algebra",
+ "2d"
+ ],
+ "browserslist": {
+ "production": [
+ ">0.2%",
+ "not dead",
+ "not ie <= 11",
+ "not op_mini all",
+ "not safari < 12",
+ "not kaios <= 2.5",
+ "not edge < 79",
+ "not chrome < 70",
+ "not and_uc < 13",
+ "not samsung < 10"
+ ],
+ "development": [
+ "last 1 chrome version",
+ "last 1 firefox version",
+ "last 1 safari version"
+ ]
+ },
+ "bugs": "https://github.com/excalidraw/excalidraw/issues",
+ "repository": "https://github.com/excalidraw/excalidraw",
+ "scripts": {
+ "gen:types": "rm -rf types && tsc",
+ "build:esm": "rm -rf dist && node ../../scripts/buildMath.js && yarn gen:types"
+ }
+}