2019-12-08 04:02:22 +08:00
|
|
|
{
|
|
|
|
"private": true,
|
|
|
|
"workspaces": [
|
2020-04-17 18:51:49 +08:00
|
|
|
"docs",
|
2019-12-08 04:02:22 +08:00
|
|
|
"packages/*"
|
|
|
|
],
|
2020-08-21 05:25:55 +08:00
|
|
|
"browserslist": [
|
|
|
|
"> 1%",
|
|
|
|
"last 2 versions",
|
|
|
|
"not IE <= 11",
|
|
|
|
"not IE_Mob <= 11"
|
|
|
|
],
|
2019-12-08 04:02:22 +08:00
|
|
|
"scripts": {
|
2020-04-17 18:51:49 +08:00
|
|
|
"start": "yarn --cwd ./docs start",
|
2020-09-24 15:35:18 +08:00
|
|
|
"lint": "eslint --quiet --no-error-on-unmatched-pattern ./",
|
2020-11-18 18:08:49 +08:00
|
|
|
"lint:fix": "eslint --fix --quiet --no-error-on-unmatched-pattern ./",
|
2020-09-09 18:44:59 +08:00
|
|
|
"test:open": "cypress open --project tests",
|
|
|
|
"test": "cypress run --project tests",
|
2020-11-18 18:23:33 +08:00
|
|
|
"build:docs": "yarn --cwd ./docs build",
|
|
|
|
"build:ci": "yarn clean:packages && for dir in packages/*; do package=${dir#'packages/'}; rollup -c --ci --scope @tiptap/$package; done",
|
|
|
|
"build:packages": "yarn clean:packages && for dir in packages/*; do package=${dir#'packages/'}; rollup -c --scope @tiptap/$package; done",
|
|
|
|
"release": "yarn lint && yarn test && yarn build:packages && lerna publish",
|
|
|
|
"clean:packages": "rm -rf ./packages/*/dist",
|
2020-09-12 05:30:01 +08:00
|
|
|
"reset": "yarn clean:packages && rm -rf ./**/.cache && rm -rf ./**/node_modules && rm -rf ./yarn.lock && yarn install"
|
2019-12-08 04:02:22 +08:00
|
|
|
},
|
2020-04-17 18:51:49 +08:00
|
|
|
"devDependencies": {
|
2020-11-10 16:21:47 +08:00
|
|
|
"@atomico/rollup-plugin-sizes": "^1.1.4",
|
2020-11-27 03:47:50 +08:00
|
|
|
"@babel/core": "^7.12.9",
|
2020-10-01 01:19:42 +08:00
|
|
|
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4",
|
2020-11-24 00:11:48 +08:00
|
|
|
"@babel/plugin-proposal-optional-chaining": "^7.12.7",
|
|
|
|
"@babel/preset-env": "^7.12.7",
|
2020-11-07 06:55:30 +08:00
|
|
|
"@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",
|
2020-11-27 03:47:50 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.8.2",
|
|
|
|
"@typescript-eslint/parser": "^4.8.2",
|
2020-11-27 03:55:46 +08:00
|
|
|
"cypress": "^6.0.0",
|
2020-11-24 00:11:48 +08:00
|
|
|
"eslint": "^7.14.0",
|
2020-09-24 05:31:06 +08:00
|
|
|
"eslint-config-airbnb-base": "^14.2.0",
|
2020-10-01 03:56:43 +08:00
|
|
|
"eslint-plugin-cypress": "^2.11.2",
|
2020-09-24 05:31:06 +08:00
|
|
|
"eslint-plugin-html": "^6.1.0",
|
2020-10-01 03:56:43 +08:00
|
|
|
"eslint-plugin-import": "^2.22.1",
|
2020-10-13 02:45:02 +08:00
|
|
|
"eslint-plugin-vue": "^7.0.1",
|
2020-07-15 17:44:25 +08:00
|
|
|
"lerna": "^3.22.1",
|
2020-11-07 06:55:30 +08:00
|
|
|
"minimist": "^1.2.5",
|
2020-11-18 18:42:00 +08:00
|
|
|
"rollup": "^2.33.3",
|
2020-11-12 04:05:49 +08:00
|
|
|
"rollup-plugin-auto-external": "^2.0.0",
|
|
|
|
"rollup-plugin-sourcemaps": "^0.6.3",
|
2020-11-07 06:55:30 +08:00
|
|
|
"rollup-plugin-terser": "^7.0.2",
|
|
|
|
"rollup-plugin-typescript2": "^0.29.0",
|
2020-11-10 19:43:09 +08:00
|
|
|
"rollup-plugin-vue": "5",
|
2020-10-01 03:56:43 +08:00
|
|
|
"typedoc": "^0.19.2",
|
2020-11-24 00:11:48 +08:00
|
|
|
"typescript": "^4.1.2",
|
2020-08-21 05:25:55 +08:00
|
|
|
"vue": "^2.6.12"
|
2019-12-08 04:02:22 +08:00
|
|
|
}
|
|
|
|
}
|