Lines 9-49json
10 "author": "Amazon Web Services",
11 "license": "Apache-2.0",
16 "compile": "tsc --build",
17 "fix": "npm run fix:prettier",
18 "fix:prettier": "prettier . --write",
19 "lint": "npm run lint:src",
20 "lint:bundle:webworker": "webpack --config webpack.lint.config.js && eslint bundle/aws-lsp-codewhisperer-webworker.js # Verify compatibility with web runtime target",
21 "lint:src": "eslint src/ --ext .ts,.tsx",
22 "test:unit": "ts-mocha --timeout 0 -b \"./src/**/*.test.ts\"",
23 "test:unit:coverage": "c8 ts-mocha --timeout 0 -b \"./src/**/*.test.ts\"",
24 "test": "npm run lint && npm run test:unit",
25 "test:coverage": "npm run lint && npm run test:unit:coverage",
26 "coverage:report": "c8 report --reporter=html --reporter=text",
27 "coverage:check": "c8 check-coverage --lines 80 --functions 80 --branches 50 --statements 80",
28 "prepack": "npm run compile && ts-node ../../script/link_bundled_dependencies.ts",
29 "postinstall": "node ./script/install_transitive_dep.js"
HighInstall Time Lifecycle Scripts
Package defines install-time lifecycle scripts.
package.jsonView on unpkg · L29 32 "@amazon/elastic-gumby-frontend-client": "file:../../core/atx-fes-client/amazon-elastic-gumby-frontend-client-1.1.0.tgz",
33 "@amzn/amazon-q-developer-streaming-client": "file:../../core/q-developer-streaming-client/amzn-amazon-q-developer-streaming-client-1.0.0.tgz",
34 "@amzn/codewhisperer": "file:../../core/codewhisperer/amzn-codewhisperer-1.0.0.tgz",
35 "@amzn/codewhisperer-runtime": "file:../../core/codewhisperer-runtime/amzn-codewhisperer-runtime-1.0.0.tgz",
36 "@amzn/codewhisperer-streaming": "file:../../core/codewhisperer-streaming/amzn-codewhisperer-streaming-1.0.0.tgz",
37 "@aws-sdk/types": "^3.734.0",
38 "@aws-sdk/util-arn-parser": "^3.723.0",
39 "@aws-sdk/util-retry": "^3.374.0",
40 "@aws/chat-client-ui-types": "0.1.71",
41 "@aws/language-server-runtimes": "^0.3.19",
42 "@aws/lsp-core": "^0.0.21",
43 "@modelcontextprotocol/sdk": "^1.23.0",
44 "@mozilla/readability": "^0.6.0",
45 "@smithy/node-http-handler": "^2.5.0",
48 "async-mutex": "^0.5.0",