Skip to content

Commit

Permalink
chore: rename package script to build
Browse files Browse the repository at this point in the history
"build" seems to be the more appropriate term for what we're doing here.

Part of #343.
  • Loading branch information
ctavan committed Jan 20, 2020
1 parent 26987bc commit b8ae063
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README_js.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,10 @@ uuid(); // ⇨ '1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed'
There is experimental native ESM support for [the browser](./examples/browser-esmodules/) but it
should not be considered ready for production use and may change or disappear in future releases.

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

```
npm run package
npm run build
```

## API
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@
"eslint:check": "eslint src/ test/ examples/ *.js",
"eslint:fix": "eslint --fix src/ test/ examples/ *.js",
"test": "BABEL_ENV=commonjs jest test/unit/",
"pretest:browser": "npm run package && npm-run-all --parallel examples:**",
"pretest:browser": "npm run build && npm-run-all --parallel examples:**",
"test:browser": "BABEL_ENV=commonjs jest --forceExit --verbose test/browser/${BROWSER:-}*",
"prettier:check": "prettier --ignore-path .prettierignore --check '**/*.{js,jsx,json,md}'",
"prettier:fix": "prettier --ignore-path .prettierignore --write '**/*.{js,jsx,json,md}'",
"ci": "npm run lint && npm run test && npm run prettier:check && npm run docs:diff",
"md": "runmd --watch --output=README.md README_js.md",
"docs": "( node --version | grep -q 'v12' ) && ( npm run package && runmd --output=README.md README_js.md )",
"docs": "( node --version | grep -q 'v12' ) && ( npm run build && runmd --output=README.md README_js.md )",
"docs:diff": "( node --version | grep -vq 'v12' ) || ( npm run docs && git diff --quiet README.md )",
"package": "./scripts/package.sh",
"build": "./scripts/build.sh",
"release": "standard-version"
},
"repository": {
Expand Down
File renamed without changes.

0 comments on commit b8ae063

Please sign in to comment.