2019-12-08 04:02:22 +08:00
|
|
|
{
|
|
|
|
"private": true,
|
2024-08-17 06:16:42 +08:00
|
|
|
"packageManager": "npm@10.8.2",
|
2019-12-08 04:02:22 +08:00
|
|
|
"workspaces": [
|
2021-08-25 17:52:20 +08:00
|
|
|
"demos",
|
2024-07-27 18:46:39 +08:00
|
|
|
"shared/*",
|
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-15 18:55:05 +08:00
|
|
|
"serve": "npm run build:demos && npx http-server ./demos/dist -p 3000",
|
2024-07-04 00:02:34 +08:00
|
|
|
"build:ci": "turbo run build",
|
2024-07-04 04:53:35 +08:00
|
|
|
"publish": "npm run build && npm run changeset publish",
|
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",
|
2024-07-04 00:28:14 +08:00
|
|
|
"turbo": "turbo",
|
2024-09-26 21:18:18 +08:00
|
|
|
"changeset": "changeset",
|
|
|
|
"version": "npm run changeset -- version && npm i"
|
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-07-04 00:28:14 +08:00
|
|
|
"@changesets/cli": "^2.27.7",
|
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",
|
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-07-04 00:28:14 +08:00
|
|
|
"cypress": "^10.11.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",
|
2024-08-05 23:46:19 +08:00
|
|
|
"eslint-plugin-react-hooks": "4.6.2",
|
2022-06-08 20:10:25 +08:00
|
|
|
"eslint-plugin-simple-import-sort": "^7.0.0",
|
2024-07-04 00:28:14 +08:00
|
|
|
"eslint-plugin-vue": "^9.27.0",
|
2024-06-11 20:24:10 +08:00
|
|
|
"husky": "^8.0.3",
|
2024-09-17 21:52:02 +08:00
|
|
|
"lint-staged": "^15.2.10",
|
2024-06-11 20:24:10 +08:00
|
|
|
"minimist": "^1.2.8",
|
2023-02-03 00:37:33 +08:00
|
|
|
"ts-loader": "9.3.1",
|
2024-08-07 17:59:44 +08:00
|
|
|
"tsup": "8.2.4",
|
2024-07-04 00:02:34 +08:00
|
|
|
"turbo": "2.0.6",
|
2024-07-04 00:28:14 +08:00
|
|
|
"typescript": "^5.5.3",
|
2024-09-17 21:52:24 +08:00
|
|
|
"webpack": "^5.94.0"
|
2024-06-11 20:24:10 +08:00
|
|
|
},
|
|
|
|
"overrides": {
|
2024-07-04 00:28:14 +08:00
|
|
|
"@rollup/pluginutils": "^5.1.0"
|
2022-09-11 03:12:21 +08:00
|
|
|
},
|
2024-07-04 03:18:43 +08:00
|
|
|
"publishConfig": {
|
|
|
|
"provenance": true
|
|
|
|
},
|
2024-06-27 23:48:30 +08:00
|
|
|
"name": "tiptap"
|
2023-03-29 23:39:20 +08:00
|
|
|
}
|