-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
90 lines (90 loc) · 3.23 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"name": "@mparticle/web-media-sdk",
"version": "1.4.8",
"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"
}
}