manifold/common/package.json
Sinclair Chen f354c9e118 fix extension import (backend)
In firebase, typescript compiles imports into common js imports
like `const StarterKit = require("@tiptap/starter-kit")`

Even though StarterKit is exported from the cjs file, it gets imported
as undefined. But it magically works if we import *

If you're reading this in the future, consider replacing StarterKit with
the entire list of extensions.
2022-07-06 15:50:31 -07:00

18 lines
353 B
JSON

{
"name": "common",
"version": "1.0.0",
"private": true,
"scripts": {
"verify": "(cd .. && yarn verify)",
"verify:dir": "npx eslint . --max-warnings 0"
},
"sideEffects": false,
"dependencies": {
"@tiptap/starter-kit": "^2.0.0-beta.190",
"lodash": "4.17.21"
},
"devDependencies": {
"@types/lodash": "4.14.178"
}
}