Skip to content

Visualize Your Ideas With Code

1.3 KB
Raw Blame
{
  "name": "@motion-canvas/2d",
  "version": "3.17.2",
  "description": "A 2D renderer for Motion Canvas",
  "author": "motion-canvas",
  "homepage": "https://motion-canvas.io/",
  "bugs": "https://github.com/motion-canvas/motion-canvas/issues",
  "license": "MIT",
  "main": "lib/index.js",
  "types": "./lib/index.d.ts",
  "scripts": {
    "dev": "tspc -p src/lib -w",
    "build": "npm run build-lib && npm run build-editor",
    "build-lib": "tspc -p src/lib/tsconfig.build.json",
    "build-editor": "rollup -c rollup.editor.mjs",
    "bundle": "rollup -c rollup.config.mjs",
    "test": "vitest"
  },
  "sideEffects": false,
  "repository": {
    "type": "git",
    "url": "git+https://github.com/motion-canvas/motion-canvas.git"
  },
  "files": [
    "lib",
    "editor",
    "src",
    "tsconfig.project.json"
  ],
  "devDependencies": {
    "@motion-canvas/internal": "0.0.0",
    "@motion-canvas/ui": "^3.17.2",
    "@preact/signals": "^1.2.1",
    "clsx": "^2.0.0",
    "jsdom": "^22.1.0",
    "preact": "^10.19.2",
    "vitest": "^0.34.6"
  },
  "dependencies": {
    "@codemirror/language": "^6.10.1",
    "@lezer/common": "^1.2.1",
    "@lezer/highlight": "^1.2.0",
    "@motion-canvas/core": "^3.17.2",
    "code-fns": "^0.8.2",
    "escape-string-regexp": "^5.0.0",
    "mathjax-full": "^3.2.2",
    "parse-svg-path": "^0.1.2"
  }
}