@chialab/exercises v2.24.0
Get the library
Usage via unpkg.com as ES6 module:
import { ... } from 'https://unpkg.com/@chialab/exercises?module';Install via NPM:
$ npm i @chialab/exercises
$ yarn add @chialab/exercisesimport { ... } from '@chialab/exercises';Development
Build the project
Install the dependencies and run the build script:
$ yarn install
$ yarn buildThis will generate the ESM bundles in the dist folder, as well as the declaration files.
Test the project
Run the test script:
$ yarn testRelease
The release script uses Semantic Release to update package version, create a Github release and publish to the NPM registry.
An environment variable named GH_TOKEN with a generated Github Access Token needs to be defined in a local .env file.
$ echo 'export GH_TOKEN="abcxyz"' > .envNow you are ready to run the release command:
$ yarn releaseLicense
Exercises is released under the MIT license.
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago