mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-26 01:01:13 +08:00
test: add AIO benchmark
This commit is contained in:
parent
c2625271de
commit
7567a9231e
1
benchmark/aio/.gitignore
vendored
Normal file
1
benchmark/aio/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
angular/
|
17
benchmark/aio/package.json
Normal file
17
benchmark/aio/package.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "aio-benchmark",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"initialize": "yarn clone && yarn setup && yarn update",
|
||||
"clone": "(git clone https://github.com/angular/angular --depth 1 || true) && cd angular && git fetch origin dd2a650c3455f3bc0a88f8181758a84aacb25fea && git checkout -f FETCH_HEAD",
|
||||
"setup": "cd angular && yarn && cd aio && yarn && yarn setup",
|
||||
"//": "Shouldn't need to install the package twice, but the first install seems to leave two @ngtools/webpack installs around.",
|
||||
"update": "cd angular/aio && yarn add ../../../../dist/@angular-devkit_build-angular.tgz --dev && yarn add ../../../../dist/_angular-devkit_build-angular.tgz --dev",
|
||||
"benchmark": "cd angular/aio && benchmark --verbose -- yarn ~~build --configuration=stable"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
"license": "ISC"
|
||||
}
|
@ -64,6 +64,7 @@
|
||||
"packages/schematics/*/*/*files/**/*",
|
||||
"tmp/**/*",
|
||||
"scripts/patches/**/*",
|
||||
"tests/**/*"
|
||||
"tests/**/*",
|
||||
"benchmark/**/*",
|
||||
]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user