mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-06-03 12:46:37 +00:00
make build no run tests; edit example docs
This commit is contained in:
parent
82bbc8bdbb
commit
208c94989a
2
Makefile
2
Makefile
@ -7,7 +7,7 @@ test: deps
|
||||
npm run test:all -- --exit
|
||||
npx validate-maintainers orbit-db --match --ci
|
||||
|
||||
build: test
|
||||
build:
|
||||
mkdir -p examples/browser/lib/
|
||||
npm run build
|
||||
cp dist/orbitdb.min.js examples/browser/lib/orbitdb.min.js
|
||||
|
@ -160,13 +160,15 @@ to redo the local package-lock.json with working native dependencies.
|
||||
### Browser example
|
||||
|
||||
```
|
||||
make
|
||||
npm install # if not yet installed
|
||||
make build
|
||||
npm run examples:browser # if browser isn't opening, open examples/browser/browser.html in your browser
|
||||
```
|
||||
|
||||
Using Webpack:
|
||||
```
|
||||
make
|
||||
npm install # if not yet installed
|
||||
make build
|
||||
npm run examples:browser-webpack # if browser isn't opening, open examples/browser/browser-webpack-example/index.html in your browser
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user