1.7 KiB
1.7 KiB
id, title, localeTitle, challengeType
id | title | localeTitle | challengeType |
---|---|---|---|
587d7fb4367417b2b2512bfe | Add a License to Your package.json | إضافة ترخيص إلى الحزمة الخاصة بك | 2 |
Description
"license": "MIT",
تعليمات
قم بتعبئة حقل الترخيص في الحزمة. json من مشروع Glitch الخاص بك كما تجد مناسبة.
Instructions
Tests
tests:
- text: package.json يجب أن يكون مفتاح "ترخيص" صالح
testString: 'getUserInput => $.get(getUserInput(''url'') + ''/_api/package.json'').then(data => { var packJson = JSON.parse(data); assert(packJson.license, ''"license" is missing''); }, xhr => { throw new Error(xhr.responseText); })'
Challenge Seed
Solution
// solution required