UNPKG

@mparticle/web-media-sdk

Version:
91 lines (90 loc) 3.31 kB
{ "name": "@mparticle/web-media-sdk", "version": "1.4.10", "description": "Media SDK for mParticle", "main": "dist/mparticle-media.common.js", "types": "dist/index.d.ts", "repository": "https://github.com/mParticle/mparticle-web-media-sdk", "directories": { "test": "test" }, "scripts": { "watch": "ENVIRONMENT=prod rollup --config rollup.config.js -w", "build": "npm run build:prod", "build:dev": "ENVIRONMENT=dev rollup --config rollup.config.js", "build:prod": "ENVIRONMENT=prod rollup --config rollup.config.js", "test": "npm run test:ts && npm run test:js", "test:ts": "mocha -r ts-node/register test/**/*.test.ts", "test:ts:watch": "mocha -r ts-node/register --watch-extensions ts --watch test/**/*.test.ts --reporter nyan", "test:js": "npm run build && mocha", "test:js:watch": "mocha --reporter nyan --watch", "coverage": "npm run coverage:nyc && npm run coverage:junit", "coverage:junit": "mocha -r ts-node/register test/**/*.test.ts --reporter mocha-junit-reporter --reporter-options mochaFile=./test/reports/unit-tests/test-media-sdk.xml", "coverage:nyc": "nyc --reporter=lcov --reporter=teamcity --extension .ts mocha -r ts-node/register test/**/*.test.ts", "lint": "npm run gts:check", "serve:dev": "npm run watch", "gts:check": "gts check", "gts:clean": "gts clean", "gts:compile": "tsc -p .", "gts:fix": "gts fix", "docs": "typedoc src/", "clean": "gts clean", "compile": "tsc", "fix": "gts fix", "prepare": "npm run compile", "pretest": "npm run compile", "posttest": "npm run lint" }, "keywords": [ "media", "mparticle", "analytics", "cdp" ], "pre-commit": [ "lint", "test" ], "files": [ "dist/mparticle-media.common.js", "dist/index.d.ts" ], "author": "", "license": "ISC", "devDependencies": { "@semantic-release/changelog": "^5.0.1", "@semantic-release/exec": "^5.0.0", "@semantic-release/git": "^9.0.0", "@types/chai": "^4.1.7", "@types/expect": "^24.3.0", "@types/mocha": "^9.0.0", "@types/node": "^15.0.2", "@types/sinon": "^10.0.4", "chai": "^4.2.0", "gts": "^3.1.0", "karma": "^6.2.0", "karma-chai": "^0.1.0", "karma-chrome-launcher": "^3.0.0", "karma-firefox-launcher": "^2.1.0", "karma-mocha": "^2.0.1", "karma-sinon": "^1.0.5", "karma-typescript-preprocessor": "^0.4.0", "mocha": "^9.1.2", "mocha-junit-reporter": "^2.0.0", "nyc": "^15.0.0", "pre-commit": "^1.2.2", "rollup": "^2.32.1", "rollup-plugin-commonjs": "^10.0.1", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-typescript": "^1.0.1", "sinon": "^11.1.2", "ts-node": "^10.2.1", "typedoc": "^0.20.30", "typedoc-default-themes": "https://github.com/mParticle/typedoc-default-themes.git#mp-custom", "typescript": "^4.2.0" }, "dependencies": { "@mparticle/web-sdk": "^2.9.14-rc.1", "tslib": "^2.0.3" } }