Changed build scripts for examples and main project

This commit is contained in:
Alexander Cerutti
2021-02-05 08:08:13 +01:00
parent 2e77f06950
commit 3290b697b4
11 changed files with 42 additions and 14 deletions

View File

@@ -10,7 +10,7 @@ $ git clone https://github.com/alexandercerutti/passkit-generator.git;
$ cd passkit-generator && npm install;
$ cd examples && npm install;
$ npm run build;
$ node <the-example-you-want-to-execute>.js
$ npm run example <the-example-you-want-to-execute>.js
```
Certificates paths in examples are linked to a folder `certificates` in the root of this project which is not provided.