mirror of
https://github.com/tenrok/BBob.git
synced 2026-05-15 11:59:37 +03:00
75 lines
3.1 KiB
JSON
75 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",
|
|
"@nrwl/cli": "15.3.3",
|
|
"@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.3.3",
|
|
"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 ."
|
|
}
|
|
}
|