Copyright © Bentley Systems, Incorporated. All rights reserved. See LICENSE.md for license terms and full copyright notice.
iTwin.js is an open source platform for creating, querying, modifying, and displaying Infrastructure Digital Twins. To learn more about the iTwin Platform and its APIs, visit the iTwin developer portal.
If you have questions, or wish to contribute to iTwin.js, see our Contributing guide.
Contains the @itwin/insights-client package that wraps sending requests to the project service. Visit the Insights API and Carbon calculation API for more documentation on the insights service.
# ---- Optional URL prefix for dev/qa environments ----
IMJS_URL_PREFIX=""
# ----Authorization for running tests ----
IMJS_OIDC_BROWSER_TEST_CLIENT_ID=""
IMJS_OIDC_BROWSER_TEST_REDIRECT_URI=""
IMJS_OIDC_BROWSER_TEST_SCOPES=""
IMJS_TEST_REGULAR_USER_NAME=""
IMJS_TEST_REGULAR_USER_PASSWORD=""
Install dependencies and build source
npm install
npm run build
Run tests
npm run test
Run linters
npm run lint
.githooks
-
copyright-linter
To use custom hooks, run the command:
git config --local core.hooksPath .githooks/