@@ -23,7 +23,7 @@ client-side tier of your websites and web apps.
23
23
24
24
## Developers
25
25
26
- ### Contributing quickstart
26
+ ### Contributing quick start
27
27
28
28
Assuming git and [ Docker] [ docker-install ] installed:
29
29
@@ -41,15 +41,17 @@ host$ docker build -t core .
41
41
host$ docker run -v " $( pwd) " :" /code" core npm run build
42
42
```
43
43
44
+ From the ` /core ` folder, build the core library using ` npm run build ` and run unit tests with ` npm run test ` .
45
+
44
46
#### Building Tracker
45
47
46
48
``` bash
47
49
host$ cd snowplow-javascript-tracker
48
50
host$ docker build -t tracker .
49
- host$ docker run -v " $( pwd) " :" /code" tracker grunt
51
+ host$ docker run -v " $( pwd) " :" /code" tracker npm run build
50
52
```
51
53
52
- Build the tracker (default task concatenates and minifies) using ` grunt ` .
54
+ Build the tracker using ` npm run build ` and run unit tests with ` npm run test:unit ` .
53
55
54
56
## Testing
55
57
@@ -70,19 +72,16 @@ Licensed under the [Simplified BSD][bsd] license.
70
72
[ docker-install ] : https://docs.docker.com/install/
71
73
[ piwik ] : http://piwik.org/
72
74
[ piwikjs ] : https://github.com/piwik/piwik/blob/master/js/piwik.js
73
- [ piwikphp ] : https://github.com/piwik/piwik/blob/master/piwik.php
74
75
[ bsd ] : http://www.opensource.org/licenses/bsd-license.php
75
76
[ setup ] : https://docs.snowplowanalytics.com/docs/collecting-data/collecting-from-own-applications/javascript-tracker/general-parameters/
76
77
[ tech-docs ] : https://docs.snowplowanalytics.com/docs/collecting-data/collecting-from-own-applications/javascript-tracker/
77
78
[ techdocs-image ] : https://d3i6fms1cm1j0i.cloudfront.net/github/images/techdocs.png
78
79
[ setup-image ] : https://d3i6fms1cm1j0i.cloudfront.net/github/images/setup.png
79
80
[ contributing-image ] : https://d3i6fms1cm1j0i.cloudfront.net/github/images/contributing.png
80
- [ release-image ] : https://img.shields.io/badge/release-2.15 .0-blue.svg?style=flat
81
+ [ release-image ] : https://img.shields.io/badge/release-2.16 .0-blue.svg?style=flat
81
82
[ releases ] : https://github.com/snowplow/snowplow-javascript-tracker/releases
82
- [ grunt-image ] : https://cdn.gruntjs.com/builtwith.png
83
- [ grunt ] : https://gruntjs.com/
84
- [ gh-actions ] : https://github.com/snowplow/snowplow-nodejs-tracker/actions
85
- [ gh-actions-image ] : https://github.com/snowplow/snowplow-nodejs-tracker/workflows/Build/badge.svg
83
+ [ gh-actions ] : https://github.com/snowplow/snowplow-javascript-tracker/actions
84
+ [ gh-actions-image ] : https://github.com/snowplow/snowplow-javascript-tracker/workflows/Build/badge.svg
86
85
[ saucelabs ] : https://saucelabs.com/u/snowplow
87
86
[ saucelabs-button-image ] : https://app.saucelabs.com/buildstatus/snowplow
88
87
[ saucelabs-matrix-image ] : https://app.saucelabs.com/browser-matrix/snowplow.svg
0 commit comments