forked from aws-observability/aws-rum-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
141 lines (141 loc) · 5.93 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
{
"name": "aws-rum-web",
"version": "1.5.1",
"sideEffects": false,
"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": "webpack-dev-server --config webpack/webpack.dev.js",
"start": "npm run server",
"pretest": "npm run build:schemas",
"test": "jest -c jest.unit.config.js",
"test:coverage": "npm run test -- --coverage",
"build:schemas": "node scripts/generate-schema-ts.js",
"build:webpack:dev": "webpack --config webpack/webpack.dev.js",
"build:webpack:prod": "webpack --config webpack/webpack.prod.js",
"build:dist:es": "tsc --project ./tsconfig.es.json",
"build:dist:cjs": "tsc --project ./tsconfig.cjs.json",
"build:assets": "npm-run-all -p build:dist:* build:webpack:prod",
"build": "npm-run-all -s build:schemas build:assets",
"build:dev": "npm-run-all -s build build:webpack:dev",
"release": "npm run build",
"version": "standard-version",
"lint": "npx tslint --config ./tslint.json --project ./tsconfig.json --format verbose",
"lint:fix": "npm run lint -- --fix",
"prettier": "npx prettier --check .",
"prettier:fix": "npm run prettier -- --write",
"prepublishOnly": "npm run release",
"preinteg": "npm run build:dev",
"integ": "testcafe --app \"http-server ./build/dev -s\"",
"integ:browser": "npm run integ -- --config-file=./.testcafe.browser.js",
"integ:browser:ie": "npm run integ -- ie src/__integ__/unsupportedBrowser.test.ts",
"integ:headless": "npm run integ -- --config-file=./.testcafe.headless.js",
"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)",
"smoke:local:headless": "cross-env URL=$URL MONITOR_ID=$MONITOR ENDPOINT=$ENDPOINT NAME=$NAME VERSION=$npm_package_version npx playwright test --config=playwright.local.config.ts",
"smoke:local": "cross-env URL=$URL MONITOR_ID=$MONITOR ENDPOINT=$ENDPOINT NAME=$NAME VERSION=$npm_package_version npx playwright test --config=playwright.local.config.ts --headed",
"smoke": "cross-env URL=$URL MONITOR_ID=$MONITOR ENDPOINT=$ENDPOINT NAME=$NAME VERSION=$npm_package_version npx playwright test --config=playwright.config.ts --headed",
"smoke:headless": "cross-env URL=$URL MONITOR_ID=$MONITOR ENDPOINT=$ENDPOINT NAME=$NAME VERSION=$npm_package_version npx playwright test --config=playwright.config.ts",
"prepare": "husky install"
},
"devDependencies": {
"@babel/plugin-transform-runtime": "^7.16.0",
"@babel/preset-env": "~7.6.3",
"@playwright/test": "^1.21.1",
"@types/jest": "^27.0.2",
"@types/shimmer": "^1.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",
"husky": "^7.0.4",
"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.5",
"lint-staged": "^12.4.1",
"lodash": "^4.17.20",
"nightwatch": "^2.0.6",
"node-fetch": "^2.6.1",
"npm-run-all": "^4.1.5",
"prettier": "2.2.1",
"standard-version": "^9.3.2",
"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-merge": "^5.8.0",
"xhr-mock": "^2.5.1"
},
"dependencies": {
"@aws-crypto/sha256-js": "^1.1.0",
"@aws-sdk/client-rum": "^3.76.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"
},
"lint-staged": {
"*.{ts}": "npm run lint",
"*.{js,ts,json,html,yml,md}": "npx prettier --check"
},
"jest": {
"setupFiles": [
"<rootDir>/tst/jest.setup.ts",
"jest-date-mock"
],
"transform": {
".ts": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"moduleFileExtensions": [
"ts",
"js"
]
},
"browserslist": [
"defaults"
]
}