This repository was archived by the owner on Feb 25, 2021. It is now read-only.
forked from mParticle/mparticle-web-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
115 lines (115 loc) · 5.76 KB
/
package.json
File metadata and controls
115 lines (115 loc) · 5.76 KB
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"name": "@itly/mparticle-web-sdk",
"version": "2.11.15",
"description": "mParticle core SDK for web applications",
"license": "Apache-2.0",
"keywords": [
"itly",
"iteratively",
"mparticle",
"analytics",
"cdp"
],
"files": [
"dist/mparticle.common.js",
"dist/mparticle.esm.js",
"dist/mparticle.js",
"src/"
],
"main": "dist/mparticle.common.js",
"module": "dist/mparticle.esm.js",
"repository": "https://github.com/iterativelyhq/mparticle-web-sdk",
"scripts": {
"build": "ENVIRONMENT=prod BUILDALL=true rollup --config rollup.config.js",
"build:dev": "ENVIRONMENT=dev BUILD=iife rollup --config rollup.config.js",
"build:iife": "ENVIRONMENT=prod BUILD=iife rollup --config rollup.config.js",
"build:npm": "ENVIRONMENT=prod BUILD=cjs rollup --config rollup.config.js",
"build:esm": "ENVIRONMENT=prod BUILD=esm rollup --config rollup.config.js",
"build:stub": "ENVIRONMENT=prod BUILD=stub rollup --config rollup.config.js",
"build:docs": "yuidoc src/",
"build:snippet": "uglifyjs snippet.js -nm -o snippet.min.js",
"build:browserify:cjs": "browserify test/integrations/cjs/browserify/index.js -o test/integrations/cjs/dist/browserify-output.js && npm run test:karma:browserify:cjs",
"build:rollup:cjs": "rollup --config test/integrations/cjs/rollup/rollup.config.js && npm run test:karma:rollup:cjs",
"build:webpack:cjs": "webpack --config test/integrations/cjs/webpack/webpack.config.js && npm run test:karma:webpack:cjs",
"build:rollup:module": "rollup --config test/integrations/module/rollup/rollup.config.js && npm run test:karma:rollup:module",
"build:webpack:module": "webpack --config test/integrations/module/webpack/webpack.config.js && npm run test:karma:webpack:module",
"build:ts": "tsc -p .",
"test": "npm run build && TESTTYPE=main ENVIRONMENT=prod rollup --config rollup.test.config.js && DEBUG=false karma start test/karma.config.js",
"test:debug": "DEBUG=true karma start test/karma.config.js",
"test:stub": "TESTTYPE=stub ENVIRONMENT=prod rollup --config rollup.test.config.js && karma start test/stub/karma.stub.config.js",
"test:integrations": "npm run test:requirejs && npm run test:integrations:cjs && npm run test:integrations:module",
"test:integrations:cjs": "npm run build:browserify:cjs && npm run build:webpack:cjs && npm run build:rollup:cjs",
"test:integrations:module": "npm run build:webpack:module && npm run build:rollup:module",
"test:requirejs": "npm run test:requirejs:before && npm run test:requirejs:after",
"test:requirejs:before": "FILE_ORDER=before_mp karma start test/integrations/requirejs/karma.requirejs.config.js",
"test:requirejs:after": "FILE_ORDER=after_mp karma start test/integrations/requirejs/karma.requirejs.config.js",
"test:karma:webpack:cjs": "BUNDLER=webpack karma start test/integrations/cjs/karma.webpack.config.js",
"test:karma:browserify:cjs": "BUNDLER=browserify karma start test/integrations/cjs/karma.browserify.config.js",
"test:karma:rollup:cjs": "BUNDLER=rollup karma start test/integrations/cjs/karma.rollup.config.js",
"test:karma:webpack:module": "BUNDLER=webpack karma start test/integrations/module/karma.webpack.config.js",
"test:karma:rollup:module": "BUNDLER=rollup karma start test/integrations/module/karma.rollup.config.js",
"watch": "ENVIRONMENT=dev BUILD=iife rollup --config rollup.config.js -w",
"watch:all": "ENVIRONMENT=prod BUILDALL=true rollup --config rollup.config.js -w",
"watch:tests": "ENVIRONMENT=dev TESTTYPE=main rollup --config rollup.test.config.js -w",
"lint": "eslint src/ test/src/",
"gts:check": "gts check",
"gts:fix": "gts fix",
"prettier": "node_modules/.bin/prettier --check \"**/*.js\""
},
"pre-commit": [
"lint"
],
"devDependencies": {
"@babel/core": "^7.6.0",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-proposal-object-rest-spread": "^7.5.5",
"@babel/plugin-transform-runtime": "^7.6.0",
"@babel/preset-env": "^7.6.0",
"@babel/preset-typescript": "^7.6.0",
"@mparticle/event-models": "^1.1.1",
"@types/chai": "^4.2.3",
"@types/mocha": "^5.2.7",
"@types/node": "^10.0.3",
"babel-eslint": "^10.0.3",
"babel-preset-minify": "^0.5.1",
"browser-sync": "^2.26.3",
"browserify": "^16.3.0",
"chai": "^4.2.0",
"eslint": "^6.4.0",
"eslint-config-prettier": "6.3.0",
"eslint-plugin-prettier": "3.1.1",
"fetch-mock": "^7.5.1",
"gts": "^1.1.0",
"karma": "^4.0.1",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^2.2.0",
"karma-edge-launcher": "^0.4.1",
"karma-firefox-launcher": "^1.0.1",
"karma-ie-launcher": "^1.0.0",
"karma-junit-reporter": "^1.2.0",
"karma-mocha": "^1.3.0",
"karma-safari-launcher": "^1.0.0",
"karma-should": "^1.0.0",
"mocha": "^6.0.2",
"pre-commit": "^1.2.2",
"prettier": "1.18.2",
"rollup": "^1.19.4",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-typescript": "^1.0.1",
"shelljs": "^0.7.8",
"should": "^7.1.0",
"sinon": "^7.4.1",
"tslib": "^1.10.0",
"typescript": "^3.6.2",
"uglify-js": "^3.4.9",
"webpack": "^4.39.1",
"webpack-cli": "^3.3.6",
"yuidocjs": "^0.10.2"
},
"dependencies": {
"@babel/runtime": "^7.6.0",
"slugify": "^1.3.6"
}
}