1014 B
1014 B
id, title, localeTitle, challengeType
id | title | localeTitle | challengeType |
---|---|---|---|
587d7fb4367417b2b2512bff | Add a Version to Your package.json | Adicione uma versão ao seu pacote.json | 2 |
Description
"version": "1.2",
Instruções
Adicione uma versão ao pacote.json no seu projeto Glitch.
Instructions
Tests
tests:
- text: 'package.json deve ter uma chave "version" válida'
testString: 'getUserInput => $.get(getUserInput(''url'') + ''/_api/package.json'').then(data => { var packJson = JSON.parse(data); assert(packJson.version, ''"version" is missing''); }, xhr => { throw new Error(xhr.responseText); })'
Challenge Seed
Solution
// solution required