UNPKG

@aicore/core-analytics-client-lib

Version:

Analytics client library for https://github.com/aicore/Core-Analytics-Server

61 lines (60 loc) 2.07 kB
{ "name": "@aicore/core-analytics-client-lib", "version": "2.0.3", "description": "Analytics client library for https://github.com/aicore/Core-Analytics-Server", "main": "dist/analytics.min.js", "type": "module", "keywords": [ "analytics", "library", "core.ai", "nodejs", "aicore", "Core-Analytics-Server", "js" ], "scripts": { "eslint": "npm run lint", "eslint:fix": "npm run lint:fix", "lint": "eslint --quiet src test", "lint:fix": "eslint --quiet --fix src test", "prepare": "husky install", "test": "echo please run - npm run serve - and then open test/unit-test.html in browser to run tests", "test:unit": "npm run test", "test:integ": "echo integration tests are disabled in this repo", "cover": "echo no coverage for now", "cover:unit": "echo no coverage for now", "cover:integ": "echo no coverage for now", "build": "npm run minify", "minify": "echo creating minified package dist/analytics.min.js && mkdir -p dist && uglifyjs src/analytics.js --compress --mangle -o dist/analytics.min.js -c -m --source-map \"root='src/analytics.js',url='analytics.min.js.map'\"", "bumpPatchVersion": "npm --no-git-tag-version version patch", "bumpPatchVersionWithGitTag": "npm version patch", "release": "npm run minify && npm run bumpPatchVersionWithGitTag", "serve": "http-server . -p 8000 -c-1" }, "files": [ "src", "dist" ], "repository": { "type": "git", "url": "git+https://github.com/aicore/core-analytics-client-lib.git" }, "author": "Arun, core.ai", "license": "AGPL-3.0-or-later", "bugs": { "url": "https://github.com/aicore/core-analytics-client-lib/issues" }, "homepage": "https://github.com/aicore/core-analytics-client-lib#readme", "devDependencies": { "@commitlint/cli": "17.5.1", "@commitlint/config-conventional": "17.4.4", "c8": "7.13.0", "chai": "4.3.7", "eslint": "8.37.0", "husky": "8.0.3", "mocha": "10.2.0", "uglify-js": "3.17.4", "http-server": "14.1.1" } }