Skip to content

Commit 38fcb70

Browse files
committed
chore: rename package script to build
"build" seems to be the more appropriate term for what we're doing here. Part of #343.
1 parent 172d43d commit 38fcb70

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README_js.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,10 @@ uuid(); // ⇨ '1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed'
115115
There is experimental native ESM support for [the browser](./examples/browser-esmodules/) but it
116116
should not be considered ready for production use and may change or disappear in future releases.
117117

118-
To run the examples you must first build a dist package of this library in the module root:
118+
To run the examples you must first create a dist build of this library in the module root:
119119

120120
```
121-
npm run package
121+
npm run build
122122
```
123123

124124
## API

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,15 @@
5050
"eslint:check": "eslint src/ test/ examples/ *.js",
5151
"eslint:fix": "eslint --fix src/ test/ examples/ *.js",
5252
"test": "BABEL_ENV=commonjs jest test/unit/",
53-
"pretest:browser": "npm run package && npm-run-all --parallel examples:**",
53+
"pretest:browser": "npm run build && npm-run-all --parallel examples:**",
5454
"test:browser": "BABEL_ENV=commonjs jest --forceExit --verbose test/browser/${BROWSER:-}*",
5555
"prettier:check": "prettier --ignore-path .prettierignore --check '**/*.{js,jsx,json,md}'",
5656
"prettier:fix": "prettier --ignore-path .prettierignore --write '**/*.{js,jsx,json,md}'",
5757
"ci": "npm run lint && npm run test && npm run prettier:check && npm run docs:diff",
5858
"md": "runmd --watch --output=README.md README_js.md",
59-
"docs": "( node --version | grep -q 'v12' ) && ( npm run package && runmd --output=README.md README_js.md )",
59+
"docs": "( node --version | grep -q 'v12' ) && ( npm run build && runmd --output=README.md README_js.md )",
6060
"docs:diff": "( node --version | grep -vq 'v12' ) || ( npm run docs && git diff --quiet README.md )",
61-
"package": "./scripts/package.sh",
61+
"build": "./scripts/build.sh",
6262
"release": "standard-version"
6363
},
6464
"repository": {
File renamed without changes.

0 commit comments

Comments
 (0)