2019-12-08 04:02:22 +08:00
|
|
|
{
|
|
|
|
"private": true,
|
|
|
|
"workspaces": [
|
2021-08-25 17:52:20 +08:00
|
|
|
"demos",
|
2019-12-08 04:02:22 +08:00
|
|
|
"packages/*"
|
|
|
|
],
|
2020-08-21 05:25:55 +08:00
|
|
|
"browserslist": [
|
2021-05-04 16:15:51 +08:00
|
|
|
"defaults",
|
2021-09-18 06:15:24 +08:00
|
|
|
"not IE 11"
|
2020-08-21 05:25:55 +08:00
|
|
|
],
|
2019-12-08 04:02:22 +08:00
|
|
|
"scripts": {
|
2021-09-16 20:41:25 +08:00
|
|
|
"start": "yarn --cwd ./demos 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",
|
2021-08-26 02:48:03 +08:00
|
|
|
"build:demos": "yarn --cwd ./demos 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-09-07 04:43:40 +08:00
|
|
|
"@babel/core": "^7.15.5",
|
2021-06-14 21:02:26 +08:00
|
|
|
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.14.5",
|
|
|
|
"@babel/plugin-proposal-optional-chaining": "^7.14.5",
|
2021-09-15 03:46:02 +08:00
|
|
|
"@babel/preset-env": "^7.15.6",
|
2021-06-14 21:02:26 +08:00
|
|
|
"@babel/preset-react": "^7.14.5",
|
2021-08-26 23:36:20 +08:00
|
|
|
"@cypress/webpack-preprocessor": "^5.9.1",
|
2020-11-07 06:55:30 +08:00
|
|
|
"@lerna/batch-packages": "^3.16.0",
|
2021-09-20 15:39:03 +08:00
|
|
|
"@lerna/filter-packages": "^4.0.0",
|
|
|
|
"@lerna/project": "^4.0.0",
|
2021-02-17 01:24:11 +08:00
|
|
|
"@rollup/plugin-babel": "^5.3.0",
|
2021-09-19 03:05:42 +08:00
|
|
|
"@rollup/plugin-commonjs": "^20.0.0",
|
2021-05-05 15:44:40 +08:00
|
|
|
"@rollup/plugin-node-resolve": "^13.0.0",
|
2021-09-15 03:46:02 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.31.1",
|
|
|
|
"@typescript-eslint/parser": "^4.31.1",
|
2021-09-18 06:10:13 +08:00
|
|
|
"babel-loader": "^8.2.2",
|
2021-09-19 03:05:42 +08:00
|
|
|
"cypress": "^8.4.1",
|
2021-08-09 20:54:24 +08:00
|
|
|
"eslint": "^7.32.0",
|
2020-09-24 05:31:06 +08:00
|
|
|
"eslint-config-airbnb-base": "^14.2.0",
|
2021-09-15 03:46:02 +08:00
|
|
|
"eslint-plugin-cypress": "^2.12.1",
|
2020-09-24 05:31:06 +08:00
|
|
|
"eslint-plugin-html": "^6.1.0",
|
2021-08-09 20:54:24 +08:00
|
|
|
"eslint-plugin-import": "^2.24.0",
|
2021-09-19 03:05:42 +08:00
|
|
|
"eslint-plugin-vue": "^7.18.0",
|
2021-09-20 15:39:03 +08:00
|
|
|
"lerna": "^4.0.0",
|
2020-11-07 06:55:30 +08:00
|
|
|
"minimist": "^1.2.5",
|
2021-08-25 05:39:53 +08:00
|
|
|
"rollup": "^2.56.3",
|
2020-11-12 04:05:49 +08:00
|
|
|
"rollup-plugin-auto-external": "^2.0.0",
|
|
|
|
"rollup-plugin-sourcemaps": "^0.6.3",
|
2021-02-19 16:30:49 +08:00
|
|
|
"rollup-plugin-typescript2": "^0.30.0",
|
2021-09-18 06:26:30 +08:00
|
|
|
"ts-loader": "^9.2.5",
|
2021-09-18 06:04:23 +08:00
|
|
|
"typescript": "^4.4.3",
|
|
|
|
"webpack": "^5.53.0"
|
2019-12-08 04:02:22 +08:00
|
|
|
}
|
|
|
|
}
|