mirror of
https://github.com/tenrok/BBob.git
synced 2026-05-15 11:59:37 +03:00
d070a66db3
* chore(lerna): don't publish packages to npm by lerna * chore(lerna): add publish to npm command * fix(github): publish using lerna * chore(lerna): add publish minor * chore(release): publish v2.8.0
72 lines
2.9 KiB
JSON
72 lines
2.9 KiB
JSON
{
|
|
"scripts": {
|
|
"prepublishOnly": "npm run test",
|
|
"bootstrap": "lerna bootstrap",
|
|
"publish-ci": "npm run build && lerna publish from-package --yes --include-merged-tags --conventional-commits",
|
|
"publish-from-packages": "npm run build && lerna publish from-package --yes --include-merged-tags --conventional-commits --create-release github --skip-npm",
|
|
"publish-all": "npm run build && lerna publish --include-merged-tags --conventional-commits --create-release github --skip-npm",
|
|
"publish-patch": "npm run build && lerna publish --include-merged-tags --conventional-commits --create-release github --cd-version patch --skip-npm",
|
|
"publish-minor": "npm run build && lerna publish --include-merged-tags --conventional-commits --create-release github --cd-version minor --skip-npm",
|
|
"size": "lerna run --parallel size",
|
|
"bundlesize": "lerna run --parallel bundlesize",
|
|
"test": "npm run build && lerna run --parallel link && lerna run --parallel test",
|
|
"cover": "lerna run --parallel cover",
|
|
"build": "lerna run --parallel build",
|
|
"lint": "lerna run --parallel link && npm run build && lerna run --parallel lint"
|
|
},
|
|
"author": {
|
|
"name": "Nikolay Kostyurin <jilizart@gmail.com>",
|
|
"url": "https://artkost.ru/"
|
|
},
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@commitlint/cli": "13.2.1",
|
|
"@commitlint/config-conventional": "13.2.0",
|
|
"@rollup/plugin-commonjs": "21.0.0",
|
|
"@rollup/plugin-node-resolve": "13.0.5",
|
|
"@rollup/plugin-replace": "3.0.0",
|
|
"@size-limit/preset-small-lib": "6.0.1",
|
|
"@swc/cli": "0.1.51",
|
|
"@swc/core": "1.2.98",
|
|
"@swc/jest": "0.2.4",
|
|
"bundlesize": "0.18.1",
|
|
"cross-env": "7.0.3",
|
|
"eslint": "7.32.0",
|
|
"eslint-config-airbnb": "18.2.1",
|
|
"eslint-plugin-import": "2.24.2",
|
|
"eslint-plugin-jest": "25.0.1",
|
|
"eslint-plugin-jsx-a11y": "6.4.1",
|
|
"eslint-plugin-react": "7.26.1",
|
|
"husky": "7.0.2",
|
|
"jest": "27.2.5",
|
|
"lerna": "4.0.0",
|
|
"lint-staged": "11.2.3",
|
|
"microtime": "3.0.0",
|
|
"posthtml-render": "^3.0.0",
|
|
"rimraf": "^3.0.2",
|
|
"rollup": "2.58.0",
|
|
"rollup-plugin-gzip": "2.5.0",
|
|
"rollup-plugin-swc": "0.2.0",
|
|
"rollup-plugin-terser": "7.0.2",
|
|
"size-limit": "6.0.1"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"registry": "https://registry.npmjs.org/"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
|
}
|
|
},
|
|
"pkgTasks": {
|
|
"build-commonjs": "@/cross-env BABEL_ENV=commonjs NODE_ENV=production @/swc --config-file ../../.swcrc-commonjs --out-dir lib src",
|
|
"build-es": "@/cross-env BABEL_ENV=es NODE_ENV=production @/swc --out-dir es src",
|
|
"build-umd": "@/cross-env BABEL_ENV=rollup NODE_ENV=production @/rollup --config ../../rollup.config.js",
|
|
"test": "@/jest",
|
|
"cover": "@/jest --config ../../jest.config.js --coverage .",
|
|
"lint": "@/eslint .",
|
|
"bundlesize": "@/cross-env NODE_ENV=production @/bundlesize ."
|
|
}
|
|
}
|