forked from aws-observability/aws-rum-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
152 lines (152 loc) · 6.31 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
142
143
144
145
146
147
148
149
150
151
152
{
"name": "aws-rum-web",
"version": "1.15.0",
"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",
"build:version": "bash update-version.sh",
"release": "npm run build",
"version": "standard-version",
"lint": "eslint --ext .ts src/",
"lint:errors": "npm run lint -- --quiet",
"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:headless-linux": "npm run integ -- --config-file=./.testcafe.headless-linux.js",
"integ:headless-windows": "npm run integ -- --config-file=./.testcafe.headless-windows.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:headless": "cross-env URL=$URL MONITOR_ID=$MONITOR ENDPOINT=$ENDPOINT NAME=$NAME VERSION=$npm_package_version INSTALL_METHOD=$INSTALL_METHOD npx playwright test --config=playwright.config.ts",
"prepare": "husky install"
},
"devDependencies": {
"@aws-sdk/client-rum": "^3.76.0",
"@babel/plugin-transform-modules-commonjs": "^7.21.2",
"@babel/plugin-transform-runtime": "^7.16.0",
"@babel/preset-env": "~7.20.2",
"@playwright/test": "^1.21.1",
"@types/jest": "^29.2.3",
"@types/shimmer": "^1.0.2",
"@types/ua-parser-js": "^0.7.35",
"@types/uuid": "^9.0.0",
"@typescript-eslint/eslint-plugin": "^5.38.0",
"@typescript-eslint/parser": "^5.38.0",
"@webpack-cli/serve": "^1.6.0",
"babel-loader": "~9.1.0",
"case-sensitive-paths-webpack-plugin": "^2.1.2",
"copy-webpack-plugin": "^11.0.0",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"eslint": "^8.23.1",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsdoc": "^39.3.6",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-react": "^7.31.8",
"generate-json-webpack-plugin": "^2.0.0",
"http-server": "^14.1.1",
"husky": "^8.0.1",
"jest": "^29.3.1",
"jest-date-mock": "^1.0.8",
"jest-environment-jsdom": "^29.3.1",
"jest-environment-jsdom-global": "^4.0.0",
"jest-mock-random": "^1.1.1",
"jsdom": "^21.1.1",
"json-schema-to-typescript": "^11.0.2",
"lint-staged": "^13.0.3",
"lodash": "^4.17.20",
"nightwatch": "^2.0.6",
"node-fetch": "^2.6.1",
"npm-run-all": "^4.1.5",
"prettier": "2.8.4",
"standard-version": "^9.3.2",
"testcafe": "^3.3.0",
"testcafe-reporter-html": "^1.4.6",
"testcafe-reporter-json": "^1.0.0",
"ts-jest": "^29.0.3",
"ts-loader": "^9.4.2",
"typescript": "^4.8.4",
"web-streams-polyfill": "^3.1.0",
"webpack": "^5.74.0",
"webpack-bundle-analyzer": "^4.5.0",
"webpack-cli": "^4.10.0",
"webpack-dev-middleware": "^6.0.0",
"webpack-dev-server": "^4.3.1",
"webpack-merge": "^5.8.0",
"xhr-mock": "^2.5.1"
},
"dependencies": {
"@aws-crypto/sha256-js": "^2.0.2",
"@aws-sdk/fetch-http-handler": "^3.36.0",
"@aws-sdk/protocol-http": "^3.36.0",
"@aws-sdk/querystring-builder": "^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": "^1.0.33",
"uuid": "^9.0.0",
"web-vitals": "^3.0.2"
},
"lint-staged": {
"*.ts": "npm run lint:errors",
"*.{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",
"ie 11"
]
}