-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
98 lines (98 loc) · 4.18 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
{
"version": "1.7.3",
"name": "@instana/weasel",
"description": "Collect end-user data",
"main": "lib/index.ts",
"scripts": {
"build": "yarn run build:clean && yarn run build:production && yarn run build:debug && yarn run fileStats",
"build:clean": "rm -rf target",
"build:production": "NODE_ENV=production FILENAME=eum yarn run build:bundle",
"build:debug": "NODE_ENV=development FILENAME=eum.debug yarn run build:bundle",
"build:bundle": "yarn run build:rollup && yarn run build:minify",
"build:rollup": "rollup -c -m",
"build:minify": "google-closure-compiler --compilation_level=ADVANCED --language_in=ECMASCRIPT5_STRICT --language_out=ECMASCRIPT3 --js_output_file=target/$FILENAME.min.js --jscomp_off checkVars --jscomp_off checkTypes --create_source_map='%outname%.map' --formatting=SINGLE_QUOTES target/$FILENAME.js && echo \"//# sourceMappingURL=$FILENAME.min.js.map\" >> target/$FILENAME.min.js && sed -i.bak 's#\"target/#\"#' target/$FILENAME.min.js.map && rm target/$FILENAME.min.js.map.bak",
"precommit": "yarn run test:quick",
"test": "IS_TEST=true yarn run test:quick && yarn run test:e2e:local",
"test:quick": "yarn run test:unit && yarn run test:lint",
"test:unit": "jest --coverage --collectCoverageFrom=\"lib/**/*.js\" --collectCoverageFrom=\"lib/**/*.ts\" test/unit/* test/server/*",
"test:unit:watch": "jest --watch test/unit/* test/server/*",
"test:e2e:local": "IS_TEST=true protractor protractor.local.config.js",
"test:e2e:saucelabs": "IS_TEST=true protractor protractor.saucelabs.config.js",
"test:lint": "tsc && eslint \"lib/**/*.ts\" \"test/**/*.js\"",
"webdriver:start": "webdriver-manager update && webdriver-manager start",
"devServer": "BEACON_SERVER_PORTS='3009,3010,3011' node test/server/server",
"fileStats": "echo \"\nFile Stats:\" && ls target/*.js | xargs -I '%' bash -c 'echo \"%: $(./node_modules/.bin/gzip-size % --raw | ./node_modules/.bin/pretty-bytes) (gzip)\"'"
},
"importSort": {
".js, .jsx, .es6, .es, .mjs, .ts, .tsx": {
"style": "@instana/import-sort-style-simon"
},
".ts, .tsx": {
"style": "@instana/import-sort-style-simon",
"parser": "import-sort-parser-typescript"
}
},
"author": "Ben Blackmore <[email protected]>",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/plugin-transform-block-scoping": "^7.0.0",
"@babel/plugin-transform-modules-commonjs": "^7.0.0",
"@babel/plugin-transform-shorthand-properties": "^7.0.0",
"@babel/preset-env": "^7.25.4",
"@babel/preset-typescript": "^7.16.7",
"@rollup/plugin-commonjs": "^11.1.0",
"@rollup/plugin-node-resolve": "^7.1.3",
"@types/chai": "^3.5.0",
"@types/jest": "^26.0.24",
"@types/object-assign": "^4.0.30",
"@types/shimmer": "^1.0.5",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"apollo-server-express": "^2.14.2",
"babel-eslint": "^10.0.1",
"babel-jest": "^29.7.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"bluebird": "^3.4.6",
"body-parser": "^1.15.2",
"chai": "^3.5.0",
"eslint": "^8.51.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-babel": "^5.3.1",
"google-closure-compiler": "^20200504.0.0",
"graphql": "^15.0.0",
"gzip-size-cli": "^5.1.0",
"husky": "^0.11.9",
"jest": "^26.6.3",
"multiparty": "^4.2.3",
"prettier": "^2.8.6",
"pretty-bytes-cli": "^3.0.0",
"protractor": "^7.0.0",
"proxyquire": "^1.7.11",
"qs": "^6.10.3",
"request": "^2.79.0",
"request-promise": "^4.1.1",
"rollup": "^1.0.0",
"rollup-plugin-babel": "^4.0.0",
"rollup-plugin-replace": "^2.0.0",
"serve-index": "^1.9.1",
"sinon": "^19.0.2",
"typescript": "5.1.6",
"uuid": "^3.0.1",
"webdriver-manager": "^12.1.8"
},
"dependencies": {
"object-assign": "^4.1.1",
"shimmer": "^1.2.1",
"web-vitals": "3.5.2"
},
"publishConfig": {
"registry": "https://delivery.instana.io/artifactory/api/npm/int-npm-local/"
},
"files": [
"target/*"
],
"packageManager": "[email protected]"
}