dop-native-sdk-inf
v1.0.33
Published
Javascript Interface Library for native analytics sdk of wisetracker.
Downloads
52
Maintainers
Readme
dop-website-sdk
This project provides website analysis SDK developed with JavaScript.
Development Enviroment
- dop-websiste-sdk requires latest Node.js to run. You can download install at NodeJs Check to install have finished successfully.
$ node -v
$ v10.15.3
$ npm -v
$ 6.4.1
- Download and install dependencies third-party library using npm install command line.
$ cd dop-website-sdk
$ npm install --save-dev webpack webpack-cli @babel/core @babel/preset-env style-loader css-loader html-webpack-plugin babel-loader webpack-dev-server detect-browser query-string uglifyjs-webpack-plugin
+ @babel/[email protected]
+ [email protected]
+ @babel/[email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
added 1195 packages from 1067 contributors, removed 47 packages, updated 2 packages and audited 22439 packages in 378.894
found 0 vulnerabilities
- Compile dop-website-sdk project.
$ cd dop-website-sdk
$ npm run build
> [email protected] build /dop-website-sdk
> webpack
Hash: e3a4e6457f2e624e1a5c
Version: webpack 4.29.6
Time: 8361ms
Built at: 2019-03-29 11:19:51
Asset Size Chunks Chunk Names
./index.html 315 bytes [emitted]
dop-website-sdk.js 57.2 KiB 0 [emitted] main
Entrypoint main = dop-website-sdk.js
[1] ./src/Xtype.js 2.19 KiB {0} [built]
[7] (webpack)/buildin/global.js 472 bytes {0} [built]
[11] ./src/index.js + 19 modules 53.4 KiB {0} [built]
| ./src/index.js 622 bytes [built]
| ./src/Xconstants.js 2.13 KiB [built]
| ./src/dot.js 1.76 KiB [built]
| ./src/stringutil.js 259 bytes [built]
| ./src/timeutil.js 5.46 KiB [built]
| ./src/extractor.js 976 bytes [built]
| ./src/generator.js 1.8 KiB [built]
| ./src/cookieManager.js 271 bytes [built]
| ./src/storage.js 2.87 KiB [built]
| ./src/transmitter.js 2.71 KiB [built]
| ./src/X.js 6.59 KiB [built]
| ./src/analysisData.js 2.65 KiB [built]
| ./src/XIdentify.js 4.71 KiB [built]
| ./src/XConversion.js 1.16 KiB [built]
| ./src/XRevenue.js 1.96 KiB [built]
| + 5 hidden modules
+ 9 hidden modules
Child html-webpack-plugin for "index.html":
1 asset
Entrypoint undefined = ./index.html
[0] ./node_modules/html-webpack-plugin/lib/loader.js!./src/index.html 456 bytes {0} [built]
[2] (webpack)/buildin/global.js 472 bytes {0} [built]
[3] (webpack)/buildin/module.js 497 bytes {0} [built]
+ 1 hidden module
- Check compiled dop-website-sdk.js file into dop-website-sdk/dist folder.
$ cd dop-website-sdk/dist
$ ls
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 2019-03-29 11:19 58581 dop-website-sdk.js
-a---- 2019-03-29 11:19 315 index.html
- Compile & deploy dop-website-sdk into webpack-dev-server.
$ cd dop-website-sdk
$ npm run start
> [email protected] start D:\Playground\wisetracker\dop-website-sdk
> webpack-dev-server --mode production
i 「wds」: Project is running at http://localhost:8080/
i 「wds」: webpack output is served from /
i 「wdm」: Hash: 70670196ceff8a51ef6b
Version: webpack 4.29.6
Time: 2937ms
Built at: 2019-03-29 11:25:42
Asset Size Chunks Chunk Names
./index.html 315 bytes [emitted]
dop-website-sdk.js 199 KiB 0 [emitted] main
Entrypoint main = dop-website-sdk.js
[1] ./node_modules/querystring-es3/index.js 127 bytes {0} [built]
[5] multi (webpack)-dev-server/client?http://localhost:8080 ./src/index.js 40 bytes {0} [built]
[6] (webpack)-dev-server/client?http://localhost:8080 8.1 KiB {0} [built]
[7] ./node_modules/querystring-es3/decode.js 2.45 KiB {0} [built]
[8] ./node_modules/querystring-es3/encode.js 2.48 KiB {0} [built]
[9] ./node_modules/url/url.js 22.8 KiB {0} [built]
[10] ./node_modules/node-libs-browser/node_modules/punycode/punycode.js 14.3 KiB {0} [built]
[12] ./node_modules/url/util.js 314 bytes {0} [built]
[13] (webpack)-dev-server/node_modules/strip-ansi/index.js 161 bytes {0} [built]
[15] ./node_modules/loglevel/lib/loglevel.js 7.68 KiB {0} [built]
[16] (webpack)-dev-server/client/socket.js 1.05 KiB {0} [built]
[18] (webpack)-dev-server/client/overlay.js 3.59 KiB {0} [built]
[23] (webpack)/hot sync nonrecursive ^\.\/log$ 170 bytes {0} [built]
[25] (webpack)/hot/emitter.js 75 bytes {0} [built]
[35] ./src/index.js + 19 modules 53.4 KiB {0} [built]
| ./src/index.js 622 bytes [built]
| ./src/Xconstants.js 2.13 KiB [built]
| ./src/dot.js 1.76 KiB [built]
| ./src/stringutil.js 259 bytes [built]
| ./src/timeutil.js 5.46 KiB [built]
| ./src/extractor.js 976 bytes [built]
| ./src/generator.js 1.8 KiB [built]
| ./src/cookieManager.js 271 bytes [built]
| ./src/storage.js 2.87 KiB [built]
| ./src/transmitter.js 2.71 KiB [built]
| ./src/X.js 6.59 KiB [built]
| ./src/analysisData.js 2.65 KiB [built]
| ./src/XIdentify.js 4.71 KiB [built]
| ./src/XConversion.js 1.16 KiB [built]
| ./src/XRevenue.js 1.96 KiB [built]
| + 5 hidden modules
+ 21 hidden modules
Child html-webpack-plugin for "index.html":
1 asset
Entrypoint undefined = ./index.html
[0] ./node_modules/html-webpack-plugin/lib/loader.js!./src/index.html 456 bytes {0} [built]
[1] ./node_modules/lodash/lodash.js 527 KiB {0} [built]
[2] (webpack)/buildin/global.js 472 bytes {0} [built]
[3] (webpack)/buildin/module.js 497 bytes {0} [built]
i 「wdm」: Compiled successfully.
- Open your browser And Just visit http://localhost:8080/index.html. You would be seen to run dop-website-sdk into test web page.