forked from stevenpetryk/mafs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
96 lines (96 loc) · 2.72 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"name": "mafs",
"version": "0.21.0",
"license": "MIT",
"author": "Steven Petryk (https://stevenpetryk.com)",
"description": "React components for interactive, animated math visualizations.",
"keywords": [
"math",
"visualization",
"react",
"interactive",
"animation"
],
"homepage": "https://mafs.dev",
"repository": "github:stevenpetryk/mafs",
"source": "src/index.tsx",
"type": "module",
"exports": {
".": {
"import": "./build/index.js",
"require": "./build/index.cjs"
},
"./core.css": "./core.css",
"./font.css": "./font.css"
},
"types": "build/index.d.ts",
"packageManager": "[email protected]",
"engines": {
"node": ">=20.11.0"
},
"files": [
"build/",
"core.css",
"font.css"
],
"scripts": {
"start": "tsx scripts/dev.ts",
"test": "pnpm -s test:unit && pnpm -s test:e2e",
"test:unit": "jest",
"test:e2e": "tsx scripts/testgen.ts && playwright test",
"build": "tsx scripts/build.ts",
"build:docs": "pnpm -s docgen && cd docs && pnpm -s build",
"docgen": "tsx scripts/docgen-cli.ts",
"api-report:update": "pnpm tsc && api-extractor run --local",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"format": "prettier --write .",
"format:check": "prettier --check .",
"prepublishOnly": "pnpm test && pnpm lint && pnpm build",
"publish-branch": "tsx scripts/publish-branch.ts"
},
"devDependencies": {
"@microsoft/api-extractor": "7.40.2",
"@playwright/experimental-ct-react": "^1.48.0",
"@playwright/test": "^1.48.0",
"@swc/core": "^1.3.76",
"@swc/jest": "^0.2.29",
"@types/fs-extra": "^11.0.1",
"@types/jest": "^29.5.3",
"@types/jest-environment-puppeteer": "^5.0.3",
"@types/jest-image-snapshot": "^6.2.0",
"@types/katex": "^0.16.2",
"@types/node": "^20.12.7",
"@types/react": "18.2.18",
"@types/react-dom": "18.2.7",
"@typescript-eslint/eslint-plugin": "^6.4.0",
"@typescript-eslint/parser": "^6.4.0",
"esbuild": "^0.19.2",
"eslint": "^8.47.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-react": "^7.33.1",
"eslint-plugin-react-hooks": "^4.6.0",
"fast-glob": "^3.3.1",
"fs-extra": "^11.1.1",
"jest": "^29.6.2",
"jest-image-snapshot": "^6.2.0",
"prettier": "^3.2.5",
"react": "^18.2.0",
"react-docgen-typescript": "2.2.2",
"react-dom": "^18.2.0",
"resize-observer-polyfill": "^1.5.1",
"tsx": "^4.7.3",
"typescript": "^5.1.6",
"vite": "^4.4.9"
},
"peerDependencies": {
"react": ">=18",
"react-dom": ">=18"
},
"dependencies": {
"@use-gesture/react": "^10.2.27",
"computer-modern": "^0.1.2",
"katex": "^0.16",
"tiny-invariant": "^1.3.1",
"use-resize-observer": "^9"
}
}