mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-06-07 09:25:29 +08:00
90 lines
3.0 KiB
JSON
90 lines
3.0 KiB
JSON
{
|
|
"name": "tiptap",
|
|
"private": true,
|
|
"packageManager": "pnpm@9.15.4",
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"browserslist": [
|
|
"defaults",
|
|
"not IE 11"
|
|
],
|
|
"scripts": {
|
|
"cz": "cz",
|
|
"start": "pnpm --prefix ./demos run start",
|
|
"dev": "pnpm run start",
|
|
"lint": "turbo run lint",
|
|
"lint:fix": "prettier -w --log-level warn . && eslint --fix --cache --quiet --no-error-on-unmatched-pattern .",
|
|
"lint:staged": "lint-staged",
|
|
"test:open": "cypress open --project tests",
|
|
"test:run": "cypress run --project tests",
|
|
"test": "turbo run build && pnpm run test:run",
|
|
"build": "turbo build",
|
|
"build:demos": "pnpm --prefix demos run build:demos",
|
|
"serve": "pnpm run build:demos && http-server ./demos/dist -s -p 3000",
|
|
"build:ci": "turbo run build",
|
|
"publish": "pnpm run build && pnpm publish -r --no-git-checks",
|
|
"clean:packages": "rm -rf ./packages/*/dist && rm -rf ./packages/pm/*/dist && rm -rf ./packages-deprecated/*/dist",
|
|
"clean:packs": "rm -rf ./packages/*/*.tgz && rm -rf ./packages-deprecated/*/*.tgz",
|
|
"reset": "pnpm run clean:packages && pnpm run clean:packs && rm -rf ./**/.cache && rm -rf ./**/node_modules && rm -rf ./package-lock.json && pnpm install",
|
|
"prepare": "husky install",
|
|
"turbo": "turbo",
|
|
"changeset": "changeset",
|
|
"version": "pnpm run changeset -- version && pnpm install --no-frozen-lockfile"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.26.0",
|
|
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
|
|
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
|
|
"@babel/preset-env": "^7.26.0",
|
|
"@babel/preset-react": "^7.26.3",
|
|
"@changesets/cli": "^2.27.11",
|
|
"@commitlint/cli": "^19.6.1",
|
|
"@commitlint/config-conventional": "^19.6.0",
|
|
"@cypress/webpack-preprocessor": "^6.0.2",
|
|
"@testing-library/react": "16.2.0",
|
|
"@types/react": "^18.3.18",
|
|
"@types/react-dom": "^18.3.5",
|
|
"@typescript-eslint/eslint-plugin": "^8.19.0",
|
|
"@typescript-eslint/parser": "^8.19.0",
|
|
"babel-loader": "^9.2.1",
|
|
"cypress": "^14.0.0",
|
|
"cz-conventional-changelog": "^3.3.0",
|
|
"eslint": "^8.57.1",
|
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
"eslint-config-prettier": "9.1.0",
|
|
"eslint-plugin-cypress": "^2.15.2",
|
|
"eslint-plugin-html": "^6.2.0",
|
|
"eslint-plugin-import": "^2.31.0",
|
|
"eslint-plugin-react-hooks": "4.6.2",
|
|
"eslint-plugin-simple-import-sort": "^7.0.0",
|
|
"eslint-plugin-vue": "^9.32.0",
|
|
"http-server": "14.1.1",
|
|
"husky": "^8.0.3",
|
|
"lint-staged": "^15.3.0",
|
|
"lowlight": "^3.3.0",
|
|
"minimist": "^1.2.8",
|
|
"pkg-pr-new": "0.0.32",
|
|
"prettier": "3.3.3",
|
|
"react": "^18.0.0",
|
|
"tinyglobby": "0.2.10",
|
|
"ts-loader": "9.3.1",
|
|
"tsup": "^8.3.5",
|
|
"turbo": "2.3.3",
|
|
"typescript": "^5.7.3",
|
|
"webpack": "^5.97.1"
|
|
},
|
|
"overrides": {
|
|
"@rollup/pluginutils": "^5.1.4"
|
|
},
|
|
"publishConfig": {
|
|
"provenance": true
|
|
},
|
|
"lint-staged": {
|
|
"./**/*.{ts,tsx,js,jsx,vue}": [
|
|
"prettier --write",
|
|
"eslint --fix --quiet --no-error-on-unmatched-pattern"
|
|
]
|
|
}
|
|
}
|