2019-12-08 04:02:22 +08:00
|
|
|
{
|
|
|
|
"private": true,
|
2024-07-04 00:02:34 +08:00
|
|
|
"packageManager": "npm@10.5.0",
|
2019-12-08 04:02:22 +08:00
|
|
|
"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": {
|
2024-05-14 20:41:03 +08:00
|
|
|
"cz": "cz",
|
2022-05-10 21:30:14 +08:00
|
|
|
"start": "npm --prefix ./demos run start",
|
2023-06-21 07:18:29 +08:00
|
|
|
"dev": "npm run start",
|
2023-02-19 01:27:02 +08:00
|
|
|
"lint": "eslint --cache --quiet --no-error-on-unmatched-pattern ./",
|
|
|
|
"lint:fix": "eslint --fix --cache --quiet --no-error-on-unmatched-pattern ./",
|
2022-07-06 18:59:02 +08:00
|
|
|
"lint:staged": "lint-staged",
|
2024-01-03 17:38:27 +08:00
|
|
|
"test:open": "cypress open --project tests",
|
|
|
|
"test:run": "cypress run --project tests",
|
|
|
|
"test": "npm run build:pm && npm run test:run",
|
2024-07-04 00:02:34 +08:00
|
|
|
"build": "turbo run build",
|
|
|
|
"build:pm": "turbo run build --filter=@tiptap/pm",
|
2024-06-27 23:48:30 +08:00
|
|
|
"build:demos": "npm run build:demos --workspace demos",
|
2024-07-04 00:02:34 +08:00
|
|
|
"build:ci": "turbo run build",
|
|
|
|
"publish": "turbo run build && npm publish --workspace packages --provenance --tag latest --access public",
|
|
|
|
"publish:pre": "turbo run build && npm publish --workspace packages --provenance --tag next --access public",
|
2023-02-03 00:37:33 +08:00
|
|
|
"clean:packages": "rm -rf ./packages/*/dist && rm -rf ./packages/pm/*/dist",
|
|
|
|
"clean:packs": "rm -rf ./packages/*/*.tgz",
|
|
|
|
"reset": "npm run clean:packages && npm run clean:packs && rm -rf ./**/.cache && rm -rf ./**/node_modules && rm -rf ./package-lock.json && npm install",
|
2024-07-04 00:02:34 +08:00
|
|
|
"prepare": "husky install",
|
|
|
|
"turbo": "turbo"
|
2019-12-08 04:02:22 +08:00
|
|
|
},
|
2020-04-17 18:51:49 +08:00
|
|
|
"devDependencies": {
|
2024-06-11 20:24:10 +08:00
|
|
|
"@babel/core": "^7.24.7",
|
|
|
|
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
|
|
|
|
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
|
|
|
|
"@babel/preset-env": "^7.24.7",
|
|
|
|
"@babel/preset-react": "^7.24.7",
|
2024-06-27 23:48:30 +08:00
|
|
|
"@changesets/cli": "^2.27.6",
|
2024-05-11 09:34:37 +08:00
|
|
|
"@commitlint/cli": "^19.3.0",
|
|
|
|
"@commitlint/config-conventional": "^19.2.2",
|
2024-06-11 20:24:10 +08:00
|
|
|
"@cypress/webpack-preprocessor": "^5.17.1",
|
|
|
|
"@rollup/plugin-babel": "^6.0.4",
|
|
|
|
"@rollup/plugin-commonjs": "^26.0.1",
|
|
|
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
2024-06-27 23:48:30 +08:00
|
|
|
"@types/react": "^18.3.3",
|
2024-07-04 00:02:34 +08:00
|
|
|
"@types/react-dom": "^18.3.0",
|
2024-06-11 20:24:10 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
|
|
"@typescript-eslint/parser": "^5.62.0",
|
|
|
|
"babel-loader": "^9.1.3",
|
2024-06-27 23:48:30 +08:00
|
|
|
"cypress": "^10.8.0",
|
2024-05-14 20:41:03 +08:00
|
|
|
"cz-conventional-changelog": "^3.3.0",
|
2024-07-04 00:02:34 +08:00
|
|
|
"eslint": "^8.57.0",
|
2022-06-08 20:10:25 +08:00
|
|
|
"eslint-config-airbnb-base": "^15.0.0",
|
2024-06-11 20:24:10 +08:00
|
|
|
"eslint-plugin-cypress": "^2.15.2",
|
2021-09-22 02:30:23 +08:00
|
|
|
"eslint-plugin-html": "^6.2.0",
|
2024-06-11 20:24:10 +08:00
|
|
|
"eslint-plugin-import": "^2.29.1",
|
2022-06-08 20:10:25 +08:00
|
|
|
"eslint-plugin-simple-import-sort": "^7.0.0",
|
2024-06-11 20:24:10 +08:00
|
|
|
"eslint-plugin-vue": "^9.26.0",
|
|
|
|
"husky": "^8.0.3",
|
|
|
|
"lint-staged": "^13.3.0",
|
|
|
|
"minimist": "^1.2.8",
|
2024-07-04 00:02:34 +08:00
|
|
|
"rollup": "^4.18.0",
|
2023-02-08 18:12:43 +08:00
|
|
|
"rollup-plugin-auto-external": "^2.0.0",
|
|
|
|
"rollup-plugin-sourcemaps": "^0.6.3",
|
2024-06-11 20:24:10 +08:00
|
|
|
"rollup-plugin-typescript2": "^0.36.0",
|
2023-02-03 00:37:33 +08:00
|
|
|
"ts-loader": "9.3.1",
|
2024-06-11 20:24:10 +08:00
|
|
|
"tsup": "^8.1.0",
|
2024-07-04 00:02:34 +08:00
|
|
|
"turbo": "2.0.6",
|
2024-06-11 20:24:10 +08:00
|
|
|
"typescript": "^5.4.5",
|
|
|
|
"webpack": "^5.91.0"
|
|
|
|
},
|
|
|
|
"overrides": {
|
|
|
|
"@rollup/pluginutils": "^5.0.2"
|
2022-09-11 03:12:21 +08:00
|
|
|
},
|
2024-06-27 23:48:30 +08:00
|
|
|
"name": "tiptap"
|
2023-03-29 23:39:20 +08:00
|
|
|
}
|