forked from aws-observability/aws-rum-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
126 lines (126 loc) · 5.76 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"name": "aws-rum-web",
"version": "1.0.4",
"description": "The Amazon CloudWatch RUM web client.",
"license": "Apache-2.0",
"author": "Amazon CloudWatch RUM Staff <[email protected]>",
"main": "dist/cjs/index.js",
"module": "dist/es/index.js",
"files": [
"dist/",
"CHANGELOG.md",
"NOTICE",
"LICENSE-THIRD-PARTY"
],
"repository": {
"type": "git",
"url": "https://github.com/aws-observability/aws-rum-web.git"
},
"scripts": {
"server": "npm run build:schemas && webpack-dev-server --config webpack/webpack.dev.js",
"test": "npm run build:webpack:dev && jest -c jest.unit.config.js",
"release": "npm run build:webpack:prod && npm run build:es && npm run build:cjs",
"build:schemas": "node scripts/generate-schema-ts.js",
"build:webpack:dev": "npm run build:schemas && webpack --config webpack/webpack.dev.js",
"build:webpack:prod": "npm run build:schemas && webpack --config webpack/webpack.prod.js",
"build:es": "npm run build:schemas && tsc --project ./tsconfig.es.json",
"build:cjs": "npm run build:schemas && tsc --project ./tsconfig.cjs.json",
"lint": "npx tslint --config ./tslint.json --project ./tsconfig.webpack.json --format verbose",
"lint:fix": "npx tslint -c ./tslint.json -p ./tsconfig.webpack.json --format verbose --fix",
"prettier": "npx prettier --check .",
"prettier:fix": "npx prettier --write .",
"prepublishOnly": "npm run release",
"test:coverage": "npm run build:webpack:dev && jest -c jest.unit.config.js --coverage",
"integ:local:chrome": "npm run build:webpack:dev && cross-env NODE_OPTIONS=--max-http-header-size=80000 testcafe chrome --app \"http-server ./build/dev -s\"",
"integ:local:chrome:headless": "npm run build:webpack:dev && cross-env NODE_OPTIONS=--max-http-header-size=80000 testcafe chrome:headless --app \"http-server ./build/dev -s\"",
"integ:local:firefox": "npm run build:webpack:dev && cross-env NODE_OPTIONS=--max-http-header-size=80000 testcafe firefox --app \"http-server ./build/dev -s\"",
"integ:local:firefox:headless": "npm run build:webpack:dev && cross-env NODE_OPTIONS=--max-http-header-size=80000 testcafe firefox:headless --app \"http-server ./build/dev -s\"",
"integ:local:safari": "npm run build:webpack:dev && cross-env NODE_OPTIONS=--max-http-header-size=80000 testcafe safari --app \"http-server ./build/dev -s\"",
"integ:local:edge": "npm run build:webpack:dev && cross-env NODE_OPTIONS=--max-http-header-size=80000 testcafe edge --app \"http-server ./build/dev -s\"",
"integ:local:ie": "npm run build:webpack:dev && cross-env NODE_OPTIONS=--max-http-header-size=80000 testcafe ie --app \"http-server ./build/dev -s\" src/__integ__/unsupportedBrowser.test.ts",
"preinteg:local:nightwatch": "http-server ./build/dev -s &",
"integ:local:nightwatch": "nightwatch",
"postinteg:local:nightwatch": "kill $(lsof -t -i:8080)",
"preinteg:local:nightwatch:chrome": "http-server ./build/dev -s &",
"integ:local:nightwatch:chrome": "nightwatch -e chrome",
"postinteg:local:nightwatch:chrome": "kill $(lsof -t -i:8080)",
"preinteg:local:nightwatch:firefox": "http-server ./build/dev -s &",
"integ:local:nightwatch:firefox": "nightwatch -e firefox",
"postinteg:local:nightwatch:firefox": "kill $(lsof -t -i:8080)"
},
"devDependencies": {
"@babel/plugin-transform-runtime": "^7.16.0",
"@babel/preset-env": "~7.6.3",
"@types/jest": "^27.0.2",
"@types/ua-parser-js": "^0.7.35",
"@types/uuid": "^8.3.0",
"@webpack-cli/serve": "^1.6.0",
"babel-loader": "~8.0.6",
"case-sensitive-paths-webpack-plugin": "^2.1.2",
"copy-webpack-plugin": "^6.3.2",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"http-server": "^13.0.2",
"jest": "^27.2.5",
"jest-date-mock": "^1.0.8",
"jest-environment-jsdom": "^27.2.5",
"jest-environment-jsdom-global": "^3.0.0",
"jest-mock-random": "^1.1.1",
"jsdom": "^16.4.0",
"json-schema-to-typescript": "^10.1.3",
"lodash": "^4.17.20",
"nightwatch": "^1.7.11",
"node-fetch": "^2.6.1",
"pre-commit": "^1.2.2",
"prettier": "2.2.1",
"testcafe": "^1.16.1",
"testcafe-reporter-html": "^1.4.6",
"testcafe-reporter-json": "^1.0.0",
"ts-jest": "^27.0.5",
"ts-loader": "^9.2.6",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.18.0",
"typescript": "^4.4.3",
"web-streams-polyfill": "^3.1.0",
"webpack": "^5.58.1",
"webpack-bundle-analyzer": "^4.5.0",
"webpack-cli": "^4.9.0",
"webpack-dev-middleware": "^5.2.1",
"webpack-dev-server": "^4.3.1",
"webpack-license-plugin": "^4.2.1",
"webpack-merge": "^5.8.0",
"xhr-mock": "^2.5.1"
},
"dependencies": {
"@aws-crypto/sha256-js": "^1.1.0",
"@aws-sdk/fetch-http-handler": "^3.36.0",
"@aws-sdk/protocol-http": "^3.36.0",
"@aws-sdk/signature-v4": "^3.36.0",
"@aws-sdk/util-hex-encoding": "^3.36.0",
"@babel/runtime": "^7.16.0",
"shimmer": "^1.2.1",
"ua-parser-js": "^0.7.23",
"uuid": "^8.3.2",
"web-vitals": "^1.1.1"
},
"pre-commit": [
"lint",
"prettier"
],
"jest": {
"setupFiles": [
"<rootDir>/tst/jest.setup.ts",
"jest-date-mock"
],
"transform": {
".ts": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"moduleFileExtensions": [
"ts",
"js"
]
},
"browserslist": [
"defaults"
]
}