forked from newrelic/newrelic-browser-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
101 lines (101 loc) · 4.03 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
91
92
93
94
95
96
97
98
99
100
101
{
"name": "newrelic",
"version": "0.0.1",
"private": true,
"author": "The New Relic Browser Team",
"description": "Tests for the New Relic JavaScript agent",
"scripts": {
"test": "tools/jil/bin/cli.js",
"build": "rm -rf build && mkdir build && gulp build",
"build:all": "npm run build && npx lerna run build",
"build-mac": "gulp && osascript -e 'display notification \"The agent has been built.\" with title \"Build Complete\"'",
"prepush": "npm run lint && node -e 'process.exit((process.argv[1] === \"master\") ? 1 : 0)' `git rev-parse --abbrev-ref HEAD`",
"postinstall": "npx lerna bootstrap --force-local && npm --prefix tools/jil ci && rm -f node_modules/jil && ln -s ../tools/jil node_modules/jil && npm run build:all",
"phantomjs": "phantomjs",
"lint": "eslint --ext .js .",
"lint:fix": "eslint --ext .js . --fix",
"test-all": "tools/jil/bin/cli.js -b *@*",
"ci-build": "npm ci --cache ./.npm",
"build-tar": "npm run ci-build && tar czf ./build/browser-agent.tar.gz --exclude=.git --exclude=.npm --exclude=build/browser-agent.tar.gz .",
"watch": "jung -D '\\.npm|.git|node_modules|build|tools|tests' --run -- npm run build-mac",
"cdn:build": "npm --prefix cdn run build",
"cdn:build-dev": "DEBUG=true npm --prefix cdn run build",
"cdn:watch": "jung -D '\\.npm|.git|node_modules|build|tools|tests' --run -- npm run cdn:build-dev",
"packages:build": "npm --prefix ./packages run build",
"packages:pack": "npm --prefix packages/browser-agent run pack",
"packages:test": "npm --prefix packages/browser-agent run test",
"packages:test:watch": "npm --prefix packages/browser-agent run test:watch",
"packages:watch": "jung -d './packages/browser-agent/src|./modules' --run -- npm run packages:build",
"test-server": "node ./tools/jil/bin/server",
"sauce:connect": "node ./tools/jil/bin/sauce",
"tools:test-builds": "npm --prefix ./tools/test-builds/build-time-mfe run build",
"lerna:bootstrap": "npx lerna bootstrap",
"lerna:test": "npx lerna run test"
},
"config": {
"unsafe-perm": true
},
"bin": {
"jil": "./tools/jil/bin/cli.js",
"jil-server": "./tools/jil/bin/server.js",
"jil-sauce": "./tools/jil/bin/sauce.js"
},
"repository": {
"type": "git",
"url": "https://github.com/newrelic/newrelic-browser-agent.git"
},
"dependencies": {
"lodash._slice": "^2.4.1"
},
"devDependencies": {
"@newrelic/nr-querypack": "https://[email protected]/newrelic/nr-querypack",
"@types/node": "^17.0.30",
"aws-sdk": "^2.894.0",
"babelify": "6.4.0",
"browserify": "^13.0.0",
"bundle-collapser": "^1.2.1",
"eslint": "8.8",
"eslint-plugin-import": "^2.26.0",
"glob": "^7.0.5",
"gulp": "^4.0.0",
"gulp-file": "^0.4.0",
"gulp-sourcemaps": "1.6.0",
"gulp-uglify": "^1.5.4",
"husky": "^0.11.6",
"jung": "^2.1.0",
"lerna": "^4.0.0",
"preprocessify": "0.0.6",
"request": "2.74.0",
"sinon": "^1.17.5",
"tap-parser": "^1.2.2",
"tape": "^4.8.0",
"through": "^2.3.8",
"through2": "^2.0.1",
"vinyl-buffer": "^1.0.1",
"vinyl-source-stream": "^2.0.0",
"watchify": "^3.7.0",
"yargs": "^3.32.0"
},
"browser": {
"api": "./loader/api.js",
"config": "./loader/config.js",
"metrics": "./loader/metrics.js",
"framework-detection": "./loader/framework-detection.js",
"ds": "./loader/data-size.js",
"ee": "./contextual-ee/index.js",
"event-listener-opts": "./loader/event-listener-opts.js",
"gos": "./loader/get-or-set.js",
"handle": "./loader/handle.js",
"id": "./loader/id.js",
"jil": "./tools/jil/driver/browser.js",
"loader": "./loader/index.js",
"map-own": "./map-own/index.js",
"now": "./loader/now.js",
"visibility": "./loader/visibility.js",
"performance-check": "./performance-check/index.js",
"reduce": "./reduce/index.js",
"unique-id": "./loader/unique-id.js",
"wrap-function": "./wrap-function/index.js",
"supports-performance-observer": "./feature/stn/instrument/supports-performance-observer.js"
}
}