UNPKG

2.09 kBJSONView Raw
1{
2 "name": "@elastic/apm-rum",
3 "version": "4.5.1",
4 "description": "Elastic APM JavaScript agent",
5 "main": "dist/lib/index.js",
6 "module": "dist/es/index.js",
7 "source": "src/index.js",
8 "repository": {
9 "type": "git",
10 "url": "https://github.com/elastic/apm-agent-rum-js.git",
11 "directory": "packages/rum"
12 },
13 "publishConfig": {
14 "access": "public"
15 },
16 "scripts": {
17 "prepublishOnly": "npm run build",
18 "build": "run-p build:main build:module build:umd",
19 "build:main": "BABEL_ENV=BROWSER_PROD npx babel src -d dist/lib",
20 "build:module": "BABEL_ENV=BROWSER_ESM_PROD npx babel src -d dist/es",
21 "build:umd": "webpack --colors",
22 "build:e2e": "npm run script buildE2eBundles packages/rum/test/e2e",
23 "bundlesize": "npm run build:umd && bundlesize",
24 "karma:dev": "karma start --auto-watch --restartOnFileChange",
25 "karma:coverage": "karma start --coverage --singleRun",
26 "script": "node ../../dev-utils/run-script.js",
27 "test:node": "npm run script runNodeTests",
28 "test:bundle": "npm run script runBundleTests",
29 "test:integration": "npm run script runIntegrationTests",
30 "test:unit": "npm run script runUnitTests packages/rum",
31 "test:e2e:supported": "npm run script runE2eTests packages/rum/wdio.conf.js",
32 "test:e2e:failsafe": "npm run script runE2eTests packages/rum/wdio-failsafe.conf.js",
33 "test:sauce": "npm run script runSauceTests packages/rum true test:unit test:e2e:supported test:e2e:failsafe",
34 "test": "run-s build:e2e test:node test:bundle test:integration test:sauce",
35 "bench": "npm run build:umd && node test/benchmarks/run.js"
36 },
37 "files": [
38 "src",
39 "dist"
40 ],
41 "engines": {
42 "node": ">=8.0.0"
43 },
44 "author": "",
45 "license": "MIT",
46 "dependencies": {
47 "@elastic/apm-rum-core": "^4.6.1"
48 },
49 "bundlesize": [
50 {
51 "path": "./dist/bundles/elastic-apm-rum*.min.js",
52 "maxSize": "16 kB"
53 },
54 {
55 "path": "./dist/bundles/elastic-apm-opentracing*.min.js",
56 "maxSize": "18kB"
57 }
58 ],
59 "gitHead": "902460082e31371da206b831d18ec530d36118b5"
60}