Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dup-tools-wasm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tools
dup-tools-wasm
Commits
0174f07d
Commit
0174f07d
authored
6 years ago
by
Éloïs
Browse files
Options
Downloads
Patches
Plain Diff
[doc] detail publish process
parent
c7a0fe3b
No related branches found
No related tags found
No related merge requests found
Pipeline
#5304
failed
6 years ago
Stage: fmt
Stage: tests
Stage: clippy
Stage: publish
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+13
-1
13 additions, 1 deletion
README.md
with
13 additions
and
1 deletion
README.md
+
13
−
1
View file @
0174f07d
...
@@ -71,9 +71,21 @@ wasm-pack build
...
@@ -71,9 +71,21 @@ wasm-pack build
```
bash
```
bash
wasm-pack
test
--headless
--firefox
wasm-pack
test
--headless
--firefox
wasm-pack
test
--headless
--chrome
wasm-pack
test
--headless
--safari
```
```
### 🎁 Publish to NPM with `wasm-pack publish`
### 🎁 Publish new release to NPM
Before publish, build in release mode without default features :
```
bash
wasm-pack build
--release
--
--no-default-features
```
You need npm token, if you don't have, get it with
`npm login`
command.
Then publish ( help) :
```
bash
```
bash
wasm-pack publish
wasm-pack publish
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment