add basic build script
This commit is contained in:
11
package.json
11
package.json
@@ -12,6 +12,7 @@
|
||||
],
|
||||
"scripts": {
|
||||
"start": "yarn --cwd ./docs start",
|
||||
"build": "rollup -c --scope @tiptap/html",
|
||||
"build:docs": "yarn --cwd ./docs build",
|
||||
"build:packages": "yarn clean:packages && lerna exec -- microbundle --compress",
|
||||
"clean:packages": "rm -rf ./packages/*/dist",
|
||||
@@ -25,6 +26,12 @@
|
||||
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4",
|
||||
"@babel/plugin-proposal-optional-chaining": "^7.11.0",
|
||||
"@babel/preset-env": "^7.11.5",
|
||||
"@lerna/batch-packages": "^3.16.0",
|
||||
"@lerna/filter-packages": "^3.18.0",
|
||||
"@lerna/project": "^3.21.0",
|
||||
"@rollup/plugin-babel": "^5.2.1",
|
||||
"@rollup/plugin-commonjs": "^16.0.0",
|
||||
"@rollup/plugin-node-resolve": "^10.0.0",
|
||||
"@types/prosemirror-commands": "^1.0.3",
|
||||
"@types/prosemirror-history": "^1.0.1",
|
||||
"@types/prosemirror-inputrules": "^1.0.3",
|
||||
@@ -45,6 +52,10 @@
|
||||
"lerna": "^3.22.1",
|
||||
"levenary": "^1.1.1",
|
||||
"microbundle": "^0.12.4",
|
||||
"minimist": "^1.2.5",
|
||||
"rollup": "^2.33.1",
|
||||
"rollup-plugin-terser": "^7.0.2",
|
||||
"rollup-plugin-typescript2": "^0.29.0",
|
||||
"typedoc": "^0.19.2",
|
||||
"typescript": "^4.0.5",
|
||||
"vue": "^2.6.12"
|
||||
|
||||
Reference in New Issue
Block a user