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",
|
2021-02-06 04:06:22 +08:00
|
|
|
"test": "cypress run --project tests",
|
2020-11-18 18:23:33 +08:00
|
|
|
"build:docs": "yarn --cwd ./docs build",
|
2021-01-28 17:29:27 +08:00
|
|
|
"build:ci": "yarn clean:packages && for dir in packages/*; do package=${dir#'packages/'}; rollup -c --ci --scope @tiptap/$package || exit 1; done",
|
2021-03-08 21:26:13 +08:00
|
|
|
"build:packages": "yarn clean:packages && lerna changed | while read package; do rollup -c --scope $package || exit 1; done",
|
2021-03-09 01:06:23 +08:00
|
|
|
"build:allpackages": "yarn clean:packages && for dir in packages/*; do package=${dir#'packages/'}; rollup -c --scope @tiptap/$package || exit 1; done",
|
2021-03-18 20:56:33 +08:00
|
|
|
"release": "yarn build:packages && lerna publish",
|
2020-11-18 18:23:33 +08:00
|
|
|
"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",
|
2021-05-03 17:23:21 +08:00
|
|
|
"@babel/core": "^7.14.0",
|
2021-02-27 01:47:39 +08:00
|
|
|
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.13.0",
|
2021-03-25 05:27:10 +08:00
|
|
|
"@babel/plugin-proposal-optional-chaining": "^7.13.12",
|
2021-05-04 14:54:24 +08:00
|
|
|
"@babel/preset-env": "^7.14.1",
|
2021-03-29 23:23:45 +08:00
|
|
|
"@babel/preset-react": "^7.13.13",
|
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",
|
2021-02-17 01:24:11 +08:00
|
|
|
"@rollup/plugin-babel": "^5.3.0",
|
2020-12-14 18:03:05 +08:00
|
|
|
"@rollup/plugin-commonjs": "^17.0.0",
|
2021-03-29 23:23:45 +08:00
|
|
|
"@rollup/plugin-node-resolve": "^11.2.1",
|
2021-03-25 05:27:10 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.19.0",
|
|
|
|
"@typescript-eslint/parser": "^4.19.0",
|
2021-05-03 17:23:21 +08:00
|
|
|
"cypress": "^7.2.0",
|
2021-04-27 05:25:04 +08:00
|
|
|
"eslint": "^7.25.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",
|
2021-03-25 05:27:10 +08:00
|
|
|
"eslint-plugin-vue": "^7.8.0",
|
2020-07-15 17:44:25 +08:00
|
|
|
"lerna": "^3.22.1",
|
2020-11-07 06:55:30 +08:00
|
|
|
"minimist": "^1.2.5",
|
2021-05-04 14:54:24 +08:00
|
|
|
"rollup": "^2.47.0",
|
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",
|
2021-02-19 16:30:49 +08:00
|
|
|
"rollup-plugin-typescript2": "^0.30.0",
|
2020-11-10 19:43:09 +08:00
|
|
|
"rollup-plugin-vue": "5",
|
2021-04-14 15:48:38 +08:00
|
|
|
"typescript": "^4.2.4",
|
2020-08-21 05:25:55 +08:00
|
|
|
"vue": "^2.6.12"
|
2019-12-08 04:02:22 +08:00
|
|
|
}
|
|
|
|
}
|