mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Marks the beginning of a migration over to building Angular devtools with Bazel. This commit brings in tooling from the canonical angular bazel example repository and includes the necessary dependencies in the package.json
118 lines
5.1 KiB
JSON
118 lines
5.1 KiB
JSON
{
|
|
"name": "angular-devtools",
|
|
"version": "0.0.0",
|
|
"scripts": {
|
|
"postinstall": "ngcc",
|
|
"ng": "ng",
|
|
"cypress:verify": "cypress verify",
|
|
"start": "ibazel run src:devserver",
|
|
"start-no-animations": "bazel run src:devserver-e2e",
|
|
"build": "ng build",
|
|
"build:chrome": "bazel build projects/shell-chrome/src:prodapp",
|
|
"build:chrome:watch": "ibazel build projects/shell-chrome/src:prodapp",
|
|
"release": "node projects/shell-chrome/set-version.js && cross-env LATEST_SHA=`git rev-parse --short HEAD` ng build shell-chrome --configuration production",
|
|
"test": "ng test",
|
|
"lint": "tslint -p tsconfig.json -c tslint.json",
|
|
"lint:fix": "tslint -p tsconfig.json -c tslint.json --fix",
|
|
"e2e": "npm run cy:run",
|
|
"cy:verify": "$(npm bin)/cypress verify",
|
|
"cy:version": "$(npm bin)/cypress version",
|
|
"cy:run": "$(yarn bin)/cypress run",
|
|
"cy:open": "$(yarn bin)/cypress open",
|
|
"cy:ci": "start-server-and-test start-no-animations http-get://localhost:4200 cy:run",
|
|
"cy:watch": "start-server-and-test start-no-animations http-get://localhost:4200 cy:open",
|
|
"test:ci": "bazel test projects/shared-utils/... projects/protocol/... projects/ng-devtools/... projects/ng-devtools-backend/...",
|
|
"prettier": "prettier --write \"{,!(node_modules|dist|build|coverage)/**/}*.{js,jsx,ts,tsx,json}\"",
|
|
"prettier:fix": "pretty-quick --staged",
|
|
"bazel:build": "yarn bazel:build:protocol && yarn bazel:build:ng-devtools-backend && yarn bazel:build:shared-utils && yarn bazel:build:ng-devtools"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "yarn prettier:fix"
|
|
}
|
|
},
|
|
"private": true,
|
|
"dependencies": {
|
|
"@angular/animations": "github:angular/animations-builds#e814a6149fd654e265a465837f17bdebdc976a9d",
|
|
"@angular/cdk": "~12.2.0",
|
|
"@angular/common": "github:angular/common-builds#f1e665ee23545ee54adf517450083125aea33357",
|
|
"@angular/compiler": "github:angular/compiler-builds#11a9d99b5540a189c393686b078b0ef4692573cf",
|
|
"@angular/core": "github:angular/core-builds#7cda5ccc3ab33ca2230b67b38a0cea0d43035531",
|
|
"@angular/forms": "github:angular/forms-builds#380d3f7831ae2b40390dbc2ed0f457740e3b310f",
|
|
"@angular/material": "~12.2.0",
|
|
"@angular/platform-browser": "github:angular/platform-browser-builds#7f38db5e7693cd7a1e76c0f21978eb44b89b799f",
|
|
"@angular/platform-browser-dynamic": "github:angular/platform-browser-dynamic-builds#9e478221d7065200684a1eece31b99d287674da8",
|
|
"@types/node": "^16.7.1",
|
|
"ajv-formats": "^2.1.1",
|
|
"d3": "^5.7.0",
|
|
"memo-decorator": "^2.0.1",
|
|
"ngx-flamegraph": "0.0.10",
|
|
"puppeteer": "^10.2.0",
|
|
"rxjs": "~6.6.0",
|
|
"semver-dsl": "^1.0.1",
|
|
"tslib": "^2.3.0",
|
|
"webtreemap": "^2.0.1",
|
|
"zone.js": "~0.11.0"
|
|
},
|
|
"devDependencies": {
|
|
"@angular-devkit/build-angular": "github:angular/angular-devkit-build-angular-builds#7c4c781be8e3666f14360d3fe5dac0d35a851227",
|
|
"@angular-devkit/build-ng-packagr": "~0.1002.0",
|
|
"@angular/cli": "github:angular/cli-builds#858ee211470523d39a9ff16b57b676be740f77cc",
|
|
"@angular/compiler-cli": "github:angular/compiler-cli-builds#89c6b3464f3f46a9f46334825bbff3d784af4136",
|
|
"@angular/elements": "github:angular/elements-builds#55c36f9d5381ffc06649a03bff3c2934b18ddd02",
|
|
"@angular/language-service": "github:angular/language-service-builds#e16ca91c029934dde01557efcf860e2465629655",
|
|
"@angular/router": "github:angular/router-builds#5485647d9f68a01041285dfa0b92d841d7fa8c0f",
|
|
"@bahmutov/add-typescript-to-cypress": "^2.1.2",
|
|
"@types/chrome": "^0.0.159",
|
|
"@bazel/angular": "^3.7.0",
|
|
"@bazel/bazelisk": "^1.7.5",
|
|
"@bazel/concatjs": "^3.7.0",
|
|
"@bazel/ibazel": "^0.15.10",
|
|
"@bazel/rollup": "^3.7.0",
|
|
"@bazel/terser": "^3.7.0",
|
|
"@bazel/typescript": "^3.7.0",
|
|
"@rollup/plugin-commonjs": "18.0.0",
|
|
"@rollup/plugin-json": "4.1.0",
|
|
"@rollup/plugin-node-resolve": "8.4.0",
|
|
"@types/clone-deep": "^4.0.1",
|
|
"@types/filesystem": "^0.0.32",
|
|
"@types/jasmine": "~3.9.0",
|
|
"@types/jasminewd2": "~2.0.3",
|
|
"@types/resize-observer-browser": "^0.1.5",
|
|
"@types/semver": "^7.1.0",
|
|
"codelyzer": "^6.0.0",
|
|
"cross-env": "^7.0.2",
|
|
"cypress": "^8.0.0",
|
|
"cypress-browser-extension-plugin": "^0.1.0",
|
|
"cypress-iframe": "^1.0.1",
|
|
"document-register-element": "^1.7.2",
|
|
"html-insert-assets": "^0.14.2",
|
|
"husky": "^4.3.8",
|
|
"jasmine-core": "~3.10.0",
|
|
"jasmine-spec-reporter": "~7.0.0",
|
|
"karma": "~4.1.0",
|
|
"karma-chrome-launcher": "2.2.0",
|
|
"karma-firefox-launcher": "1.1.0",
|
|
"karma-jasmine": "2.0.1",
|
|
"karma-junit-reporter": "2.0.1",
|
|
"karma-requirejs": "1.1.0",
|
|
"karma-sourcemap-loader": "0.3.7",
|
|
"ng-packagr": "^12.0.0",
|
|
"ngx-build-plus": "^11.0.0",
|
|
"prettier": "^2.0.0",
|
|
"pretty-quick": "^3.0.0",
|
|
"protractor": "~7.0.0",
|
|
"requirejs": "2.3.6",
|
|
"rollup": "2.44.0",
|
|
"rollup-plugin-amd": "4.0.0",
|
|
"start-server-and-test": "^1.10.11",
|
|
"todomvc-app-css": "^2.3.0",
|
|
"todomvc-common": "^1.0.5",
|
|
"ts-node": "~10.3.0",
|
|
"tsickle": "^0.43.0",
|
|
"tslint": "~5.20.0",
|
|
"typescript": "~4.4.3",
|
|
"wait-on": "^6.0.0",
|
|
"webpack": "5.59.1"
|
|
}
|
|
}
|