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",
|
|
|
|
"build:packages": "yarn clean:packages && for dir in packages/*; do package=${dir#'packages/'}; rollup -c --scope @tiptap/$package || exit 1; done",
|
2020-11-18 18:23:33 +08:00
|
|
|
"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",
|
2021-02-27 01:47:39 +08:00
|
|
|
"@babel/core": "^7.13.1",
|
|
|
|
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.13.0",
|
|
|
|
"@babel/plugin-proposal-optional-chaining": "^7.13.0",
|
|
|
|
"@babel/preset-env": "^7.13.5",
|
2021-02-26 09:40:22 +08:00
|
|
|
"@babel/preset-react": "^7.12.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-02-17 01:24:11 +08:00
|
|
|
"@rollup/plugin-node-resolve": "^11.2.0",
|
2021-02-27 01:47:39 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.15.2",
|
|
|
|
"@typescript-eslint/parser": "^4.15.2",
|
2021-02-17 01:24:11 +08:00
|
|
|
"cypress": "^6.5.0",
|
|
|
|
"eslint": "^7.20.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-02-17 01:24:11 +08:00
|
|
|
"eslint-plugin-vue": "^7.6.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-02-27 01:47:39 +08:00
|
|
|
"rollup": "^2.40.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-02-27 01:47:39 +08:00
|
|
|
"typescript": "^4.2.2",
|
2020-08-21 05:25:55 +08:00
|
|
|
"vue": "^2.6.12"
|
2019-12-08 04:02:22 +08:00
|
|
|
}
|
|
|
|
}
|