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": {
|
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",
|
2023-02-08 18:12:43 +08:00
|
|
|
"build": "lerna run build",
|
2023-02-03 00:37:33 +08:00
|
|
|
"build:pm": "npm --prefix ./packages/pm run build",
|
2023-01-25 17:19:51 +08:00
|
|
|
"build:demos": "npm --prefix ./demos run build:demos",
|
|
|
|
"build:ci": "npm run build",
|
2023-03-30 02:26:47 +08:00
|
|
|
"release": "lerna version --no-push --force-publish",
|
2023-03-30 18:36:15 +08:00
|
|
|
"release:major": "lerna version major --no-push --no-git-tag-version --force-publish",
|
2024-02-12 18:51:48 +08:00
|
|
|
"release:major:pre": "lerna version premajor --no-push --no-git-tag-version --force-publish --preid beta --no-changelog",
|
2023-03-30 18:36:15 +08:00
|
|
|
"release:minor": "lerna version minor --no-push --no-git-tag-version --force-publish",
|
2024-02-12 18:51:48 +08:00
|
|
|
"release:minor:pre": "lerna version preminor --no-push --no-git-tag-version --force-publish --preid beta --no-changelog",
|
2023-03-30 18:36:15 +08:00
|
|
|
"release:patch": "lerna version patch --no-push --no-git-tag-version --force-publish",
|
2024-02-12 18:51:48 +08:00
|
|
|
"release:patch:pre": "lerna version prepatch --no-push --no-git-tag-version --force-publish --preid beta --no-changelog",
|
|
|
|
"release:pre": "lerna version prerelease --no-push --no-git-tag-version --force-publish --preid beta --no-changelog",
|
2023-03-28 21:18:09 +08:00
|
|
|
"publish": "npm run build && lerna exec --since --no-private -- npm publish --tag latest --access public",
|
2023-03-27 23:46:58 +08:00
|
|
|
"publish:pre": "npm run build && lerna exec --since --no-private -- npm publish --tag next --access public",
|
2023-02-03 00:37:33 +08:00
|
|
|
"pack": "npm run clean:packs && lerna exec -- npm pack",
|
|
|
|
"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",
|
2022-06-08 20:10:25 +08:00
|
|
|
"prepare": "husky install"
|
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-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",
|
2020-11-07 06:55:30 +08:00
|
|
|
"@lerna/batch-packages": "^3.16.0",
|
2024-06-11 20:24:10 +08:00
|
|
|
"@lerna/filter-packages": "^6.4.1",
|
|
|
|
"@lerna/project": "^6.4.1",
|
|
|
|
"@rollup/plugin-babel": "^6.0.4",
|
|
|
|
"@rollup/plugin-commonjs": "^26.0.1",
|
|
|
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
|
|
"@types/react": "^18.3.3",
|
|
|
|
"@types/react-dom": "^18.3.0",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
|
|
"@typescript-eslint/parser": "^5.62.0",
|
|
|
|
"babel-loader": "^9.1.3",
|
|
|
|
"cypress": "^10.11.0",
|
2024-05-14 20:41:03 +08:00
|
|
|
"cz-conventional-changelog": "^3.3.0",
|
2024-06-11 20:24:10 +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",
|
|
|
|
"lerna": "^8.1.3",
|
|
|
|
"lint-staged": "^13.3.0",
|
|
|
|
"minimist": "^1.2.8",
|
|
|
|
"rollup": "^4.18.0",
|
2023-02-08 18:12:43 +08:00
|
|
|
"rollup-plugin-auto-external": "^2.0.0",
|
2024-06-11 20:24:10 +08:00
|
|
|
"rollup-plugin-sizes": "^1.0.6",
|
2023-02-08 18:12:43 +08:00
|
|
|
"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",
|
|
|
|
"typescript": "^5.4.5",
|
|
|
|
"webpack": "^5.91.0"
|
|
|
|
},
|
|
|
|
"overrides": {
|
|
|
|
"@rollup/pluginutils": "^5.0.2"
|
2022-09-11 03:12:21 +08:00
|
|
|
},
|
2024-05-14 20:41:03 +08:00
|
|
|
"name": "tiptap",
|
|
|
|
"config": {
|
|
|
|
"commitizen": {
|
|
|
|
"path": "./node_modules/cz-conventional-changelog"
|
|
|
|
}
|
|
|
|
}
|
2023-03-29 23:39:20 +08:00
|
|
|
}
|