tiptap/package.json
bdbch 58e43bb2ae
switch from lerna to changesets for versioning and publishing (#5274)
* chore: get rid of lerna and install changesets

* chore: dont ignore demos in changesets

* chore: add deprecation notice for global CHANGELOG.md

* chore: remove commitlint from husky

* update package-lock

* join pre track for develop

* add new publish workflow with changesets

* update CONTRIBUTING guidelines

* fix typo in CONTRIBUTING

* update PR template

* rename release script to publish

* added pre actions

* use singular workflow for publishing
2024-06-27 17:48:30 +02:00

77 lines
2.8 KiB
JSON

{
"private": true,
"workspaces": [
"demos",
"packages/*"
],
"browserslist": [
"defaults",
"not IE 11"
],
"scripts": {
"cz": "cz",
"start": "npm --prefix ./demos run start",
"dev": "npm run start",
"lint": "eslint --cache --quiet --no-error-on-unmatched-pattern ./",
"lint:fix": "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": "npm run build:pm && npm run test:run",
"build": "npm run build --workspace packages",
"build:pm": "npm run build --workspace packages/pm",
"build:demos": "npm run build:demos --workspace demos",
"build:ci": "npm run build",
"publish": "npm run build && npm run publish --workspace packages --tag latest --access public",
"publish:pre": "npm run build && npm run publish --workspace packages --tag next --access public",
"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",
"prepare": "husky install"
},
"devDependencies": {
"@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",
"@changesets/cli": "^2.27.6",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@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",
"@types/react-dom": "^18.3.0",
"@types/react": "^18.3.3",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"babel-loader": "^9.1.3",
"cypress": "^10.8.0",
"cz-conventional-changelog": "^3.3.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-cypress": "^2.15.2",
"eslint-plugin-html": "^6.2.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-vue": "^9.26.0",
"eslint": "^8.57.0",
"husky": "^8.0.3",
"lint-staged": "^13.3.0",
"minimist": "^1.2.8",
"rollup-plugin-auto-external": "^2.0.0",
"rollup-plugin-sizes": "^1.0.6",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-typescript2": "^0.36.0",
"rollup": "^4.18.0",
"ts-loader": "9.3.1",
"tsup": "^8.1.0",
"typescript": "^5.4.5",
"webpack": "^5.91.0"
},
"overrides": {
"@rollup/pluginutils": "^5.0.2"
},
"name": "tiptap"
}