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",
|
2020-03-24 09:02:37 -04:00
|
|
|
"extract-cli-command-docs": "node tools/transforms/cli-docs-package/extract-cli-commands.js 56c648827",
|
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",
|
2017-07-27 11:12:04 -04:00
|
|
|
"deploy-production": "scripts/deploy-to-firebase.sh",
|
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",
|
2019-03-29 09:31:27 -04:00
|
|
|
"predocs": "node scripts/contributors/check-pictures && 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\"",
|
2018-01-25 05:13:30 -05:00
|
|
|
"tools-test": "./scripts/deploy-to-firebase.test.sh && yarn docs-test && yarn boilerplate:test && jasmine tools/ng-packages-installer/index.spec.js && yarn firebase-utils-test",
|
2018-01-26 11:05:52 -05:00
|
|
|
"preserve-and-sync": "yarn docs",
|
2018-09-27 09:35:05 -04:00
|
|
|
"serve-and-sync": "run-p \"start\" \"docs-watch --watch-only\"",
|
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",
|
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-02-12 08:34:59 -05:00
|
|
|
"@angular/animations": "9.0.0",
|
2020-02-12 09:57:50 -05:00
|
|
|
"@angular/cdk": "^9.0.0",
|
2020-02-12 08:34:59 -05:00
|
|
|
"@angular/common": "9.0.0",
|
|
|
|
"@angular/compiler": "9.0.0",
|
|
|
|
"@angular/core": "9.0.0",
|
|
|
|
"@angular/elements": "9.0.0",
|
|
|
|
"@angular/forms": "9.0.0",
|
2020-02-12 09:57:50 -05:00
|
|
|
"@angular/material": "^9.0.0",
|
2020-02-12 08:34:59 -05:00
|
|
|
"@angular/platform-browser": "9.0.0",
|
|
|
|
"@angular/platform-browser-dynamic": "9.0.0",
|
|
|
|
"@angular/router": "9.0.0",
|
|
|
|
"@angular/service-worker": "9.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",
|
2019-10-03 05:39:43 -04:00
|
|
|
"tslib": "^1.10.0",
|
2020-03-23 21:22:41 -04:00
|
|
|
"zone.js": "~0.10.3"
|
2017-01-27 03:20:51 -05:00
|
|
|
},
|
2017-01-25 06:04:30 -05:00
|
|
|
"devDependencies": {
|
2020-02-12 08:34:59 -05:00
|
|
|
"@angular-devkit/build-angular": "0.900.1",
|
|
|
|
"@angular/cli": "9.0.1",
|
|
|
|
"@angular/compiler-cli": "9.0.0",
|
|
|
|
"@angular/language-service": "9.0.0",
|
2019-10-03 05:39:43 -04:00
|
|
|
"@types/jasmine": "^3.4.2",
|
|
|
|
"@types/jasminewd2": "^2.0.8",
|
|
|
|
"@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",
|
2019-10-03 05:39:43 -04:00
|
|
|
"codelyzer": "^5.1.2",
|
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",
|
2018-12-17 12:38:56 -05:00
|
|
|
"dgeni": "^0.4.11",
|
2020-02-12 07:40:01 -05:00
|
|
|
"dgeni-packages": "^0.28.3",
|
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-01-08 15:26:59 -05:00
|
|
|
"firebase-tools": "^7.11.0",
|
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",
|
2019-07-15 08:25:30 -04:00
|
|
|
"jasmine": "^3.4.0",
|
|
|
|
"jasmine-core": "^3.4.0",
|
|
|
|
"jasmine-spec-reporter": "^4.2.1",
|
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",
|
2019-10-03 05:39:43 -04:00
|
|
|
"karma": "^4.3.0",
|
|
|
|
"karma-chrome-launcher": "^3.1.0",
|
|
|
|
"karma-coverage-istanbul-reporter": "^2.1.0",
|
2019-07-15 08:25:30 -04:00
|
|
|
"karma-jasmine": "^2.0.1",
|
|
|
|
"karma-jasmine-html-reporter": "^1.4.2",
|
2019-07-03 19:34:32 -04:00
|
|
|
"light-server": "^2.6.2",
|
2019-07-03 16:11:40 -04:00
|
|
|
"lighthouse": "^5.1.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",
|
2019-10-03 05:39:43 -04:00
|
|
|
"protractor": "^5.4.2",
|
2020-02-07 06:38:58 -05:00
|
|
|
"puppeteer": "2.1.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",
|
2017-03-15 17:41:15 -04:00
|
|
|
"shelljs": "^0.7.7",
|
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",
|
|
|
|
"tslint": "^5.20.0",
|
2020-01-08 07:58:49 -05:00
|
|
|
"typescript": "~3.7.4",
|
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",
|
2018-04-07 14:41:02 -04:00
|
|
|
"yargs": "^7.0.2"
|
2017-01-25 06:04:30 -05:00
|
|
|
}
|
2019-11-21 04:51:59 -05:00
|
|
|
}
|