11 lines
552 B
JSON
11 lines
552 B
JSON
{
|
|
"projectType": "service-worker",
|
|
"e2e": [
|
|
{"cmd": "yarn", "args": ["e2e", "--no-webdriver-update"]},
|
|
{"cmd": "yarn", "args": ["build", "--prod"]},
|
|
{"cmd": "node", "args": ["--eval", "assert(fs.existsSync('./dist/ngsw.json'), 'ngsw.json is missing')"]},
|
|
{"cmd": "node", "args": ["--eval", "assert(fs.existsSync('./dist/ngsw-worker.js'), 'ngsw-worker.js is missing')"]},
|
|
{"cmd": "node", "args": ["--eval", "assert(require('./package.json').dependencies['@angular/service-worker'], '@angular/service-worker is missing')"]}
|
|
]
|
|
}
|