mirror of
https://github.com/tenrok/BBob.git
synced 2026-05-15 11:59:37 +03:00
2d1a08ba9a
* chore: fix swc + rollup transform * chore: fix pkg-task args parsing * chore: update lerna, rollup and swc to build proper es6 files * chore: fix swc build for es targets * ci: nodes matrix to newest versions * ci: rollup to mjs, swc to json * ci: add canary publish * ci: no git tag for canary * ci: no private publish for canary * ci: remove --canary from publish-canary * fix: remove gitHead from package.json * fix: tests setup * fix: bbob plugin helper imports * fix: plugin helper build priority and circular deps * fix: add nx for parallel build * fix: npm ci * fix: code ql * fix: remove exports directive * fix: rollup build * fix: vue2 test and minify * fix: bundle size limits * feat: bundlephobia pr review * feat: bundlephobia more popular action * feat: publish branch to npm * fix: secret NPM token * fix: bundlephobia version * fix: remove bundlephobia checker * fix: npm publish in PR * chore: release 2.8.3 * chore: fix test runs on CI, removed 14.x version * fix: sync package-lock * fix: remove lock files in sub packages * fix: bundlesize > bundlesize2 * fix: update lock files * fix: lock file in vue2-example
74 lines
3.1 KiB
JSON
74 lines
3.1 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-canary": "npm run build && lerna publish --yes --include-merged-tags --conventional-commits --no-private --no-git-tag-version",
|
|
"publish-from-packages": "npm run build && lerna publish from-package --yes --include-merged-tags --conventional-commits --create-release github",
|
|
"publish-all": "npm run build && lerna publish --include-merged-tags --conventional-commits --create-release github --skip-npm",
|
|
"publish-patch": "npm run build && lerna version patch --include-merged-tags --conventional-commits --no-git-tag-version --no-private",
|
|
"publish-minor": "npm run build && lerna version minor --include-merged-tags --conventional-commits --no-git-tag-version --no-private",
|
|
"size": "nx run-many --target=size",
|
|
"bundlesize": "nx run-many --target=bundlesize",
|
|
"test": "npm run build && nx run-many --target=link && nx run-many --target=test",
|
|
"cover": "nx run-many --target=cover",
|
|
"build": "nx run-many --target=build",
|
|
"lint": "nx run-many --target=link && npm run build && nx run-many --target=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": "23.0.2",
|
|
"@rollup/plugin-node-resolve": "15.0.1",
|
|
"@rollup/plugin-replace": "5.0.1",
|
|
"@size-limit/preset-small-lib": "6.0.1",
|
|
"@swc/cli": "0.1.57",
|
|
"@swc/core": "1.3.16",
|
|
"@swc/jest": "0.2.23",
|
|
"bundlesize2": "0.0.31",
|
|
"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",
|
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
"husky": "7.0.2",
|
|
"jest": "27.2.5",
|
|
"lerna": "6.0.3",
|
|
"lint-staged": "11.2.3",
|
|
"microtime": "3.0.0",
|
|
"nx": "15.2.1",
|
|
"posthtml-render": "^3.0.0",
|
|
"rimraf": "^3.0.2",
|
|
"rollup": "3.3.0",
|
|
"rollup-plugin-gzip": "3.1.0",
|
|
"rollup-plugin-swc3": "0.7.0",
|
|
"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.json --out-dir lib src",
|
|
"build-es": "@/cross-env BABEL_ENV=es NODE_ENV=production @/swc --config-file ../../.swcrc.json --out-dir es src",
|
|
"build-umd": "@/cross-env BABEL_ENV=rollup NODE_ENV=production @/rollup --config ../../rollup.config.mjs",
|
|
"test": "@/jest",
|
|
"cover": "@/jest --config ../../jest.config.js --coverage .",
|
|
"lint": "@/eslint .",
|
|
"bundlesize": "npm run build && @/cross-env NODE_ENV=production @/bundlesize ."
|
|
}
|
|
}
|