You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open a command line and run `ng build ngx-barcode-scanner --watch` for incremental build of the library
97
-
98
-
Run `npm run start` for a dev server, on the example app. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
95
+
Run `ng serve` or `npm run start` for a dev server, on the example app. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
99
96
100
97
### Build
101
98
102
99
Run `npm run build` to build the project. The build artifacts will be stored in the `dist/` directory.
103
100
104
-
### Package
105
-
106
-
Run `npm run package` to package the project.
107
-
The project can then be installed with `npm install <relative_dir>/dist/ngx-barcode-scanner/ngx-barcode-scanner-<version>.tgz`
108
-
109
-
### Release
110
-
111
-
- Bump the version in package.json
112
-
- Commit and push to github
113
-
- Login to your npm account with `npm login`
114
-
- Publish to npm repository with `npm run release`
115
-
116
101
## Known issues
117
102
118
103
Access to the camera is restricted on iOS when running in a Progressive Web App. Live streaming will not work in this case.
0 commit comments