Currently all playground examples are built with `tsc` and served with the `gulp serve` task. In order to be able to test these examples easily with Ivy, we now build and serve the examples using Bazel. This allows us to expand our Ivy test coverage and additionally it allows us to move forward with the overall Bazel migration. Building & serving individual examples is now very easy and doesn't involve building everything inside of `/modules`. PR Close #28490
155 lines
5.5 KiB
JSON
155 lines
5.5 KiB
JSON
{
|
|
"name": "angular-srcs",
|
|
"version": "8.0.0-beta.2",
|
|
"private": true,
|
|
"branchPattern": "2.0.*",
|
|
"description": "Angular - a web framework for modern web apps",
|
|
"homepage": "https://github.com/angular/angular",
|
|
"bugs": "https://github.com/angular/angular/issues",
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": ">=10.9.0 <11.0.0",
|
|
"yarn": ">=1.10.1 <1.14.0"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/angular/angular.git"
|
|
},
|
|
"scripts": {
|
|
"bazel:format": "find . -type f \\( -name \"*.bzl\" -or -name BUILD -or -name BUILD.bazel -or -name WORKSPACE \\) ! -path \"*/node_modules/*\" | xargs buildifier -v",
|
|
"bazel:lint": "yarn bazel:format --lint=warn",
|
|
"bazel:lint-fix": "yarn bazel:format --lint=fix",
|
|
"preinstall": "node tools/yarn/check-yarn.js",
|
|
"postinstall": "yarn update-webdriver && node --preserve-symlinks --preserve-symlinks-main ./tools/postinstall-patches.js",
|
|
"update-webdriver": "webdriver-manager update --gecko false $CI_CHROMEDRIVER_VERSION_ARG",
|
|
"check-env": "gulp check-env",
|
|
"commitmsg": "node ./scripts/git/commit-msg.js",
|
|
"test-ivy-aot": "bazel test --define=compile=aot --build_tag_filters=-no-ivy-aot,-fixme-ivy-aot --test_tag_filters=-no-ivy-aot,-fixme-ivy-aot",
|
|
"test-fixme-ivy-aot": "bazel test --define=compile=aot --build_tag_filters=-no-ivy-aot --test_tag_filters=-no-ivy-aot",
|
|
"list-fixme-ivy-targets": "bazel query --output=label 'attr(\"tags\", \"\\[.*fixme-ivy.*\\]\", //...) except kind(\"sh_binary\", //...) except kind(\"devmode_js_sources\", //...)' | sort",
|
|
"bazel": "bazel"
|
|
},
|
|
"// 1": "dependencies are used locally and by bazel",
|
|
"dependencies": {
|
|
"@angular-devkit/architect": "^0.10.6",
|
|
"@angular-devkit/build-optimizer": "^0.12.2",
|
|
"@angular-devkit/core": "^7.0.4",
|
|
"@angular-devkit/schematics": "^7.3.0-rc.0",
|
|
"@bazel/karma": "~0.22.1",
|
|
"@bazel/typescript": "0.22.1-7-g68fed6a",
|
|
"@schematics/angular": "^7.0.4",
|
|
"@types/angular": "^1.6.47",
|
|
"@types/base64-js": "1.2.5",
|
|
"@types/chokidar": "1.7.3",
|
|
"@types/convert-source-map": "^1.5.1",
|
|
"@types/diff": "^3.2.2",
|
|
"@types/fs-extra": "4.0.2",
|
|
"@types/hammerjs": "2.0.35",
|
|
"@types/jasmine": "^2.8.8",
|
|
"@types/jasminewd2": "^2.0.6",
|
|
"@types/mock-fs": "^3.6.30",
|
|
"@types/node": "^10.9.4",
|
|
"@types/selenium-webdriver": "3.0.7",
|
|
"@types/shelljs": "^0.7.8",
|
|
"@types/source-map": "^0.5.1",
|
|
"@types/yargs": "^11.1.1",
|
|
"@webcomponents/custom-elements": "^1.0.4",
|
|
"angular": "npm:angular@1.7",
|
|
"angular-1.5": "npm:angular@1.5",
|
|
"angular-1.6": "npm:angular@1.6",
|
|
"angular-mocks": "npm:angular-mocks@1.7",
|
|
"angular-mocks-1.5": "npm:angular-mocks@1.5",
|
|
"angular-mocks-1.6": "npm:angular-mocks@1.6",
|
|
"base64-js": "1.2.1",
|
|
"canonical-path": "1.0.0",
|
|
"chokidar": "1.7.0",
|
|
"convert-source-map": "^1.5.1",
|
|
"dependency-graph": "^0.7.2",
|
|
"diff": "^3.5.0",
|
|
"domino": "2.1.0",
|
|
"fs-extra": "4.0.2",
|
|
"hammerjs": "2.0.8",
|
|
"jasmine": "^3.1.0",
|
|
"jasmine-core": "^3.1.0",
|
|
"karma": "^3.1.4",
|
|
"magic-string": "^0.25.0",
|
|
"minimist": "1.2.0",
|
|
"mock-fs": "^4.5.0",
|
|
"node-uuid": "1.4.8",
|
|
"protractor": "^5.4.2",
|
|
"reflect-metadata": "^0.1.3",
|
|
"rollup": "^1.1.0",
|
|
"rollup-plugin-node-resolve": "^4.0.0",
|
|
"rollup-plugin-sourcemaps": "^0.4.2",
|
|
"selenium-webdriver": "3.5.0",
|
|
"shelljs": "^0.8.1",
|
|
"source-map": "^0.6.1",
|
|
"source-map-support": "0.5.9",
|
|
"systemjs": "0.18.10",
|
|
"tsickle": "0.34.0",
|
|
"tslib": "^1.9.0",
|
|
"typescript": "~3.2.2",
|
|
"xhr2": "0.1.4",
|
|
"yargs": "9.0.1",
|
|
"zone.js": "^0.8.26"
|
|
},
|
|
"optionalDependencies": {
|
|
"fsevents": "2.0.1"
|
|
},
|
|
"// 2": "devDependencies are not used under Bazel. Many can be removed after test.sh is deleted.",
|
|
"// 3": "when updating @bazel/bazel version you also need to update the RBE settings in .bazelrc (see https://github.com/angular/angular/pull/27935)",
|
|
"devDependencies": {
|
|
"@angular/cli": "^7.3.0-rc.0",
|
|
"@bazel/bazel": "~0.22.0",
|
|
"@bazel/buildifier": "^0.19.2",
|
|
"@bazel/ibazel": "~0.9.0",
|
|
"@types/minimist": "^1.2.0",
|
|
"@types/systemjs": "0.19.32",
|
|
"browserstacktunnel-wrapper": "2.0.1",
|
|
"clang-format": "1.0.41",
|
|
"cldr": "4.10.0",
|
|
"cldr-data-downloader": "0.3.2",
|
|
"cldrjs": "0.5.0",
|
|
"conventional-changelog": "^2.0.3",
|
|
"core-js": "^2.4.1",
|
|
"cors": "2.8.4",
|
|
"entities": "1.1.1",
|
|
"firefox-profile": "1.0.3",
|
|
"glob": "7.1.2",
|
|
"gulp": "3.9.1",
|
|
"gulp-clang-format": "1.0.23",
|
|
"gulp-connect": "5.0.0",
|
|
"gulp-conventional-changelog": "^2.0.3",
|
|
"gulp-filter": "^5.1.0",
|
|
"gulp-git": "^2.7.0",
|
|
"gulp-tslint": "8.1.2",
|
|
"husky": "^0.14.3",
|
|
"incremental-dom": "0.4.1",
|
|
"jpm": "1.3.1",
|
|
"karma-browserstack-launcher": "^1.3.0",
|
|
"karma-chrome-launcher": "^2.2.0",
|
|
"karma-jasmine": "^1.1.2",
|
|
"karma-sauce-launcher": "^2.0.2",
|
|
"karma-sourcemap-loader": "^0.3.7",
|
|
"madge": "0.5.0",
|
|
"mutation-observer": "^1.0.3",
|
|
"rewire": "2.5.2",
|
|
"rollup-plugin-commonjs": "8.1.0",
|
|
"rxjs": "^6.3.0",
|
|
"sauce-connect": "https://saucelabs.com/downloads/sc-4.5.3-linux.tar.gz",
|
|
"semver": "5.4.1",
|
|
"tslint": "5.7.0",
|
|
"tslint-eslint-rules": "4.1.1",
|
|
"tsutils": "2.27.2",
|
|
"uglify-es": "^3.3.9",
|
|
"universal-analytics": "0.4.15",
|
|
"vlq": "0.2.2",
|
|
"vrsource-tslint-rules": "5.1.1",
|
|
"webpack": "1.12.9"
|
|
},
|
|
"// 4": "natives is needed for gulp to work with node >= 10.13, see #28213",
|
|
"resolutions": {
|
|
"natives": "1.1.6"
|
|
}
|
|
}
|