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": {
|
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",
|
2023-09-14 23:27:46 +08:00
|
|
|
"release:major:pre": "lerna version premajor --no-push --no-git-tag-version --force-publish --preid rc --no-changelog",
|
2023-03-30 18:36:15 +08:00
|
|
|
"release:minor": "lerna version minor --no-push --no-git-tag-version --force-publish",
|
2023-09-14 23:27:46 +08:00
|
|
|
"release:minor:pre": "lerna version preminor --no-push --no-git-tag-version --force-publish --preid rc --no-changelog",
|
2023-03-30 18:36:15 +08:00
|
|
|
"release:patch": "lerna version patch --no-push --no-git-tag-version --force-publish",
|
2023-09-14 23:27:46 +08:00
|
|
|
"release:patch:pre": "lerna version prepatch --no-push --no-git-tag-version --force-publish --preid rc --no-changelog",
|
|
|
|
"release:pre": "lerna version prerelease --no-push --no-git-tag-version --force-publish --preid rc --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": {
|
2023-02-08 18:12:43 +08:00
|
|
|
"@atomico/rollup-plugin-sizes": "^1.1.4",
|
2022-02-04 17:21:35 +08:00
|
|
|
"@babel/core": "^7.17.0",
|
2022-01-04 17:02:24 +08:00
|
|
|
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.7",
|
|
|
|
"@babel/plugin-proposal-optional-chaining": "^7.16.7",
|
2022-01-25 17:22:56 +08:00
|
|
|
"@babel/preset-env": "^7.16.11",
|
2022-01-04 17:02:24 +08:00
|
|
|
"@babel/preset-react": "^7.16.7",
|
|
|
|
"@cypress/webpack-preprocessor": "^5.11.0",
|
2020-11-07 06:55:30 +08:00
|
|
|
"@lerna/batch-packages": "^3.16.0",
|
2023-02-08 18:12:43 +08:00
|
|
|
"@lerna/filter-packages": "^5.6.2",
|
|
|
|
"@lerna/project": "^5.6.2",
|
|
|
|
"@rollup/plugin-babel": "^5.3.0",
|
|
|
|
"@rollup/plugin-commonjs": "^21.0.1",
|
|
|
|
"@rollup/plugin-node-resolve": "^13.1.3",
|
2023-07-12 00:20:43 +08:00
|
|
|
"@types/react": "^18.2.14",
|
|
|
|
"@types/react-dom": "^18.2.6",
|
2022-02-04 17:21:35 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.10.2",
|
|
|
|
"@typescript-eslint/parser": "^5.10.2",
|
2021-10-25 15:51:33 +08:00
|
|
|
"babel-loader": "^8.2.3",
|
2022-09-26 17:06:01 +08:00
|
|
|
"cypress": "^10.8.0",
|
2022-06-08 20:10:25 +08:00
|
|
|
"eslint": "^8.17.0",
|
|
|
|
"eslint-config-airbnb-base": "^15.0.0",
|
2021-09-15 03:46:02 +08:00
|
|
|
"eslint-plugin-cypress": "^2.12.1",
|
2021-09-22 02:30:23 +08:00
|
|
|
"eslint-plugin-html": "^6.2.0",
|
2022-06-08 20:10:25 +08:00
|
|
|
"eslint-plugin-import": "^2.26.0",
|
|
|
|
"eslint-plugin-simple-import-sort": "^7.0.0",
|
|
|
|
"eslint-plugin-vue": "^9.1.0",
|
|
|
|
"husky": "^8.0.1",
|
2023-03-30 02:26:47 +08:00
|
|
|
"lerna": "^6.6.1",
|
2022-07-06 18:59:02 +08:00
|
|
|
"lint-staged": "^13.0.3",
|
2023-02-08 18:12:43 +08:00
|
|
|
"minimist": "^1.2.7",
|
|
|
|
"rollup": "^2.67.0",
|
|
|
|
"rollup-plugin-auto-external": "^2.0.0",
|
|
|
|
"rollup-plugin-sourcemaps": "^0.6.3",
|
|
|
|
"rollup-plugin-typescript2": "^0.31.2",
|
2023-02-03 00:37:33 +08:00
|
|
|
"ts-loader": "9.3.1",
|
2023-01-25 17:19:51 +08:00
|
|
|
"tsup": "^6.5.0",
|
2023-02-08 18:12:43 +08:00
|
|
|
"typescript": "^4.5.5",
|
2022-02-04 17:21:35 +08:00
|
|
|
"webpack": "^5.68.0"
|
2022-09-11 03:12:21 +08:00
|
|
|
},
|
|
|
|
"name": "tiptap"
|
2023-03-29 23:39:20 +08:00
|
|
|
}
|