Skip to content

Commit d7a9860

Browse files
chore: build-rollup -> build
1 parent b56860a commit d7a9860

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/bundlesize.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
run: yarn install
1515

1616
- name: Build ReactTooltip component package
17-
run: yarn build-rollup
17+
run: yarn build
1818

1919
- name: Bundlesize
2020
run: yarn run bundlesize

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
"description": "react tooltip component",
55
"scripts": {
66
"dev-rollup": "node ./prebuild.js --env=development && node --max_old_space_size=2048 ./node_modules/rollup/dist/bin/rollup -c rollup.config.dev.js --watch",
7-
"build-rollup": "node ./prebuild.js --env=production && npm run types && node --max_old_space_size=2048 ./node_modules/rollup/dist/bin/rollup -c rollup.config.prod.js",
7+
"build": "node ./prebuild.js --env=production && npm run types && node --max_old_space_size=2048 ./node_modules/rollup/dist/bin/rollup -c rollup.config.prod.js",
88
"dev": "node ./prebuild.js --env=development && node ./esbuild.config.dev.mjs",
9-
"build": "node ./prebuild.js --env=production && node ./esbuild.config.prod.mjs",
9+
"build-eslint": "node ./prebuild.js --env=production && node ./esbuild.config.prod.mjs",
1010
"types": "node --max_old_space_size=2048 ./node_modules/rollup/dist/bin/rollup -c rollup.config.types.js",
1111
"eslint": "eslint --ext=js --ext=jsx --ext=ts --ext=tsx --fix ./src",
1212
"stylelint": "stylelint \"src/**/*.css\"",
@@ -16,7 +16,7 @@
1616
"esbuild": "esbuild",
1717
"test": "jest",
1818
"postbuild": "npm run types && npm run bundlesize",
19-
"prepublishOnly": "npm run build-rollup"
19+
"prepublishOnly": "npm run build"
2020
},
2121
"types": "dist/react-tooltip.d.ts",
2222
"license": "MIT",

0 commit comments

Comments
 (0)