mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-27 14:59:27 +08:00
e46f8e3334
* chore:(core): migrate to tsup * chore: migrate blockquote and bold to tsup * chore: migrated bubble-menu and bullet-list to tsup * chore: migrated more packages to tsup * chore: migrate code and character extensions to tsup * chore: update package.json to simplify build for all packages * chore: move all packages to tsup as a build process * chore: change ci build task * chore: clean up and fix issues related to new build * fix: fix demo build * fix: fix demo build * fix: fix tsconfig files to reference only one source * fix: fix minor ts issues
66 lines
2.4 KiB
JSON
66 lines
2.4 KiB
JSON
{
|
|
"private": true,
|
|
"workspaces": [
|
|
"demos",
|
|
"packages/*"
|
|
],
|
|
"browserslist": [
|
|
"defaults",
|
|
"not IE 11"
|
|
],
|
|
"scripts": {
|
|
"start": "npm --prefix ./demos run start",
|
|
"lint": "eslint --quiet --no-error-on-unmatched-pattern ./",
|
|
"lint:fix": "eslint --fix --quiet --no-error-on-unmatched-pattern ./",
|
|
"lint:staged": "lint-staged",
|
|
"test:open": "cypress open --project tests",
|
|
"test": "cypress run --project tests",
|
|
"build": "npm run clean:packages && lerna run build",
|
|
"build:demos": "npm --prefix ./demos run build:demos",
|
|
"build:ci": "npm run build",
|
|
"release:major": "lerna version major --force-publish",
|
|
"release:major:pre": "lerna version premajor --force-publish",
|
|
"release:minor": "lerna version minor --force-publish",
|
|
"release:minor:pre": "lerna version preminor --force-publish",
|
|
"release:patch": "lerna version patch --force-publish",
|
|
"release:patch:pre": "lerna version prepatch --force-publish",
|
|
"release:pre": "lerna version prerelease --force-publish",
|
|
"publish": "npm run build:packages && lerna exec --since --no-private -- npm publish --access public",
|
|
"pack": "lerna exec -- npm pack",
|
|
"clean:packages": "rm -rf ./packages/*/dist",
|
|
"reset": "npm run clean:packages && rm -rf ./**/.cache && rm -rf ./**/node_modules && rm -rf ./package-lock.json && npm install",
|
|
"prepare": "husky install"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.17.0",
|
|
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.7",
|
|
"@babel/plugin-proposal-optional-chaining": "^7.16.7",
|
|
"@babel/preset-env": "^7.16.11",
|
|
"@babel/preset-react": "^7.16.7",
|
|
"@cypress/webpack-preprocessor": "^5.11.0",
|
|
"@lerna/batch-packages": "^3.16.0",
|
|
"@lerna/filter-packages": "^5.0.0",
|
|
"@lerna/project": "^5.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^5.10.2",
|
|
"@typescript-eslint/parser": "^5.10.2",
|
|
"babel-loader": "^8.2.3",
|
|
"cypress": "^10.8.0",
|
|
"eslint": "^8.17.0",
|
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
"eslint-plugin-cypress": "^2.12.1",
|
|
"eslint-plugin-html": "^6.2.0",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"eslint-plugin-simple-import-sort": "^7.0.0",
|
|
"eslint-plugin-vue": "^9.1.0",
|
|
"husky": "^8.0.1",
|
|
"lerna": "^5.5.1",
|
|
"lint-staged": "^13.0.3",
|
|
"minimist": "^1.2.5",
|
|
"ts-loader": "^9.2.6",
|
|
"tsup": "^6.5.0",
|
|
"typescript": "4.7.4",
|
|
"webpack": "^5.68.0"
|
|
},
|
|
"name": "tiptap"
|
|
}
|