2017-01-25 06:04:30 -05:00
|
|
|
{
|
|
|
|
"name": "angular.io",
|
|
|
|
"version": "0.0.0",
|
2017-01-25 12:39:01 -05:00
|
|
|
"main": "index.js",
|
|
|
|
"repository": "git@github.com:angular/angular.git",
|
|
|
|
"author": "Angular",
|
2017-01-25 06:04:30 -05:00
|
|
|
"license": "MIT",
|
2017-01-27 03:20:51 -05:00
|
|
|
"scripts": {
|
2018-02-27 18:24:07 -05:00
|
|
|
"preinstall": "node ../tools/yarn/check-yarn.js",
|
2018-11-23 14:03:21 -05:00
|
|
|
"postinstall": "node tools/cli-patches/patch.js",
|
2019-08-03 11:14:40 -04:00
|
|
|
"aio-use-local": "node tools/ng-packages-installer overwrite . --debug --force --build-packages",
|
2017-10-24 06:43:52 -04:00
|
|
|
"aio-use-npm": "node tools/ng-packages-installer restore .",
|
2017-10-06 08:37:56 -04:00
|
|
|
"aio-check-local": "node tools/ng-packages-installer check .",
|
2017-03-03 06:18:15 -05:00
|
|
|
"ng": "yarn check-env && ng",
|
2018-04-27 07:42:01 -04:00
|
|
|
"start": "yarn check-env && ng serve --configuration=fast",
|
2019-01-09 07:52:26 -05:00
|
|
|
"prebuild": "yarn setup",
|
|
|
|
"build": "yarn ~~build",
|
2017-08-15 20:34:53 -04:00
|
|
|
"prebuild-local": "yarn setup-local",
|
2019-01-09 07:52:26 -05:00
|
|
|
"build-local": "yarn ~~build",
|
build(docs-infra): ensure `setup-local` and similar scripts build local packages (#33206)
The `setup-local` scripts (and others that are based on it, such as
`setup-local-viewengine`), mainly does two things: Replace the Angular
packages with the locally built ones for `aio/` and the docs examples
(`aio/tools/examples/shared/`). It does this by calling two other npm
scripts: `aio-use-local` and `example-use-local` respectively.
For these scripts to work, the local Angular packages must be already
built (via `scripts/build-packages-dist.sh`). In order to make it easier
for people to test against local packages, the scripts support a
`--build-packages` option, that (if passed) will result in building the
local packages as well.
Given that the same local packages are used for both `aio/` and the
examples, we only need to build the packages once. Also, to speed up
execution on CI, we do not need to build the packages there, because the
packages would have been built already in a previous CI job.
However, the various setup npm scripts were not implemented correctly to
meet these requirements. Specifically, when running locally,
`aio-use-local` would build the packages, while `example-use-local`
would not (it was supposed to use the already built packages from
`aio-use-local`). The `example-use-local` script, though, was configured
to run before `aio-use-local`. As a result, the packages were not built,
by the time `example-use-local` needed them, which would cause an error.
This commit fixes it by ensuring that `aio-use-local` (which builds the
local Angular packages) runs before `example-use-local`, so that the
latter can use the same packages already built by the former.
PR Close #33206
2019-10-16 16:15:40 -04:00
|
|
|
"prebuild-local-ci": "yarn setup-local-ci",
|
2019-08-03 11:14:40 -04:00
|
|
|
"build-local-ci": "yarn ~~build --progress=false",
|
2019-09-30 17:54:00 -04:00
|
|
|
"prebuild-local-with-viewengine": "node scripts/switch-to-viewengine && yarn setup-local",
|
|
|
|
"build-local-with-viewengine": "yarn ~~build",
|
build(docs-infra): ensure `setup-local` and similar scripts build local packages (#33206)
The `setup-local` scripts (and others that are based on it, such as
`setup-local-viewengine`), mainly does two things: Replace the Angular
packages with the locally built ones for `aio/` and the docs examples
(`aio/tools/examples/shared/`). It does this by calling two other npm
scripts: `aio-use-local` and `example-use-local` respectively.
For these scripts to work, the local Angular packages must be already
built (via `scripts/build-packages-dist.sh`). In order to make it easier
for people to test against local packages, the scripts support a
`--build-packages` option, that (if passed) will result in building the
local packages as well.
Given that the same local packages are used for both `aio/` and the
examples, we only need to build the packages once. Also, to speed up
execution on CI, we do not need to build the packages there, because the
packages would have been built already in a previous CI job.
However, the various setup npm scripts were not implemented correctly to
meet these requirements. Specifically, when running locally,
`aio-use-local` would build the packages, while `example-use-local`
would not (it was supposed to use the already built packages from
`aio-use-local`). The `example-use-local` script, though, was configured
to run before `aio-use-local`. As a result, the packages were not built,
by the time `example-use-local` needed them, which would cause an error.
This commit fixes it by ensuring that `aio-use-local` (which builds the
local Angular packages) runs before `example-use-local`, so that the
latter can use the same packages already built by the former.
PR Close #33206
2019-10-16 16:15:40 -04:00
|
|
|
"prebuild-local-with-viewengine-ci": "node scripts/switch-to-viewengine && yarn setup-local-ci",
|
2019-09-30 17:54:00 -04:00
|
|
|
"build-local-with-viewengine-ci": "yarn ~~build --progress=false",
|
2021-02-12 05:23:53 -05:00
|
|
|
"extract-cli-command-docs": "node tools/transforms/cli-docs-package/extract-cli-commands.js 84b99497f",
|
2018-01-25 05:13:30 -05:00
|
|
|
"lint": "yarn check-env && yarn docs-lint && ng lint && yarn example-lint && yarn tools-lint",
|
2017-04-21 15:20:02 -04:00
|
|
|
"test": "yarn check-env && ng test",
|
2018-02-27 18:24:07 -05:00
|
|
|
"pree2e": "yarn check-env && yarn update-webdriver",
|
2017-06-14 11:34:13 -04:00
|
|
|
"e2e": "ng e2e --no-webdriver-update",
|
2018-09-06 05:54:53 -04:00
|
|
|
"presetup": "yarn --cwd .. install && yarn install --frozen-lockfile && yarn ~~check-env && yarn ~~clean-generated && yarn boilerplate:remove",
|
2019-08-03 11:14:40 -04:00
|
|
|
"setup": "yarn example-use-npm && yarn aio-use-npm",
|
2019-04-24 08:27:23 -04:00
|
|
|
"postsetup": "yarn boilerplate:add && yarn extract-cli-command-docs && yarn docs",
|
2017-08-15 20:34:53 -04:00
|
|
|
"presetup-local": "yarn presetup",
|
build(docs-infra): ensure `setup-local` and similar scripts build local packages (#33206)
The `setup-local` scripts (and others that are based on it, such as
`setup-local-viewengine`), mainly does two things: Replace the Angular
packages with the locally built ones for `aio/` and the docs examples
(`aio/tools/examples/shared/`). It does this by calling two other npm
scripts: `aio-use-local` and `example-use-local` respectively.
For these scripts to work, the local Angular packages must be already
built (via `scripts/build-packages-dist.sh`). In order to make it easier
for people to test against local packages, the scripts support a
`--build-packages` option, that (if passed) will result in building the
local packages as well.
Given that the same local packages are used for both `aio/` and the
examples, we only need to build the packages once. Also, to speed up
execution on CI, we do not need to build the packages there, because the
packages would have been built already in a previous CI job.
However, the various setup npm scripts were not implemented correctly to
meet these requirements. Specifically, when running locally,
`aio-use-local` would build the packages, while `example-use-local`
would not (it was supposed to use the already built packages from
`aio-use-local`). The `example-use-local` script, though, was configured
to run before `aio-use-local`. As a result, the packages were not built,
by the time `example-use-local` needed them, which would cause an error.
This commit fixes it by ensuring that `aio-use-local` (which builds the
local Angular packages) runs before `example-use-local`, so that the
latter can use the same packages already built by the former.
PR Close #33206
2019-10-16 16:15:40 -04:00
|
|
|
"setup-local": "yarn aio-use-local && yarn example-use-local",
|
2017-08-15 20:34:53 -04:00
|
|
|
"postsetup-local": "yarn postsetup",
|
build(docs-infra): ensure `setup-local` and similar scripts build local packages (#33206)
The `setup-local` scripts (and others that are based on it, such as
`setup-local-viewengine`), mainly does two things: Replace the Angular
packages with the locally built ones for `aio/` and the docs examples
(`aio/tools/examples/shared/`). It does this by calling two other npm
scripts: `aio-use-local` and `example-use-local` respectively.
For these scripts to work, the local Angular packages must be already
built (via `scripts/build-packages-dist.sh`). In order to make it easier
for people to test against local packages, the scripts support a
`--build-packages` option, that (if passed) will result in building the
local packages as well.
Given that the same local packages are used for both `aio/` and the
examples, we only need to build the packages once. Also, to speed up
execution on CI, we do not need to build the packages there, because the
packages would have been built already in a previous CI job.
However, the various setup npm scripts were not implemented correctly to
meet these requirements. Specifically, when running locally,
`aio-use-local` would build the packages, while `example-use-local`
would not (it was supposed to use the already built packages from
`aio-use-local`). The `example-use-local` script, though, was configured
to run before `aio-use-local`. As a result, the packages were not built,
by the time `example-use-local` needed them, which would cause an error.
This commit fixes it by ensuring that `aio-use-local` (which builds the
local Angular packages) runs before `example-use-local`, so that the
latter can use the same packages already built by the former.
PR Close #33206
2019-10-16 16:15:40 -04:00
|
|
|
"presetup-local-ci": "yarn presetup-local",
|
|
|
|
"setup-local-ci": "yarn aio-use-local --no-build-packages && yarn example-use-local",
|
|
|
|
"postsetup-local-ci": "yarn postsetup-local",
|
2018-08-30 12:32:32 -04:00
|
|
|
"set-opensearch-url": "node --eval \"const sh = require('shelljs'); sh.set('-e'); sh.sed('-i', /PLACEHOLDER_URL/g, process.argv[1], 'dist/assets/opensearch.xml');\"",
|
2018-10-22 08:33:40 -04:00
|
|
|
"presmoke-tests": "yarn update-webdriver",
|
|
|
|
"smoke-tests": "protractor tests/deployment/e2e/protractor.conf.js --suite smoke --baseUrl",
|
2019-07-03 19:34:32 -04:00
|
|
|
"test-a11y-score": "node scripts/test-aio-a11y",
|
|
|
|
"test-a11y-score-localhost": "run-p --race \"~~light-server -s dist -p 4200 --quiet\" \"test-a11y-score http://localhost:4200\" --",
|
2019-07-03 17:43:50 -04:00
|
|
|
"test-pwa-score": "run-s \"~~audit-web-app {1} all:0,pwa:{2} {3}\" --",
|
2019-07-03 19:34:32 -04:00
|
|
|
"test-pwa-score-localhost": "run-p --race \"~~light-server -s dist -p 4200 --quiet\" \"test-pwa-score http://localhost:4200 {1} {2}\" --",
|
2017-10-06 08:37:56 -04:00
|
|
|
"example-e2e": "yarn example-check-local && node ./tools/examples/run-example-e2e",
|
2019-04-24 08:27:24 -04:00
|
|
|
"example-lint": "tslint --config \"content/examples/tslint.json\" \"content/examples/**/*.ts\" --exclude \"content/examples/styleguide/**/*.avoid.ts\"",
|
2019-08-03 11:14:40 -04:00
|
|
|
"example-use-local": "node tools/ng-packages-installer overwrite ./tools/examples/shared --debug --force",
|
2017-10-06 08:37:56 -04:00
|
|
|
"example-use-npm": "node tools/ng-packages-installer restore ./tools/examples/shared",
|
|
|
|
"example-check-local": "node tools/ng-packages-installer check ./tools/examples/shared",
|
2020-10-28 06:23:51 -04:00
|
|
|
"deploy-production": "node scripts/deploy-to-firebase",
|
2017-08-15 20:34:53 -04:00
|
|
|
"check-env": "yarn ~~check-env",
|
2017-10-06 08:37:56 -04:00
|
|
|
"postcheck-env": "yarn aio-check-local",
|
2017-05-23 20:20:56 -04:00
|
|
|
"payload-size": "scripts/payload.sh",
|
2021-01-11 01:34:58 -05:00
|
|
|
"predocs": "node scripts/contributors/validate-data && yarn generate-stackblitz && yarn generate-zips",
|
2018-09-14 05:04:39 -04:00
|
|
|
"docs": "yarn docs-only",
|
|
|
|
"docs-only": "dgeni ./tools/transforms/angular.io-package",
|
2017-04-16 16:31:21 -04:00
|
|
|
"docs-watch": "node tools/transforms/authors-package/watchr.js",
|
|
|
|
"docs-lint": "eslint --ignore-path=\"tools/transforms/.eslintignore\" tools/transforms",
|
2017-06-21 09:18:26 -04:00
|
|
|
"docs-test": "node tools/transforms/test.js",
|
2019-10-03 05:39:43 -04:00
|
|
|
"redirects-test": "node tests/deployment/unit/test",
|
|
|
|
"firebase-utils-test": "node tools/firebase-test-utils/test",
|
2019-04-24 08:27:24 -04:00
|
|
|
"tools-lint": "tslint --config \"tools/tslint.json\" --project \"tools/firebase-test-utils\"",
|
2020-10-28 06:23:51 -04:00
|
|
|
"tools-test": "yarn docs-test && yarn boilerplate:test && jasmine tools/ng-packages-installer/index.spec.js && jasmine scripts/deploy-to-firebase.spec.js && yarn firebase-utils-test",
|
2018-01-26 11:05:52 -05:00
|
|
|
"preserve-and-sync": "yarn docs",
|
2020-10-09 14:04:43 -04:00
|
|
|
"serve-and-sync": "run-p \"docs-watch --watch-only\" \"start {@}\" --",
|
2017-07-27 03:29:17 -04:00
|
|
|
"boilerplate:add": "node ./tools/examples/example-boilerplate add",
|
2020-04-06 15:57:58 -04:00
|
|
|
"boilerplate:add:viewengine": "yarn boilerplate:add --viewengine",
|
2017-07-27 03:29:17 -04:00
|
|
|
"boilerplate:remove": "node ./tools/examples/example-boilerplate remove",
|
|
|
|
"boilerplate:test": "node tools/examples/test.js",
|
2017-11-03 13:08:28 -04:00
|
|
|
"generate-stackblitz": "node ./tools/stackblitz-builder/generateStackblitz",
|
2017-05-11 16:21:27 -04:00
|
|
|
"generate-zips": "node ./tools/example-zipper/generateZips",
|
2020-10-15 07:05:14 -04:00
|
|
|
"create-example": "node ./tools/examples/create-example.js",
|
2018-04-05 07:24:37 -04:00
|
|
|
"build-404-page": "node scripts/build-404-page",
|
2020-02-07 06:38:58 -05:00
|
|
|
"update-webdriver": "node ../scripts/webdriver-manager-update.js",
|
2019-07-03 17:43:50 -04:00
|
|
|
"~~audit-web-app": "node scripts/audit-web-app",
|
2017-08-15 20:34:53 -04:00
|
|
|
"~~check-env": "node scripts/check-environment",
|
2018-09-06 05:54:53 -04:00
|
|
|
"~~clean-generated": "node --eval \"require('shelljs').rm('-rf', 'src/generated')\"",
|
2019-01-09 07:52:26 -05:00
|
|
|
"~~build": "ng build --configuration=stable",
|
2018-09-27 09:35:05 -04:00
|
|
|
"post~~build": "yarn build-404-page",
|
2019-07-03 19:34:32 -04:00
|
|
|
"~~light-server": "light-server --bind=localhost --historyindex=/index.html --no-reload"
|
2017-01-27 03:20:51 -05:00
|
|
|
},
|
2019-12-04 15:05:53 -05:00
|
|
|
"//engines-comment": "Keep this in sync with /package.json and /aio/tools/examples/shared/package.json",
|
2017-06-14 11:34:13 -04:00
|
|
|
"engines": {
|
2019-07-25 10:47:02 -04:00
|
|
|
"node": ">=10.9.0 <13.0.0",
|
2020-04-06 17:57:52 -04:00
|
|
|
"yarn": ">=1.22.4 <2"
|
2017-06-14 11:34:13 -04:00
|
|
|
},
|
2017-01-27 03:20:51 -05:00
|
|
|
"private": true,
|
|
|
|
"dependencies": {
|
2020-11-18 10:24:35 -05:00
|
|
|
"@angular/animations": "11.0.0",
|
2020-11-18 12:14:49 -05:00
|
|
|
"@angular/cdk": "11.0.0",
|
2020-11-18 10:24:35 -05:00
|
|
|
"@angular/common": "11.0.0",
|
|
|
|
"@angular/compiler": "11.0.0",
|
|
|
|
"@angular/core": "11.0.0",
|
|
|
|
"@angular/elements": "11.0.0",
|
|
|
|
"@angular/forms": "11.0.0",
|
2020-11-18 12:14:49 -05:00
|
|
|
"@angular/material": "11.0.0",
|
2020-11-18 10:24:35 -05:00
|
|
|
"@angular/platform-browser": "11.0.0",
|
|
|
|
"@angular/platform-browser-dynamic": "11.0.0",
|
|
|
|
"@angular/router": "11.0.0",
|
|
|
|
"@angular/service-worker": "11.0.0",
|
2020-02-12 11:04:50 -05:00
|
|
|
"@webcomponents/custom-elements": "1.2.1",
|
2019-09-13 20:26:10 -04:00
|
|
|
"rxjs": "^6.5.3",
|
2020-09-27 08:20:48 -04:00
|
|
|
"tslib": "^2.0.0",
|
2021-02-15 04:08:30 -05:00
|
|
|
"zone.js": "~0.11.4"
|
2017-01-27 03:20:51 -05:00
|
|
|
},
|
2017-01-25 06:04:30 -05:00
|
|
|
"devDependencies": {
|
2020-11-18 10:24:35 -05:00
|
|
|
"@angular-devkit/build-angular": "0.1100.1",
|
|
|
|
"@angular/cli": "11.0.1",
|
|
|
|
"@angular/compiler-cli": "11.0.0",
|
2020-11-18 05:36:06 -05:00
|
|
|
"@types/jasmine": "~3.6.0",
|
2019-10-03 05:39:43 -04:00
|
|
|
"@types/lunr": "^2.3.2",
|
|
|
|
"@types/node": "^12.7.9",
|
|
|
|
"@types/xregexp": "^3.0.30",
|
2019-02-04 09:45:45 -05:00
|
|
|
"@yarnpkg/lockfile": "^1.1.0",
|
2017-04-16 17:40:47 -04:00
|
|
|
"archiver": "^1.3.0",
|
2018-10-24 08:24:14 -04:00
|
|
|
"canonical-path": "1.0.0",
|
2017-08-15 20:34:53 -04:00
|
|
|
"chalk": "^2.1.0",
|
2018-01-25 05:13:30 -05:00
|
|
|
"cjson": "^0.5.0",
|
2020-09-27 08:20:48 -04:00
|
|
|
"codelyzer": "^6.0.0",
|
2017-04-13 17:35:13 -04:00
|
|
|
"cross-spawn": "^5.1.0",
|
2017-11-17 08:37:15 -05:00
|
|
|
"css-selector-parser": "^1.3.0",
|
2021-01-12 15:53:50 -05:00
|
|
|
"dgeni": "^0.4.13",
|
2020-06-27 10:08:40 -04:00
|
|
|
"dgeni-packages": "^0.28.4",
|
2017-02-09 14:58:36 -05:00
|
|
|
"entities": "^1.1.1",
|
2017-04-01 14:34:10 -04:00
|
|
|
"eslint": "^3.19.0",
|
|
|
|
"eslint-plugin-jasmine": "^2.2.0",
|
2019-03-04 14:33:25 -05:00
|
|
|
"find-free-port": "^2.0.0",
|
2020-10-28 15:51:17 -04:00
|
|
|
"firebase-tools": "^8.14.1",
|
2017-04-13 17:35:13 -04:00
|
|
|
"fs-extra": "^2.1.2",
|
2017-03-15 17:41:15 -04:00
|
|
|
"globby": "^6.1.0",
|
2017-04-28 10:05:05 -04:00
|
|
|
"hast-util-is-element": "^1.0.0",
|
2017-05-10 13:34:19 -04:00
|
|
|
"hast-util-to-string": "^1.0.0",
|
2017-04-01 14:32:48 -04:00
|
|
|
"html": "^1.0.0",
|
2017-06-07 17:34:11 -04:00
|
|
|
"ignore": "^3.3.3",
|
2017-04-28 10:05:05 -04:00
|
|
|
"image-size": "^0.5.1",
|
2020-09-27 08:20:48 -04:00
|
|
|
"jasmine": "~3.6.0",
|
|
|
|
"jasmine-core": "~3.6.0",
|
2020-05-05 08:28:48 -04:00
|
|
|
"jasmine-spec-reporter": "~5.0.0",
|
2017-03-28 13:29:47 -04:00
|
|
|
"jsdom": "^9.12.0",
|
2018-09-14 05:05:57 -04:00
|
|
|
"json-schema-traverse": "^0.4.1",
|
|
|
|
"json5": "^1.0.1",
|
2020-11-18 05:36:07 -05:00
|
|
|
"karma": "~5.1.1",
|
2020-11-18 10:24:35 -05:00
|
|
|
"karma-chrome-launcher": "~3.1.0",
|
2020-11-18 05:36:06 -05:00
|
|
|
"karma-coverage": "~2.0.3",
|
2020-09-27 08:20:48 -04:00
|
|
|
"karma-jasmine": "~4.0.0",
|
2020-11-18 10:24:35 -05:00
|
|
|
"karma-jasmine-html-reporter": "^1.5.0",
|
2019-07-03 19:34:32 -04:00
|
|
|
"light-server": "^2.6.2",
|
2020-12-18 17:58:15 -05:00
|
|
|
"lighthouse": "^7.0.0",
|
2019-04-15 08:46:14 -04:00
|
|
|
"lighthouse-logger": "^1.2.0",
|
2017-02-09 14:58:36 -05:00
|
|
|
"lodash": "^4.17.4",
|
2017-06-12 16:51:41 -04:00
|
|
|
"lunr": "^2.1.0",
|
2018-11-26 15:01:46 -05:00
|
|
|
"npm-run-all": "^4.1.5",
|
2020-11-18 05:36:06 -05:00
|
|
|
"protractor": "~7.0.0",
|
2020-12-16 10:27:47 -05:00
|
|
|
"puppeteer": "5.4.1",
|
2018-10-17 07:24:16 -04:00
|
|
|
"rehype": "^6.0.0",
|
2017-04-27 09:04:51 -04:00
|
|
|
"rehype-slug": "^2.0.0",
|
2018-10-17 07:24:16 -04:00
|
|
|
"remark": "^9.0.0",
|
|
|
|
"remark-html": "^8.0.0",
|
2017-03-23 13:23:09 -04:00
|
|
|
"rimraf": "^2.6.1",
|
2017-06-14 11:34:13 -04:00
|
|
|
"semver": "^5.3.0",
|
2020-10-28 06:23:51 -04:00
|
|
|
"shelljs": "^0.8.4",
|
2017-04-13 17:35:13 -04:00
|
|
|
"tree-kill": "^1.1.0",
|
2019-10-03 05:39:43 -04:00
|
|
|
"ts-node": "^8.4.1",
|
2020-05-05 08:28:48 -04:00
|
|
|
"tslint": "~6.1.0",
|
2020-09-27 08:20:48 -04:00
|
|
|
"typescript": "~4.0.2",
|
2017-06-12 16:51:41 -04:00
|
|
|
"uglify-js": "^3.0.15",
|
2017-05-30 15:24:20 -04:00
|
|
|
"unist-util-filter": "^0.2.1",
|
2017-04-28 10:05:05 -04:00
|
|
|
"unist-util-source": "^1.0.1",
|
|
|
|
"unist-util-visit": "^1.1.1",
|
2017-08-18 09:48:40 -04:00
|
|
|
"unist-util-visit-parents": "^1.1.1",
|
2017-04-13 17:35:13 -04:00
|
|
|
"watchr": "^3.0.1",
|
2018-01-25 05:13:30 -05:00
|
|
|
"xregexp": "^4.0.0",
|
2020-10-15 07:05:14 -04:00
|
|
|
"yargs": "^16.1.0"
|
2017-01-25 06:04:30 -05:00
|
|
|
}
|
2020-06-27 10:08:40 -04:00
|
|
|
}
|