2019-01-10 15:24:24 -05:00
|
|
|
{
|
|
|
|
"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')"]}
|
|
|
|
]
|
|
|
|
}
|