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" ,
2020-09-24 15:35:18 +08:00
"lint" : "eslint --quiet --no-error-on-unmatched-pattern ./" ,
2020-11-18 18:08:49 +08:00
"lint:fix" : "eslint --fix --quiet --no-error-on-unmatched-pattern ./" ,
2022-07-06 18:59:02 +08:00
"lint:staged" : "lint-staged" ,
2020-09-09 18:44:59 +08:00
"test:open" : "cypress open --project tests" ,
2021-02-06 04:06:22 +08:00
"test" : "cypress run --project tests" ,
2022-05-10 21:30:14 +08:00
"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" ,
2022-09-14 09:06:30 +08:00
"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" ,
2022-09-11 03:25:29 +08:00
"publish" : "npm run build:packages && lerna exec --since --no-private -- npm publish --access public" ,
2020-11-18 18:23:33 +08:00
"clean:packages" : "rm -rf ./packages/*/dist" ,
2022-06-08 20:10:25 +08:00
"reset" : "npm run clean:packages && rm -rf ./**/.cache && rm -rf ./**/node_modules && rm -rf ./package-lock.json && npm install" ,
"prepare" : "husky install"
2019-12-08 04:02:22 +08:00
} ,
2020-04-17 18:51:49 +08:00
"devDependencies" : {
2020-11-10 16:21:47 +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" ,
2022-07-07 01:10:10 +08:00
"@lerna/filter-packages" : "^5.0.0" ,
"@lerna/project" : "^5.0.0" ,
2021-02-17 01:24:11 +08:00
"@rollup/plugin-babel" : "^5.3.0" ,
2021-10-25 15:51:33 +08:00
"@rollup/plugin-commonjs" : "^21.0.1" ,
2022-01-10 21:49:26 +08:00
"@rollup/plugin-node-resolve" : "^13.1.3" ,
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" ,
2022-09-11 03:12:21 +08:00
"lerna" : "^5.5.1" ,
2022-07-06 18:59:02 +08:00
"lint-staged" : "^13.0.3" ,
2020-11-07 06:55:30 +08:00
"minimist" : "^1.2.5" ,
2022-02-04 17:21:35 +08:00
"rollup" : "^2.67.0" ,
2020-11-12 04:05:49 +08:00
"rollup-plugin-auto-external" : "^2.0.0" ,
"rollup-plugin-sourcemaps" : "^0.6.3" ,
2022-02-04 17:21:35 +08:00
"rollup-plugin-typescript2" : "^0.31.2" ,
2021-09-22 02:30:23 +08:00
"ts-loader" : "^9.2.6" ,
2022-01-25 17:22:56 +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"
}