tiptap/package.json
2022-09-10 21:12:21 +02:00

73 lines
3.0 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:demos": "npm --prefix ./demos run build",
"build:ci": "npm run clean:packages && for dir in packages/*; do package=${dir#'packages/'}; rollup -c --ci --scope @tiptap/$package || exit 1; done",
"build:packages": "npm run clean:packages && lerna changed | while read package; do rollup -c --scope $package || exit 1; done",
"build:allpackages": "npm run clean:packages && for dir in packages/*; do package=${dir#'packages/'}; rollup -c --scope @tiptap/$package || exit 1; done",
"release:major": "lerna version major --create-release github",
"release:major:pre": "lerna version premajor --create-release github",
"release:minor": "lerna version minor --create-release github",
"release:minor:pre": "lerna version preminor --create-release github",
"release:patch": "lerna version patch --create-release github",
"release:patch:pre": "lerna version prepatch --create-release github",
"release:pre": "lerna version prerelease --create-release github",
"release": "npm run build:packages && lerna publish",
"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": {
"@atomico/rollup-plugin-sizes": "^1.1.4",
"@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",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-node-resolve": "^13.1.3",
"@typescript-eslint/eslint-plugin": "^5.10.2",
"@typescript-eslint/parser": "^5.10.2",
"babel-loader": "^8.2.3",
"cypress": "^9.4.1",
"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",
"rollup": "^2.67.0",
"rollup-plugin-auto-external": "^2.0.0",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-typescript2": "^0.31.2",
"ts-loader": "^9.2.6",
"typescript": "^4.5.5",
"webpack": "^5.68.0"
},
"name": "tiptap"
}